/* ==========================================================
   COURSE APPLICATION — PROCESSING OVERLAY
   Shown while a course application submission is in flight so
   the applicant gets feedback and cannot submit twice.
   ========================================================== */

.course-processing-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    /* Sit above the course application modal (z-index: 10000). */
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.course-processing-overlay.active {
    display: flex;
}

.course-processing-box {
    background: #fff;
    border-radius: 12px;
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    max-width: 320px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.course-processing-spinner {
    display: block;
    width: 34px;
    height: 34px;
    border: 3px solid #cfe3ea;
    border-top-color: #016083;
    border-radius: 50%;
    animation: course-processing-spin 0.7s linear infinite;
}

.course-processing-text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #2E2E2E;
    margin: 0;
}

@keyframes course-processing-spin {
    to {
        transform: rotate(360deg);
    }
}
