.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.theme_red .progress-steps::before {
    background: linear-gradient(to right, #e0e0e0 0%, #dc3545 50%, #e0e0e0 100%);
}

.theme_blue .progress-steps::before {
    background: linear-gradient(to right, #e0e0e0 0%, #0d6efd 50%, #e0e0e0 100%);
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.step-label {
    font-size: 0.875rem;
    color: #999;
    text-align: center;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: #0d6efd;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
}

.step.active .step-label {
    color: #0d6efd;
    font-weight: 600;
}

.theme_red .step.active .step-number {
    background: #dc3545;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1);
}

.theme_red .step.active .step-label {
    color: #dc3545;
    font-weight: 600;
}

.step.completed .step-number {
    background: #198754;
    color: #fff;
}

.step.completed .step-number i {
    font-size: 18px;
}

.step.completed .step-label {
    color: #198754;
}

.form-step {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    border-radius: 12px;
    overflow: hidden;
}

.card-header {
    border-radius: 0;
}

.form-control:focus,
.form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.theme_red .form-control:focus,
.theme_red .form-select:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.btn-next,
.btn-prev {
    min-width: 120px;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
}

.btn-success {
    min-width: 150px;
    padding: 0.75rem 2rem;
    font-weight: 600;
}

#captcha_question {
    font-size: 1.1rem;
    color: #333;
    min-width: 120px;
}

#refresh_captcha {
    transition: transform 0.3s ease;
}

#refresh_captcha:hover {
    transform: rotate(180deg);
}

.alert-info {
    border-left: 4px solid #0dcaf0;
}

.theme_red .alert-info {
    border-left: 4px solid #dc3545;
    background-color: #fff5f5;
}

.theme_blue .alert-info {
    border-left: 4px solid #0d6efd;
    background-color: #e7f3ff;
}

.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

@media (max-width: 768px) {
    .progress-steps {
        padding: 0 1rem;
    }

    .step-label {
        font-size: 0.75rem;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .btn-next,
    .btn-prev {
        min-width: 100px;
        font-size: 0.9rem;
    }
}

