﻿
.stepper-wrapper {
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    position: relative;
}

/* Background horizontal line */
.stepper-wrapper::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 7%;
    width: 86%;
    height: 2px;
    background-color: #e0e0e0;
    z-index: 1;
}

.step-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    z-index: 2;
}

.step-counter {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 20px;
    color: #6c757d;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 0 0 4px white;
}

.step-name {
    font-size: 16px;
    color: #6c757d;
    transition: all 0.3s ease;
}

/* Active state */
.step-item.active .step-counter {
    background-color: #007bff;
    color: white;
}

.step-item.active .step-name {
    color: #007bff;
    font-weight: 600;
}

/* Completed state */
.step-item.completed .step-counter {
    background-color: #007bff;
    color: white;
}

/* Completed line */
.stepper-wrapper .step-item.completed + .step-item.completed::before,
.stepper-wrapper .step-item.completed + .step-item.active::before {
    content: '';
    position: absolute;
    top: 30px;
    left: -50%;
    width: 100%;
    height: 2px;
    background-color: #007bff;
    z-index: 1;
}

/* Tab content */
.tab-content {
    padding: 20px;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 0.25rem 0.25rem;
}

/* Hide all tabs by default */
.tab-pane {
    display: none;
}

    /* Show active tab */
    .tab-pane.active {
        display: block;
    }

/* Navigation buttons */
.tab-navigation {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}


@media (max-width: 768px) {
    .step-name {
        font-size: 12px;
    }

}

@media (max-width: 480px) {
    .step-name {
        font-size: 10px;
    }

}
