/* ============================================
   UPD ENROLLMENT FLOW STYLES
   ============================================ */

:root {
    --step-bg: var(--bg-primary);
    --step-card: var(--bg-card);
    --progress-height: 8px;
}

.enroll-page {
    min-height: 100vh;
    padding-top: 100px;
    background: var(--bg-primary);
}

.enroll-container {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-xl);
}

/* ── Progress Bar ── */
.progress-container {
    margin-bottom: var(--space-3xl);
    position: relative;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.progress-step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all var(--transition-base);
    position: relative;
}

.progress-step.active {
    background: var(--upd-blue);
    border-color: var(--upd-blue);
    color: var(--white);
    box-shadow: var(--shadow-glow);
    transform: scale(1.1);
}

.progress-step.completed {
    background: var(--success);
    border-color: var(--success);
    color: var(--white);
}

.progress-step-label {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    color: var(--text-muted);
}

.progress-step.active .progress-step-label {
    color: var(--upd-blue-light);
}

.progress-line {
    position: absolute;
    top: 16px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--border-color);
    z-index: 0;
}

.progress-line-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--upd-blue), var(--success));
    width: 0%;
    transition: width var(--transition-slow);
}

/* ── Form Steps ── */
.enroll-step {
    display: none;
    animation: fadeIn 0.5s ease both;
}

.enroll-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: var(--space-2xl);
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(20px);
}

.step-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.step-subtitle {
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
}

/* ── Form Elements ── */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.full-width {
    grid-column: span 2;
}

label {
    display: block;
    margin-bottom: var(--space-xs);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

input, select, textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
    transition: all var(--transition-base);
}

input:focus, select:focus {
    outline: none;
    border-color: var(--upd-blue);
    background: var(--bg-primary);
    box-shadow: 0 0 0 4px rgba(43, 94, 167, 0.1);
}

/* ── Career Cards (Step 2) ── */
.career-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.career-card {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    cursor: pointer;
    transition: all var(--transition-base);
}

.career-card:hover {
    border-color: var(--upd-blue-light);
    transform: translateY(-5px);
}

.career-card.selected {
    border-color: var(--upd-blue);
    background: rgba(43, 94, 167, 0.05);
    box-shadow: var(--shadow-glow);
}

.career-icon {
    font-size: 2rem;
    margin-bottom: var(--space-md);
}

.career-card h4 {
    margin-bottom: var(--space-xs);
}

.career-info {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ── Drag & Drop (Step 4) ── */
.drop-zone {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--space-2xl);
    text-align: center;
    transition: all var(--transition-base);
    background: var(--bg-input);
    cursor: pointer;
}

.drop-zone:hover, .drop-zone.active {
    border-color: var(--upd-blue);
    background: rgba(43, 94, 167, 0.05);
}

.drop-zone svg {
    width: 48px;
    height: 48px;
    color: var(--upd-blue);
    margin-bottom: var(--space-md);
}

/* ── Payment Methods (Step 6) ── */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.payment-method {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-base);
}

.payment-method.selected {
    border-color: var(--upd-blue);
    background: rgba(43, 94, 167, 0.05);
}

/* ── Navigation ── */
.step-nav {
    display: flex;
    justify-content: space-between;
    margin-top: var(--space-3xl);
}

/* ── Mobile Responsive ── */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .full-width {
        grid-column: span 1;
    }
    .payment-grid {
        grid-template-columns: 1fr;
    }
    .progress-step-label {
        display: none;
    }
}
