.stepper-sidebar {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 90px;
    border: 1px solid #e9ecef;
}

.stepper-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stepper-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border-radius: 14px;
    transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background: #f8f9fa;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.stepper-step.active {
    background: linear-gradient(135deg, #0c3259 0%, #1a5490 100%);
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(12, 50, 89, 0.3);
}

.stepper-step.active * {
    color: white !important;
    position: relative;
    z-index: 1;
}

.stepper-step.completed {
    background: #e7f5ec;
    border-color: #28a745;
}

.stepper-step.completed .stepper-icon {
    color: #28a745;
}

.stepper-step.stepper-locked {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f0f0f0;
}

.stepper-step.stepper-locked .stepper-arrow i {
    color: #dc3545;
}

.stepper-step:hover:not(.active):not(.stepper-locked) {
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
    background: white;
}

.stepper-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    position: relative;
    z-index: 1;
}

.stepper-content {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.stepper-title {
    margin-bottom: 2px;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
}

.stepper-description {
    font-size: 12px;
    line-height: 1.4;
    opacity: 0.85;
}

.stepper-arrow {
    display: flex;
    align-items: center;
    font-size: 14px;
    position: relative;
    z-index: 1;
    opacity: 0.5;
}

.stepper-navigation {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 16px;
    margin-top: 16px;
}

.main-content {
    min-height: auto;
}

.card {
    border-radius: 20px;
    border: 1px solid #e9ecef;
    background: #ffffff;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
}

.step-panel {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

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

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

.course-selection {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.course-option {
    display: flex;
    align-items: center;
    padding: 18px;
    border: 2px solid #e9ecef;
    border-radius: 14px;
    cursor: pointer;
    transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
}

.course-option:hover {
    border-color: #0c3259;
    box-shadow: 0 4px 16px rgba(12, 50, 89, 0.15);
    transform: translateY(-2px);
}

.course-option:has(input:checked) {
    border-color: #0c3259;
    background: linear-gradient(135deg, rgba(12, 50, 89, 0.05) 0%, rgba(26, 84, 144, 0.05) 100%);
    box-shadow: 0 4px 16px rgba(12, 50, 89, 0.2);
}

.course-option input[type="radio"] {
    margin-right: 16px;
    width: 22px;
    height: 22px;
    accent-color: #0c3259;
}

.course-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.course-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-details {
    flex: 1;
}

.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

@media (max-width: 991.98px) {
    .stepper-sidebar {
        position: static;
        margin-bottom: 2rem;
        top: 0;
    }

    iframe {
        height: 400px !important;
    }
    
    .stepper-step {
        padding: 12px;
    }
    
    .stepper-title {
        font-size: 14px;
    }
    
    .stepper-description {
        font-size: 11px;
    }
}

.form-control-solid, .form-select-solid {
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    transition: all .3s ease;
}

.form-control-solid:focus, .form-select-solid:focus {
    background-color: #ffffff;
    border-color: #0c3259;
    box-shadow: 0 0 0 4px rgba(12, 50, 89, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #0c3259 0%, #1a5490 100%);
    border: none;
    transition: all .3s ease;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(12, 50, 89, 0.4);
    background: linear-gradient(135deg, #1a5490 0%, #0c3259 100%);
}

.btn-outline-secondary {
    border: 2px solid #e9ecef;
    transition: all .3s ease;
    background: white;
}

.btn-outline-secondary:hover {
    background: #f8f9fa;
    border-color: #0c3259;
    color: #0c3259;
    transform: translateY(-1px);
}

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    transition: all .3s ease;
}

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

.btn-outline-primary {
    border: 2px solid #0c3259;
    color: #0c3259;
    background: white;
    transition: all .3s ease;
}

.btn-outline-primary:hover {
    background: #0c3259;
    color: white;
    transform: translateY(-1px);
}

.btn-instruction {
    background: linear-gradient(135deg, #0c3259 0%, #0c3259 100%);
    border: none;
    color: white;
    font-weight: 600;
    font-size: 16px;
    padding: 14px 20px;
    transition: all .3s ease;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-instruction::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-instruction:hover::before {
    left: 100%;
}

.btn-instruction:hover {
    background: linear-gradient(135deg, #0c3259 0%, #0c3259 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.5);
    color: white;
}

.btn-instruction i {
    font-size: 18px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

h2 {
    background: linear-gradient(135deg, #0c3259 0%, #1a5490 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
