/* screen-student-bewerbung | Änderungsprotokoll: 2026-09-28 | subagent-create-screen | @skill-css-rules, @skill-change-provenance | Studenten-Bewerbung Screen-CSS angelegt */

/* .screen-student-bewerbung-hero-section | Änderungsprotokoll: 2026-09-28 | cursor-agent | @skill-css-rules, @skill-ki-image, @skill-change-provenance | Hero-Bild Wrapper 16:9 */
.screen-student-bewerbung-hero-section {
    width: 100%;
    max-width: 960px;
    margin: 1rem auto 1.5rem;
    border-radius: 18px;
    border: 1.5px solid var(--glass-border-edge);
    box-shadow: var(--surface-shadow-glass);
    overflow: hidden;
    box-sizing: border-box;
}

/* .screen-student-bewerbung-hero-image | Änderungsprotokoll: 2026-09-28 | cursor-agent | @skill-css-rules, @skill-ki-image, @skill-change-provenance | Hero ohne Verzerrung */
.screen-student-bewerbung-hero-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

.screen-student-bewerbung-expect-grid {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.screen-student-bewerbung-expect-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin: 0;
    padding: 1.25rem 1.5rem;
    background: var(--glass-surface-bg);
    border: 1.5px solid var(--glass-border-edge);
    border-left: 4px solid var(--color-teal);
    border-radius: 16px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

.screen-student-bewerbung-expect-number {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    height: 2.75rem;
    font-size: 0.9375rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.06em;
    color: var(--color-primary);
    background-color: var(--color-white);
    border: 2px solid var(--color-teal);
    border-radius: 0.75rem;
}

.screen-student-bewerbung-expect-content {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.screen-student-bewerbung-expect-title {
    display: block;
    font-size: clamp(1rem, 2vw, var(--font-size-lg));
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    line-height: 1.35;
    letter-spacing: 0.01em;
}

.screen-student-bewerbung-expect-text {
    margin: 0;
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    text-align: left;
}

.screen-student-bewerbung-field-invalid {
    border-color: var(--color-danger);
    box-shadow: 0 0 0 1px var(--color-danger);
}

/* .screen-student-bewerbung-field-valid | Änderungsprotokoll: 2026-09-29 | cursor-agent | @skill-css-rules, @skill-change-provenance, @skill-modal-popup-windows | Gueltig nach Eingabe sofort gruen */
.screen-student-bewerbung-field-valid {
    border-color: var(--color-success);
    box-shadow: 0 0 0 1px var(--color-success);
}

/* .base-form-checkbox-label.screen-student-bewerbung-field-invalid | Änderungsprotokoll: 2026-09-29 | cursor-agent | @skill-css-rules, @skill-change-provenance, @skill-modal-popup-windows | Checkbox ungueltig */
.base-form-checkbox-label.screen-student-bewerbung-field-invalid {
    outline: 1px solid var(--color-danger);
    outline-offset: 2px;
    border-radius: 0.35rem;
}

/* .base-form-checkbox-label.screen-student-bewerbung-field-valid | Änderungsprotokoll: 2026-09-29 | cursor-agent | @skill-css-rules, @skill-change-provenance, @skill-modal-popup-windows | Checkbox gueltig */
.base-form-checkbox-label.screen-student-bewerbung-field-valid {
    outline: 1px solid var(--color-success);
    outline-offset: 2px;
    border-radius: 0.35rem;
}

/* .screen-student-bewerbung-modal-panel .base-form-error | Änderungsprotokoll: 2026-09-29 | cursor-agent | @skill-css-rules, @skill-change-provenance, @skill-modal-popup-windows | Feldfehler direkt unter Feld, rot */
.screen-student-bewerbung-modal-panel .base-form-error {
    color: var(--color-danger);
    margin-top: 0.35rem;
}

.screen-student-bewerbung-modal-panel .base-form-error p {
    margin: 0;
    color: var(--color-danger);
    text-align: left;
}

/* .screen-student-bewerbung-field-error-hidden | Änderungsprotokoll: 2026-09-29 | cursor-agent | @skill-css-rules, @skill-change-provenance, @skill-modal-popup-windows | Fehler-Slot verborgen ohne Meldung */
.screen-student-bewerbung-field-error-hidden {
    display: none;
}

.screen-student-bewerbung-success {
    text-align: center;
    padding: 2rem 0 3rem;
}

.screen-student-bewerbung-success-icon {
    color: var(--color-teal);
    margin: 0 auto 1.5rem;
}

.screen-student-bewerbung-success-title {
    text-align: center;
}

.screen-student-bewerbung-success-text-wrapper {
    max-width: 720px;
    margin: 1.5rem auto 0;
    text-align: left;
}

.screen-student-bewerbung-success-text {
    margin: 0 0 1rem;
}

/* .screen-student-bewerbung-cta-container | Änderungsprotokoll: 2026-09-28 | cursor-agent | @skill-css-rules, @skill-modal-popup-windows, @skill-change-provenance | CTA statt Inline-Formular */
.screen-student-bewerbung-cta-container {
    max-width: 40rem;
    margin: 0 auto 3rem;
    text-align: center;
}

/* .screen-student-bewerbung-cta-intro | Änderungsprotokoll: 2026-09-28 | cursor-agent | @skill-css-rules, @skill-change-provenance | CTA-Einleitungstext */
.screen-student-bewerbung-cta-intro {
    margin: 0 0 1.5rem;
    color: var(--color-text-secondary);
    font-size: var(--font-size-lg);
    line-height: var(--line-height-relaxed);
}

/* .screen-student-bewerbung-modal | Änderungsprotokoll: 2026-09-29 | cursor-agent | @skill-css-rules, @skill-modal-popup-windows, @skill-change-provenance | z-index 100100 ueber Header/Nav; Portal an body */
.screen-student-bewerbung-modal {
    position: fixed;
    inset: 0;
    z-index: 100100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* .screen-student-bewerbung-modal-closed | Änderungsprotokoll: 2026-09-28 | cursor-agent | @skill-css-rules, @skill-change-provenance | Geschlossener Modal-Zustand */
.screen-student-bewerbung-modal-closed {
    display: none;
}

/* .screen-student-bewerbung-modal-backdrop | Änderungsprotokoll: 2026-09-28 | cursor-agent | @skill-css-rules, @skill-modal-popup-windows, @skill-change-provenance | Backdrop 90 Prozent */
.screen-student-bewerbung-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 0;
    background-color: rgba(26, 42, 74, 0.9);
}

/* .screen-student-bewerbung-modal-panel | Änderungsprotokoll: 2026-09-28 | cursor-agent | @skill-css-rules, @skill-modal-popup-windows, @skill-change-provenance | Modal-Dialog mit Formular, Platz fuer × */
.screen-student-bewerbung-modal-panel {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    width: 100%;
    max-width: 36rem;
    max-height: calc(100dvh - 2rem);
    margin: auto;
    padding: 1.75rem 1.25rem 1.25rem;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.25);
}

/* #div-student-bewerbung-modal-headline-h2 | Änderungsprotokoll: 2026-09-28 | cursor-agent | @skill-css-rules, @skill-modal-popup-windows, @skill-change-provenance | Titel nicht unter × */
#div-student-bewerbung-modal-headline-h2 {
    padding-right: 2.5rem;
}

