/* Internship Multi-Step Wizard & Premium Styles */

:root {
    --primary-color: #007BFF;
    --primary-dark: #0056B3;
    --primary-gradient: linear-gradient(135deg, #007BFF 0%, #21006E 100%);
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 50px rgba(0, 0, 0, 0.12);
}

/* Glassmorphism Card */
.internship-form-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 0;
    box-shadow: var(--shadow-soft);
    margin-top: -60px;
    position: relative;
    z-index: 2;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Progress-bar Container */
.wizard-progress-container {
    background: #f8f9fa;
    padding: 30px 40px;
    border-bottom: 1px solid #e9ecef;
}

.wizard-progress {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 0;
}

.wizard-progress::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 3px;
    background: #e0e0e0;
    z-index: 0;
}

.progress-step {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 20%;
}

.step-indicator {
    width: 34px;
    height: 34px;
    background: white;
    border: 3px solid #e0e0e0;
    border-radius: 50%;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #aeaeae;
    transition: all 0.4s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.step-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #aeaeae;
    transition: all 0.4s ease;
}

/* Active State */
.progress-step.active .step-indicator {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.15);
}

.progress-step.active .step-label {
    color: var(--primary-color);
}

/* Completed State */
.progress-step.completed .step-indicator {
    border-color: var(--success-color);
    background: var(--success-color);
    color: white;
}

.progress-step.completed .step-label {
    color: var(--success-color);
}

/* Connect active line */
.progress-line-fill {
    position: absolute;
    top: 15px;
    left: 0;
    height: 3px;
    background: var(--primary-color);
    z-index: 0;
    transition: width 0.4s ease;
    width: 0%;
}

/* Form Content Area */
.wizard-content {
    padding: 40px;
}

.step-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

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

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Controls Enhanced */
.form-label-modern {
    font-weight: 600;
    color: #343a40;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-control-modern {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 12px 18px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-control-modern:focus {
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
}

.form-section-title {
    display: none;
    /* Hide old titles in wizard mode */
}

/* Wizard Navigation Buttons */
.wizard-footer {
    padding: 20px 40px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-wizard {
    padding: 12px 30px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.btn-prev {
    background: #f1f3f5;
    color: #495057;
}

.btn-prev:hover {
    background: #e9ecef;
    color: #212529;
}

.btn-next {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
}

.btn-submit {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.4);
}

/* Success Animation */
.success-message {
    animation: slideUp 0.6s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .wizard-progress-container {
        padding: 20px 15px;
    }

    .step-label {
        font-size: 0.7rem;
    }

    .step-indicator {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    .wizard-content {
        padding: 25px 20px;
    }

    .wizard-footer {
        padding: 0 20px 30px;
    }
}