/* Ansøgninger – hub layout + dynamiske formularer */

main.applications-page.ansogninger-main {
    padding: 0 0 4rem;
    min-height: 100vh;
}

/* ––– Hero ––– */
.applications-hero {
    position: relative;
    padding: 5.5rem 0 2.75rem;
    margin-bottom: 2rem;
    overflow: hidden;
    text-align: center;
}
.applications-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% -20%, rgba(0, 255, 136, 0.12), transparent 55%),
        radial-gradient(ellipse 50% 40% at 85% 40%, rgba(0, 200, 255, 0.06), transparent 45%),
        linear-gradient(180deg, rgba(18, 22, 24, 0.95) 0%, var(--charcoal) 100%);
    pointer-events: none;
}
.applications-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 40rem;
    margin: 0 auto;
}
.applications-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--matrix-green);
    margin: 0 0 0.75rem;
}
.applications-hero-kicker i {
    font-size: 0.9rem;
    opacity: 0.9;
}
.applications-hero .page-title,
.applications-hero-title {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    color: var(--white);
    margin: 0 0 0.65rem;
    text-align: center;
    letter-spacing: -0.02em;
}
.applications-hero .page-intro,
.applications-hero-intro {
    color: var(--gray-light);
    text-align: center;
    margin: 0 auto;
    max-width: 32rem;
    line-height: 1.55;
    font-size: 1.05rem;
}

.applications-shell {
    max-width: 1100px;
}

.applications-logged-in {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
}

/* ––– Login-kort ––– */
.applications-login-card {
    border: 1px solid rgba(0, 255, 136, 0.15);
    box-shadow: 0 0 0 1px rgba(0, 255, 136, 0.06), 0 20px 50px rgba(0, 0, 0, 0.45);
}

/* ––– Staff: gennemgang ––– */
.applications-staff-panel {
    background: linear-gradient(145deg, rgba(30, 36, 40, 0.98) 0%, var(--gray-dark) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem 1.5rem 1.75rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    position: relative;
}
.applications-staff-panel::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1rem;
    bottom: 1rem;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--matrix-green), rgba(0, 255, 136, 0.25));
}
.applications-staff-panel-head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-left: 0.75rem;
}
.applications-staff-panel-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 136, 0.12);
    color: var(--matrix-green);
    font-size: 1.35rem;
}
.applications-staff-panel-title {
    margin: 0 0 0.25rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}
.applications-staff-panel-desc {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray-light);
    line-height: 1.45;
}
.applications-field-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gray-light);
    margin-bottom: 0.5rem;
    padding-left: 0.75rem;
}
.applications-sr-select {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.applications-staff-dropdown {
    position: relative;
    max-width: 420px;
    margin-left: 0.75rem;
}
.applications-staff-dropdown-trigger {
    width: 100%;
    padding: 0.85rem 2.5rem 0.85rem 1rem !important;
    text-align: left;
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 10px !important;
    color: var(--white) !important;
    font-size: 1rem !important;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.applications-staff-dropdown-trigger:hover {
    border-color: rgba(0, 255, 136, 0.35) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 0 0 1px rgba(0, 255, 136, 0.12);
}
.applications-staff-dropdown-chevron {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    opacity: 0.75;
    pointer-events: none;
}
.applications-staff-dropdown-list {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    background: var(--gray-dark);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
    z-index: 120;
    max-height: 260px;
    overflow-y: auto;
}
.applications-staff-dropdown-option {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    text-align: left;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--white);
    cursor: pointer;
    font-size: 0.98rem;
    font-family: inherit;
    transition: background 0.15s;
}
.applications-staff-dropdown-option:last-child {
    border-bottom: 0;
}
.applications-staff-dropdown-option:hover {
    background: rgba(0, 255, 136, 0.1);
}
.applications-staff-dropdown-option--placeholder {
    color: var(--gray-light);
}
.applications-staff-submissions {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ––– Spiller-sektion ––– */
.applications-player-section {
    padding-top: 0.25rem;
}
.applications-section-head {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.applications-section-heading {
    margin: 0 0 0.35rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
}
.applications-section-lead {
    margin: 0;
    font-size: 0.95rem;
    color: var(--gray-light);
}

/* ––– Indlæsning ––– */
.applications-loading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 0.75rem;
    padding: 3rem 1rem;
    color: var(--gray-light);
}
.applications-loading--inline {
    padding: 2rem 1rem;
}
.applications-loading-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--matrix-green);
    opacity: 0.35;
    animation: applications-dot-pulse 1s ease-in-out infinite;
}
.applications-loading-dot:nth-child(2) { animation-delay: 0.15s; }
.applications-loading-dot:nth-child(3) { animation-delay: 0.3s; }
.applications-loading-text {
    flex-basis: 100%;
    text-align: center;
    font-size: 0.95rem;
    margin-top: 0.25rem;
}
@keyframes applications-dot-pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
}

