/* Enrollment notify modal – reuses contact modal styling */
.enrollment-notify-modal-overlay .enrollment-notify-modal {
    max-width: 560px;
}

.enrollment-notify-modal-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 44px;
    padding-left: 16px;
    padding-right: 44px;
}

.enrollment-notify-description {
    margin: 0;
    color: var(--text-secondary);
    font-family: Inter, sans-serif;
    font-size: 22px;
    line-height: 1.5;
    text-align: center;
}

.enrollment-notify-description strong {
    color: var(--text-primary);
    font-weight: 600;
}

.enrollment-notify-optional {
    color: var(--text-secondary);
    font-weight: 400;
}

.enrollment-notify-form-actions {
    margin-top: 8px;
    align-items: center !important;
}

.enrollment-notify-form-actions.contact-modal-form-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.enrollment-notify-form-actions .contact-modal-form-footer {
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.enrollment-notify-form-actions .contact-modal-form-status {
    text-align: center;
}

@media (max-width: 768px) {
    .enrollment-notify-modal-overlay {
        padding: 16px;
    }

    .enrollment-notify-modal-overlay .enrollment-notify-modal {
        padding: 24px 20px;
    }

    .enrollment-notify-modal-content {
        padding-top: 40px;
        padding-right: 40px;
    }

    .enrollment-notify-description {
        font-size: 18px;
    }

    .enrollment-notify-form-actions.contact-modal-form-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
        grid-template-columns: unset;
        grid-template-rows: unset;
    }

    .enrollment-notify-form-actions .contact-modal-form-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .enrollment-notify-form-actions .contact-modal-form-footer .contact-modal-submit-btn {
        grid-column: unset;
        grid-row: unset;
        justify-self: center;
    }

    .enrollment-notify-form-actions .contact-modal-form-footer .contact-modal-form-status {
        grid-column: unset;
        grid-row: unset;
        text-align: center;
    }
}

.enrollment-notify-page-panel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
    padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0px));
    pointer-events: none;
    transform: translateY(110%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.enrollment-notify-page-panel.is-visible {
    pointer-events: auto;
    transform: translateY(0);
    opacity: 1;
}

.enrollment-notify-page-panel-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 16px;
    border: 1px solid var(--badge-drop-in);
    background: radial-gradient(70% 70% at calc(50% + 50px) calc(50% - 30px), #2a364b 0%, #121e36 100%);
    box-shadow: 0 0 12px rgba(126, 232, 176, 0.55), 0 0 28px rgba(126, 232, 176, 0.35);
}

.enrollment-notify-page-panel-text {
    flex: 1;
    margin: 0;
    color: var(--text-primary);
    font-family: Inter, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
}

.enrollment-notify-page-panel-close {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, filter 0.2s ease;
}

.enrollment-notify-page-panel-close:hover,
.enrollment-notify-page-panel-close:active {
    color: var(--text-primary);
    filter: drop-shadow(0 0 8px rgba(126, 232, 176, 0.6));
}

@media (max-width: 768px) {
    .enrollment-notify-page-panel {
        padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px));
    }

    .enrollment-notify-page-panel-inner {
        padding: 16px;
        gap: 12px;
    }

    .enrollment-notify-page-panel-text {
        font-size: 15px;
        text-align: left;
    }
}