/* .screen-student-bewerbung-modal-header-close | Änderungsprotokoll: 2026-09-28 | cursor-agent | @skill-css-rules, @skill-modal-popup-windows, @skill-change-provenance | × oben rechts */
.screen-student-bewerbung-modal-header-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
}

/* .screen-student-bewerbung-modal-description | Änderungsprotokoll: 2026-09-28 | cursor-agent | @skill-css-rules, @skill-change-provenance | Modal-Beschreibung */
.screen-student-bewerbung-modal-description {
    margin: 0.5rem 0 1.25rem;
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
}

/* .screen-student-bewerbung-modal-textarea | Änderungsprotokoll: 2026-09-28 | cursor-agent | @skill-css-rules, @skill-modal-popup-windows, @skill-change-provenance | Textarea ohne Resize-Wachstum */
.screen-student-bewerbung-modal-textarea {
    resize: none;
    max-height: 6.5rem;
}

/* .screen-student-bewerbung-modal-actions | Änderungsprotokoll: 2026-09-29 | cursor-agent | @skill-css-rules, @skill-modal-popup-windows, @skill-change-provenance | Aktionszeile nur Submit */
.screen-student-bewerbung-modal-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border-light-mode);
}

/* .screen-student-bewerbung-modal-action-button | Änderungsprotokoll: 2026-09-28 | cursor-agent | @skill-css-rules, @skill-modal-popup-windows, @skill-change-provenance | width auto gegen Base 100% */
.screen-student-bewerbung-modal-action-button {
    width: auto;
    max-width: none;
    min-width: 9.5rem;
    white-space: nowrap;
}

/* .screen-student-bewerbung-modal-action-icon | Änderungsprotokoll: 2026-09-28 | cursor-agent | @skill-css-rules, @skill-change-provenance | Icon-Groesse in Modal-Actions */
.screen-student-bewerbung-modal-action-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* .screen-student-bewerbung-modal-action-icon-svg | Änderungsprotokoll: 2026-09-28 | cursor-agent | @skill-css-rules, @skill-change-provenance | Icon folgt Button-Farbe */
.screen-student-bewerbung-modal-action-icon-svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* .screen-student-bewerbung-modal-submit-icon | Änderungsprotokoll: 2026-09-29 | cursor-agent | @skill-css-rules, @skill-change-provenance | Send-Icon Weiss; unteren Schliessen-Button entfernt */
.screen-student-bewerbung-modal-submit-icon {
    color: var(--color-white);
}

/* .screen-student-bewerbung-modal-submit-icon-svg | Änderungsprotokoll: 2026-09-28 | cursor-agent | @skill-css-rules, @skill-change-provenance | Gefuelltes Send-Icon */
.screen-student-bewerbung-modal-submit-icon-svg {
    fill: currentColor;
    stroke: none;
}

/* .screen-student-bewerbung-modal-action-label | Änderungsprotokoll: 2026-09-28 | cursor-agent | @skill-css-rules, @skill-change-provenance | Sichtbarer Button-Text */
.screen-student-bewerbung-modal-action-label {
    display: inline-block;
    line-height: 1.2;
}

/* .screen-student-bewerbung-modal-submit-button | Änderungsprotokoll: 2026-09-29 | cursor-agent | @skill-css-rules, @skill-modal-popup-windows, @skill-change-provenance | Primary base-button-standard; einziger Aktionsbutton */
.screen-student-bewerbung-modal-submit-button {
    width: auto;
    max-width: none;
    min-width: 12.5rem;
}

/* html.screen-student-bewerbung-modal-page-scroll-locked | Änderungsprotokoll: 2026-09-28 | cursor-agent | @skill-css-rules, @skill-modal-popup-windows, @skill-change-provenance | Body-Scroll-Sperre */
html.screen-student-bewerbung-modal-page-scroll-locked,
html.screen-student-bewerbung-modal-page-scroll-locked body {
    overflow: hidden;
}

@media (min-width: 768px) {
    .screen-student-bewerbung-expect-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem;
    }
}