/* ––– Tom tilstand ––– */
.applications-empty {
    padding: 3rem 1.5rem 3.5rem;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.15);
}
.applications-empty-icon {
    font-size: 2.75rem;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 1rem;
}
.applications-empty-icon--error {
    color: rgba(239, 68, 68, 0.65);
}
.applications-empty-title {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--white);
}
.applications-empty-hint {
    margin: 0 auto;
    max-width: 22rem;
    font-size: 0.9rem;
    color: var(--gray-light);
    line-height: 1.5;
}

/* ––– Formular-kort ––– */
.applications-form-card {
    position: relative;
    overflow: hidden;
}
.applications-form-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--matrix-green), transparent);
    opacity: 0;
    transition: opacity 0.25s;
}
.applications-form-card:hover::before {
    opacity: 0.85;
}

/* ––– Staff: tabs + søg + kort ––– */
.applications-staff-tabs {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    padding: 0.2rem;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.applications-staff-tab {
    flex: 1;
    padding: 0.55rem 0.75rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--gray-light);
    cursor: pointer;
    font-size: 0.95rem;
    font-family: inherit;
    font-weight: 500;
    transition: color 0.2s, background 0.2s;
}
.applications-staff-tab:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}
.applications-staff-tab--active {
    color: var(--charcoal) !important;
    background: var(--matrix-green) !important;
    font-weight: 600;
}
.applications-archive-search-wrap {
    margin-bottom: 1rem;
}
.applications-archive-search {
    width: 100%;
    max-width: 360px;
    padding: 0.65rem 0.85rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: var(--white);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s;
}
.applications-archive-search:focus {
    outline: none;
    border-color: rgba(0, 255, 136, 0.45);
}
.applications-staff-results-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.applications-staff-submission-card {
    border-radius: 14px !important;
}
.applications-staff-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.applications-staff-action-secondary {
    margin-left: 0 !important;
}
.applications-staff-delete-btn {
    color: #fca5a5 !important;
    border-color: rgba(239, 68, 68, 0.45) !important;
}
.applications-staff-delete-btn:hover {
    background: rgba(239, 68, 68, 0.12) !important;
}

/* Kræver login – boks når bruger ikke er logget ind */
.ansogninger-require-login {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    margin-top: 2rem;
}
.ansogninger-require-login-box {
    max-width: 420px;
    padding: 2.5rem;
    background: var(--gray-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.ansogninger-require-login-icon {
    font-size: 3rem;
    color: var(--matrix-green);
    margin-bottom: 1.25rem;
    opacity: 0.9;
}
.ansogninger-require-login-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin: 0 0 0.75rem;
}
.ansogninger-require-login-text {
    color: var(--gray-light);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0 0 1.5rem;
}
.ansogninger-require-login-btn {
    display: inline-block;
}

/* Tabs */
.app-forms-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.app-forms-tab {
    background: none;
    border: none;
    color: var(--gray-light);
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.app-forms-tab:hover {
    color: var(--white);
}

.app-forms-tab.active {
    color: var(--matrix-green);
    border-bottom-color: var(--matrix-green);
}

/* Loading / Empty (fallback uden hub-klasser) */
.app-forms-loading:not(.applications-loading),
.app-forms-empty:not(.applications-empty) {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--gray-light);
}

/* Forms List */
.app-forms-list {
    margin-bottom: 2rem;
}

.app-form-card {
    background: var(--charcoal);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.app-form-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.app-form-card--open:hover {
    border-color: var(--matrix-green);
    box-shadow: 0 0 0 1px rgba(0, 255, 156, 0.2);
}

.app-form-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.app-form-card-icon {
    flex-shrink: 0;
    width: 2rem;
    text-align: center;
    color: var(--matrix-green);
    font-size: 1.25rem;
}

.app-form-card-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin: 0;
    flex: 1;
    min-width: 0;
}

.app-form-status {
    padding: 0.3rem 0.75rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--black);
    white-space: nowrap;
    flex-shrink: 0;
}

.app-form-status--locked {
    flex-shrink: 0;
}

.app-form-card-desc {
    color: var(--gray-light);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
    flex: 1;
}

