/* Step Progress Indicator Styles - Compact (25% smaller) */
.step-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e9ecef;
    color: #6c757d;
    font-weight: bold;
    font-size: 0.75rem;
    border: 1.5px solid #e9ecef;
    transition: all 0.3s ease;
}

.step-circle.completed {
    background-color: #198754;
    color: white;
    border-color: #198754;
}

.step-label {
    font-weight: 500;
    font-size: 0.875rem;
    color: #6c757d;
    transition: color 0.3s ease;
}

.step-circle.completed + .step-label {
    color: #198754;
    font-weight: 600;
}

.step-line {
    flex: 1;
    height: 1.5px;
    background-color: #e9ecef;
    margin: 0 11px;
    transition: background-color 0.3s ease;
}

.step-line.completed {
    background-color: #198754;
}

/* Step Container Styles - Compact */
.step-container {
    margin-bottom: 1.125rem;
    transition: opacity 0.3s ease;
}

.step-container.disabled {
    opacity: 0.6;
}

.step-container.disabled .card {
    background-color: #f8f9fa;
}

/* High specificity for active step - bright red border */
.counter-compact .step-container.active .card,
.step-container.active .card,
.counter-compact .step-container.active .card.card,
.step-container.active .card.card {
    border-color: #dc3545 !important;
    border-width: 3px !important;
    border-style: solid !important;
    box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.25) !important;
    transition: all 0.3s ease !important;
}

/* Alternative approach - override Bootstrap's default border */
.step-container.active .card:not(.disabled) {
    border: 3px solid #dc3545 !important;
    box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.25) !important;
}

.step-container.completed .card {
    border-color: #198754;
    background-color: #f8fff9;
}

.step-container.completed .card-header {
    background-color: #d1e7dd;
    border-bottom-color: #badbcc;
}

/* Responsive improvements - Compact */
@media (max-width: 768px) {
    .step-circle {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }
    
    .step-label {
        font-size: 0.75rem;
    }
    
    .step-line {
        margin: 0 8px;
    }
}

@media (max-width: 576px) {
    .d-flex.justify-content-between.align-items-center {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step-line {
        width: 100%;
        height: 1.5px;
        margin: 8px 0;
    }
    
    .d-flex.align-items-center {
        flex-direction: column;
        text-align: center;
    }
    
    .step-label {
        margin-top: 0.375rem !important;
        margin-left: 0 !important;
    }
}
