/* Progress Steps Styles */
.progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transform: scale(1.1);
}

.step.completed .step-number {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
}

.step-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #6c757d;
    text-align: center;
    white-space: nowrap;
}

.step.active .step-label {
    color: #667eea;
}

.step.completed .step-label {
    color: #11998e;
}

.step-line {
    width: 80px;
    height: 3px;
    background: #e9ecef;
    margin: 0 15px;
    transition: all 0.3s ease;
}

.step-line.completed {
    background: linear-gradient(90deg, #11998e 0%, #38ef7d 100%);
}

/* Existing student info styles */
.student-info-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 20px;
    direction: rtl;
}

.main-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    margin-bottom: 30px;
}

.card-header-modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    text-align: center;
}

.header-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    backdrop-filter: blur(10px);
}

.header-icon i {
    font-size: 40px;
}

.header-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.header-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
}

.modern-form {
    padding: 40px;
}

.form-section {
    margin-bottom: 40px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.section-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.form-group-modern {
    display: flex;
    flex-direction: column;
}

.form-group-modern.full-width {
    grid-column: 1 / -1;
}

.modern-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #667eea;
    font-size: 18px;
    pointer-events: none;
}

.form-control-modern {
    width: 100%;
    padding: 14px 45px 14px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    direction: rtl;
}

.form-control-modern:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.location-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.location-radio {
    display: none;
}

.location-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 15px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.location-option i {
    font-size: 30px;
    color: #667eea;
    margin-bottom: 10px;
}

.location-option span {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.location-option small {
    font-size: 0.85rem;
    color: #6c757d;
}

.location-radio:checked + .location-option {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

.location-radio:checked + .location-option i,
.location-radio:checked + .location-option span,
.location-radio:checked + .location-option small {
    color: white;
}

.help-text {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: #6c757d;
}

.error-message {
    margin-top: 5px;
    color: #dc3545;
    font-size: 0.875rem;
}

.privacy-notice {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #e7f3ff;
    border-radius: 12px;
    margin-bottom: 30px;
}

.privacy-notice i {
    font-size: 24px;
    color: #0066cc;
    flex-shrink: 0;
}

.privacy-notice strong {
    display: block;
    color: #004085;
    margin-bottom: 5px;
}

.privacy-notice p {
    color: #004085;
    margin: 0;
    font-size: 0.9rem;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: space-between;
}

.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .progress-steps {
        padding: 20px 10px;
    }

    .step-line {
        width: 40px;
        margin: 0 5px;
    }

    .step-label {
        font-size: 0.75rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .student-info-container {
        padding: 20px 10px;
    }

    .card-header-modern {
        padding: 30px 20px;
    }

    .header-title {
        font-size: 1.5rem;
    }

    .modern-form {
        padding: 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-modern {
        width: 100%;
        justify-content: center;
    }

    .location-selector {
        grid-template-columns: 1fr;
    }
}

/* RTL Support */
[dir="rtl"] .input-icon {
    right: auto;
    left: 15px;
}

[dir="rtl"] .form-control-modern {
    padding: 14px 15px 14px 45px;
}