.app-form-card-approved-msg {
    color: var(--gray-light);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.app-form-card--approved .app-form-card-approved-msg {
    color: var(--matrix-green);
    font-weight: 500;
}

.app-form-card-last-status {
    color: var(--gray-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.app-form-status--inline {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.app-form-card-meta {
    color: var(--gray-light);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.app-form-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.25rem;
}

.app-form-card-actions--single {
    justify-content: center;
}

.app-form-card-actions--single .app-form-card-btn {
    width: 100%;
    min-width: 140px;
}

.app-form-card-btn {
    margin-top: 0;
}

.app-form-card-actions .app-form-card-btn {
    width: auto;
}

.app-form-card-actions--dual {
    justify-content: center;
}

.app-form-card-actions--dual .app-form-card-btn {
    flex: 1;
    min-width: 0;
}

/* Modal */
.app-form-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.app-form-modal-overlay.hidden {
    display: none;
}

.app-form-modal {
    background: var(--gray-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.app-form-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.app-form-modal-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin: 0;
}

.app-form-modal-close {
    background: none;
    border: none;
    color: var(--gray-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.2s;
}

.app-form-modal-close:hover {
    color: var(--white);
}

.app-form-modal-body {
    padding: 1.5rem;
}

.app-form-description {
    color: var(--gray-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Form Fields */
.app-form-field {
    margin-bottom: 1.5rem;
}

.app-form-label {
    display: block;
    color: var(--white);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.app-form-input,
.app-form-field textarea,
.app-form-field select {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s, background 0.2s;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
}

.app-form-input:focus,
.app-form-field textarea:focus,
.app-form-field select:focus {
    outline: none;
    border-color: var(--matrix-green);
    background-color: rgba(255, 255, 255, 0.08);
}

.app-form-field select:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300ff88' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}

.app-form-field select option {
    background: var(--gray-dark);
    color: var(--white);
    padding: 0.5rem;
}

.app-form-field select:not([multiple]) {
    cursor: pointer;
}

.app-form-field select:not([multiple]):hover {
    border-color: rgba(255, 255, 255, 0.2);
}

/* Ensure dropdown options are visible */
.app-form-field select option:checked {
    background: var(--matrix-green);
    color: var(--white);
}

.app-form-field select option:hover {
    background: rgba(0, 255, 136, 0.2);
}

/* Status dropdown in review modals */
.app-form-modal-body select,
#staff-submission-review-status,
#app-submission-review-status {
    width: 100%;
    padding: 0.75rem 2rem 0.75rem 0.75rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    color: var(--white);
    font-size: 1rem;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
}

.app-form-modal-body select option,
#staff-submission-review-status option,
#app-submission-review-status option {
    background: var(--gray-dark);
    color: var(--white);
    padding: 0.5rem;
}

/* Custom status dropdown (replaces native select in modals for visible options) */
.app-status-dropdown-trigger:hover {
    background: rgba(255,255,255,0.12) !important;
}
.app-status-dropdown-list button:hover {
    background: rgba(0, 255, 136, 0.15) !important;
}
.app-status-dropdown-list button[data-value] {
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.app-status-dropdown-list button[data-value]:last-child {
    border-bottom: none;
}

.app-form-field textarea {
    resize: vertical;
    min-height: 100px;
}

.app-form-radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.app-form-radio-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.app-form-radio-item input[type="radio"] {
    width: auto;
    margin: 0;
}

.app-form-radio-item label {
    color: var(--gray-light);
    font-weight: normal;
    margin: 0;
    cursor: pointer;
}

.app-form-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Submission Details */
.app-submission-status {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1rem;
}

.app-submission-meta {
    color: var(--gray-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.app-submission-responses {
    margin-top: 1rem;
}

.app-submission-response {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.app-submission-response strong {
    color: var(--white);
    display: block;
    margin-bottom: 0.5rem;
}

.app-submission-response span {
    color: var(--gray-light);
    white-space: pre-wrap;
}

/* Category grouping */
.app-forms-category-title {
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
}

.app-forms-category-title:first-child {
    margin-top: 0;
}

.app-forms-category-title.applications-category-heading {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--matrix-green);
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
}

.app-forms-category-title.applications-category-heading::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--matrix-green);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.app-forms-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Closed form card */
.app-form-card--closed {
    opacity: 0.7;
}

.app-form-closed-label {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-light);
    border: 1px solid var(--gray-dark);
    border-radius: var(--radius);
    text-align: center;
}

.nav-active {
    color: var(--red-primary) !important;
}

.applications-hero-link {
    color: var(--matrix-green);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 255, 136, 0.35);
    transition: color 0.2s, border-color 0.2s;
}
.applications-hero-link:hover {
    color: #9fffd4;
    border-bottom-color: var(--matrix-green);
}

.applications-gennemgang-cta {
    margin-bottom: 1.75rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 255, 156, 0.22);
    background: linear-gradient(135deg, rgba(0, 255, 156, 0.1), rgba(17, 25, 23, 0.92));
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.32);
}
.applications-gennemgang-cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.2rem 1.35rem;
}
.applications-gennemgang-cta-copy {
    flex: 1;
    min-width: min(100%, 220px);
}
.applications-gennemgang-cta-kicker {
    margin: 0 0 0.35rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--matrix-green);
}
.applications-gennemgang-cta-title {
    margin: 0 0 0.35rem;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
}
.applications-gennemgang-cta-desc {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--gray-light);
}
.applications-gennemgang-cta-btn {
    flex-shrink: 0;
    white-space: nowrap;
}

.applications-staff-panel--full {
    max-width: none;
}
.applications-gennemgang-empty {
    margin-top: 0.5rem;
}

/* Modaler på ansøgningssiden */
.applications-page .app-form-modal-overlay {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.applications-page .app-form-modal {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

@media (max-width: 640px) {
    .applications-hero {
        padding-top: 4.75rem;
    }
    .applications-staff-panel-head {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-left: 0;
    }
    .applications-staff-panel::before {
        display: none;
    }
    .applications-field-label,
    .applications-staff-dropdown {
        margin-left: 0;
        padding-left: 0;
    }
    .applications-section-head {
        text-align: center;
    }
    .applications-gennemgang-cta-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .applications-gennemgang-cta-btn {
        width: 100%;
    }
}
