.stepper-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

.stepper-wrapper .progress-bar {
    position: absolute;
    height: 2px;
    width: calc(100% - 120px);
    background-color: #e0e0e0;
    margin-left: 60px;
    margin-right: 60px;
    top: 15px;
    z-index: -1;
}

.stepper-wrapper .progress-bar .progress-bar-fill {
    height: 100%;
    position: absolute;
    background-color: #ffc107;
}

.stepper-wrapper .progress-bar .completed-bar-fill {
    height: 100%;
    position: absolute;
    background-color: #008001;
    z-index: 1;
}

.stepper-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 2;
    padding: 0 0.5rem;
    margin-left: 2px;
    margin-right: 2px;
}

.step-counter {
    height: 2rem;
    width: 2rem;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    background-color: #f3f3f3;;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 14px;
    color: #0a0a0a;
    position: relative;
}

.step-name {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Completed State */
.stepper-item.completed .step-counter {
    background-color: #008000; /* Green */
    border-color: #008000;
    color: #fff;
}
.stepper-item.completed .step-name {
    color: #000;
}

/* Active State */
.stepper-item.active .step-counter {
    border-color: #ffc107; /* Yellow */
    background-color: #f3f3f3;
    color: #ffc107;
}

.stepper-item.active .step-counter::after {
    content: '';
    position: absolute;
    width: 0.5rem;
    height: 0.5rem;
    background-color: #ffffff; /* Yellow */
    border-radius: 50%;
}

.stepper-item.active .step-name {
    font-weight: bold;
    color: #000;
}

/* Connecting Line based on progress */
.stepper-wrapper.step-2-active::before {
    width: 25%;
    background-color: #008000;
}
.stepper-wrapper.step-3-active::before {
    width: 50%;
    background-color: #008000;
}
.stepper-wrapper.step-4-active::before {
    width: 75%;
    background-color: #008000;
}
.stepper-wrapper.step-5-active::before {
    width: 100%;
    background-color: #008000;
}

/* Form transition */
.form-step {
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


.accordion .accordion-header button.rounded-4{
    border-radius: 20px 20px 0 0 !important;
}

/* Responsive Styles for Mobile */
@media (max-width: 768px) {
    .stepper-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    .stepper-wrapper .progress-bar {
        top: 1rem;
        left: 1rem;
        height: calc(100% - 2rem);
        width: 2px;
        margin-left: 0;
        margin-right: 0;
    }
    .stepper-wrapper .progress-bar .progress-bar-fill {
        width: 100%;
        height: 0;
        transition: height 0.5s ease-in-out;
    }
    .stepper-item {
        flex-direction: row;
        text-align: left;
        padding: 1rem 0;
        align-items: center;
    }
    .step-counter {
        margin-right: 1rem;
        margin-bottom: 0;
    }
}

/* Hover effects for account services */
.hover-highlight-light {
    transition: background-color 0.3s ease;
}

.hover-highlight-light:hover {
    background: rgba(253, 184, 19, 0.05);
}

.hover-highlight-medium {
    background: rgba(0, 0, 0, 0.02);
    transition: background-color 0.3s ease;
}

.hover-highlight-medium:hover {
    background: rgba(253, 184, 19, 0.05);
}
