.selector-container {
    display: flex;
    gap: 3rem;
    padding: 2rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid var(--ssbond-whiteGray);
    background: linear-gradient(to right, var(--ssbond-whiteGray) 30%, transparent 30%);
    
}
.selector-container{
    margin-bottom: 90px;
}
.selector-heading h2{
    text-align: center;
    margin-top: var(--ssbond-d-t6);
    font-size: var(--ssbond-d-h2);
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 50px;
    margin-top: var(--ssbond-space-t2);
}
/* Left Side - Steps */
.steps-section {
    width: 250px;
    /* border-right: 1px solid var(--ssbond-whiteGray); */
}

.steps-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.step-list {
    position: relative;
}

.step-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 2rem;
    position: relative;
}
.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 15px;
    top: 30px;
    width: 2px;
    height: 40px; /* Height of each line segment */
    background-image: linear-gradient(#e0e0e0 33%, transparent 0%);
    background-position: right;
    background-size: 2px 15px;
    background-repeat: repeat-y;
    z-index: 0;
}
/* Active line segments */
.step-item.completed::after {
    background-image: var(--ssbond-primaryLinear);
}
/* Vertical dotted line connecting steps */
.step-list::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 30px;
    bottom: 30px;
    width: 2px;
    background-image: linear-gradient(#e0e0e0 33%, transparent 0%);
    background-position: right;
    background-size: 2px 15px;
    background-repeat: repeat-y;
}
.form-section h3{
    margin-bottom: var(--ssbond-d-b2);
}
.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.step-number.active {
    background: var(--ssbond-primaryLinear);
}
.step-number.completed {
    background: var(--ssbond-primaryLinear);
}
.step-text {
    font-size: 0.95rem;
    color: #333;
    padding-top: 6px;
}
.step-subtext {
    font-size: 0.8rem;
    color: #666;
    margin-top: 2px;
}
/* Right Side - Form Area */
.form-section {
    flex: 1;
}

.area-selector,.area-selector-2 {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}
.area-selector .area-card:hover {
    background: var(--ssbond-primaryLinear);
    color: var(--ssbond-white);
    border-color: var(--ssbond-primaryLinear);
}

.area-selector .area-card:hover .area-list {
    color: var(--ssbond-white);
}
.navigation-buttons button{
    margin-top: 50px;
    background: var(--ssbond-white);
    border: 1px solid var(--ssbond-blue);
    color: var(--ssbond-black);
    font-size: var(--ssbond-d-btn-card);
    padding: 4px 16px;
    border-radius: 20px;
    cursor: pointer;
    width: auto; 
    white-space: nowrap; 
    transition: all 0.2s ease;
    font-weight: 500;
    height: 32px;
    min-width: 70px;
    display: inline-flex;
    align-items: center; 
    justify-content: center; 
    font-family: var(--ssbond-family);

}
.navigation-buttons button:hover{
    background: var(--ssbond-primaryLinear);
    color: var(--ssbond-white);
}
.area-card,.area-card-2 {
    flex: 1;
    padding: 1.25rem;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
}
.area-card h3,.area-card-2 h3{
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}
.application-title{
    text-align: start;
}
#step3-form .area-selector {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping of cards to the next line */
    gap: 10px; /* Optional: Adds space between cards */
}

#step3-form .area-selector .area-card {
    width: 130px; /* Set card width */
    flex-shrink: 0; /* Prevents shrinking of cards */
    text-align: center;
}
.area-card.active,.area-card-2.active {
    background: var(--ssbond-primaryLinear);
    color: var(--ssbond-white);
    border-color: var(--ssbond-primaryLinear);
}

.area-card:hover,.area-card-2:hover {
    background: var(--ssbond-primaryLinear);
    color: var(--ssbond-white);
    border-color: var(--ssbond-primaryLinear);
}

.area-card h3,.area-card-2 h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.area-list {
    font-size: 0.9rem;
    color: #666;
}
.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    z-index: 9999;
}

.area-card.active .area-list,.area-card-2.active .area-list-2 {
    color: #fff;
}

/* Application Area */
.application-title {
    margin: 2rem 0 1rem;
    font-size: 1rem;
}

.application-buttons {
    display: flex;
    gap: 1rem;
}

.app-button {
    padding: 5px 10px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    background: #fff;
    color: var(--ssbond-black);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100px;
    height: 60px;
    border-radius: 10px;
    font-size: 16px;  /* Set the font size to 24px */
    font-weight: 600;
}

.app-button.active {
    background: var(--ssbond-primaryLinear);
    color: var(--ssbond-white);
}
.app-button:hover {
    background: var(--ssbond-primaryLinear);
    color: var(--ssbond-white);
    border: var(--ssbond-primaryLinear);
}

/* Continue Button */
.continue-button,.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #fff;
    border: 1px solid #0d6efd;
    border-radius: 25px;
    color: #0d6efd;
    margin-top: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.continue-button:hover,.back-button:hover {
    background: #0d6efd;
    color: #fff;
}

.continue-button .arrow {
    font-size: 1.2rem;
}
#step3-form .area-selector .area-card{
    display: flex; 
    justify-content: center; 
    height: 60px;
}
#step3-form .area-selector .area-card h3{
    border-bottom: none; 
    text-align: center; 
    margin: 0;
}
/* Responsive Styles */
@media screen and (max-width: 950px) {
    .selector-container {
        flex-direction: column;
        width: 700px;
        height: auto;
        margin-bottom: 50px;
        background: linear-gradient(to bottom, var(--ssbond-whiteGray) 15%, transparent 50%);
    }
}
/* Responsive Styles */
@media screen and (max-width: 768px) {
    .selector-container{
        width: 570px;
    }
    #step3-form .area-selector .area-card {
        width: 100%; /* Full width of the screen */
        height: auto; /* Adjust height to content if needed */
        margin: 0 auto; /* Center alignment */
    }

    #step3-form .area-selector .area-card h3 {
        text-align: center; /* Ensure the text stays centered */
        margin: 10px 0; /* Adjust spacing for better visibility */
    }
    .steps-section {
        width: 100%;
    }

    .form-section {
        width: 100%;
    }

    .area-selector, .area-selector-2 {
        flex-direction: column;
        width: auto;
    }

    .area-card {
        width: 100%;
    }

    .application-buttons {
        flex-wrap: wrap;
    }

    .app-button {
        flex: 1;
        text-align: center;
        min-width: 120px;
    }
}

@media screen and (max-width: 350px) {
    .selector-container {
        width: 298px !important;
    }
}
@media screen and (max-width: 576px) {
    .selector-container {
        width: 330px;
        height: auto;
        margin-bottom: 50px;
    }
    .selector-heading h2{
        font-size: var(--ssbond-d-h4);
        margin-top: var(--ssbond-space-t5);
    }
    
}
@media screen and (max-width: 480px) {
    .selector-container {
        flex-direction: column;
        padding: 1.5rem;
        gap: 2rem;
        width: 90%;
        background: linear-gradient(to bottom, var(--ssbond-whiteGray) 15%, transparent 30%);
    }
    .product-recommendation{
        width: 100%;
    }
    .selector-container {
        padding: 1rem;
        gap: 1.5rem;
    }

    .steps-title {
        font-size: 1.1rem;
    }

    .step-text {
        font-size: 0.85rem;
    }

    .area-card h3 {
        font-size: 0.95rem;
    }

    .area-list {
        font-size: 0.85rem;
    }

    .application-buttons {
        flex-direction: column;
    }

    .app-button {
        width: 100%;
    }

    .continue-button {
        width: 100%;
        justify-content: center;
    }
    
}
