.proffesion-select-section {
    padding: 0 0 80px;
    min-height: calc(100vh - 120px);
}



.booking-progress {
    display: flex;
    justify-content: center;
    padding: 26px 20px;
    background-color: #23346C;
    margin-bottom: 48px;
}

.sub-header-wrap {
    padding: 0;
}

.progress-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px 66px;
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 18px 42px rgba(16, 32, 83, 0.18);
}

.progress-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #6d7397;
    text-align: center;
}

.progress-item.active {
    color: #1f2a69;
}

.progress-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #C7C7EA85;
    color: #263774;
    font-size: 18px;
    transition: background 0.25s ease, color 0.25s ease;
}


.progress-label {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.02em;
    /* color: #23346C; */
}

.progress-divider {
    width: 32px;
    height: 1.5px;
    background-color: #C7C7EA85;
    border-radius: 999px;
}

.booking-content {
    display: flex;
    gap: 73px;
}

.booking-main {
    /* flex: 1 1 auto; */
}

.booking-sidebar {

    display: flex;
    flex:1;
       height: 100%;
    min-height: 600px;

}
.card-section {
    max-width: 436px;

}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 18px;
    color: #707070;
    text-decoration: none;
    margin-bottom: 24px;
}

.back-link i {
    font-size: 14px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 600;
    color: #222222;
    margin-bottom: 52px;
}

.professional-grid {
    display: grid;
    grid-template-columns: repeat(3 , 1fr);
    grid-row-gap: 62px;
    grid-column-gap: 24px;
}

.professional-card {
    max-width: 223px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding:24px;
    border-radius: 20px;
    border: 1px solid #C7C7EA;
    background-color: #ffffff;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
}

.professional-card .service-status {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid rgba(35, 52, 108, 0.35);
    background-color: #ffffff;
    color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.85);
    transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.professional-card .service-status i {
    font-size: 12px;
}

.professional-card:hover .service-status,
.professional-card.active .service-status {
    background-color: #23346C;
    border-color: #23346C;
    color: #ffffff;
    opacity: 1;
    transform: scale(1);
}

.professional-card.active {
    border-color: #23346C;
    background-color: #f5f6ff;
    box-shadow: 0 18px 42px rgba(35, 52, 108, 0.18);
    transform: translateY(-4px);
}

.professional-card.disabled {
    cursor: not-allowed;
}

.professional-card.disabled:hover {
    transform: none;
}

.professional-icon {

    display: flex;

}


.professional-avatar {

    border-radius: 8px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.professional-avatar img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
}
 /* .professional-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.professional-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
} */

.professional-card::before {
    top: 22px;
    right: 28px;
    width: 8px;
    height: 14px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(45deg);
}

.professional-card:hover {
    border-color: #23346C;
    box-shadow: 0 18px 42px rgba(35, 52, 108, 0.18);
}

.professional-card:hover::after,
.professional-card:hover::before,
.professional-card.active::after,
.professional-card.active::before {
    opacity: 1;
}

.professional-card.disabled::after,
.professional-card.disabled::before,
.professional-card.disabled:hover::after,
.professional-card.disabled:hover::before {
    opacity: 0;
}

.professional-card.disabled:hover {
    border-color: #C7C7EA;
    background-color: #ffffff;
    box-shadow: none;
}

.professional-name {
    font-size: 24px;
    font-weight: 800;
    color: #222222;
    padding-top: 17px;
}
.professional-name-sele{
    font-size: 18px;
    font-weight: 800;
    color: #222222;
    padding-top: 17px;
    max-width: 116px;
}

.professional-status {
    font-size: 14px;
    color: #707070;
    padding-top: 6px;
}

.booking-details-card {
    background-color: #ffffff;
    border: 1px solid #C7C7EA;
    padding: 21px 21px 32px 21px;
    border-radius: 20px;
    max-width: 450px;
    width: 100%;
    display: flex;
    flex-direction: column;
    /* height: 100%; */
}

.booking-details-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #23346C;
    margin-bottom: 12px;
}

.booking-location {
    display: flex;
    gap: 9px;
    padding: 21px;
    border-radius: 12px;
    border: 1px solid #C7C7EA;
    margin-bottom: 12px;
    /* flex-direction: column; */
}
.booking-location-new {
    display: flex;
    gap: 9px;
    padding: 21px;
    border-radius: 12px;
    border: 1px solid #C7C7EA;
    margin-bottom: 12px;
}


.location-icon {
    transform: unset;
}

.location-text {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.location-title {
    font-size: 18px;
    font-weight: 600;
    color: #222222;
}

.location-address {
    font-size: 16px;
    color: #707070;
    font-weight: 600;
}

.book-now-btn {
    border: none;
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    margin-top: auto;
    background-color: #707070;
    border: none;
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    margin-top: auto;
     height: 53px;
     width: 100%;
}
.active-now-btn{
    background-color: #23346C;
    border: none;
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    margin-top: auto;
    border: none;
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    margin-top: auto;
    padding: 13px;
}

.book-now-btn:hover {
    background-color: #3a4885;
}

@media (max-width: 1200px){
    .professional-grid{
        grid-template-columns: repeat(3, 1fr);
    grid-row-gap: 53px;
    grid-column-gap: 18px;

    }
    .section-header h2 {
        font-size: 30px;
        font-weight: 600;
        color: #222222;
        margin-bottom: 40px;
    }

    .booking-content {
        display: flex
    ;
        gap: 33px;
    }
    .professional-card {
    max-width: 175px;
}
}




@media (max-width: 992px) {
    .booking-content {
        flex-direction: column;
    }
    .professional-card {
    max-width: 223px;
}
    .booking-sidebar {
        width: 100%;
        flex: 0 0 auto;
    }
}

@media (max-width: 768px) {
    .booking-progress {

        gap: 22px;
        padding: 24px;
    }

    .progress-card {

        gap: 20px;
        padding: 28px 32px;
    }

    .progress-divider {
        width: 2px;
        height: 36px;
    }

    .professional-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 540px) {
    .professional-grid {
         grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .section-header h2 {
        font-size: 25px;
        font-weight: 600;
        color: #222222;
        margin-bottom: 22px;
    }
    .professional-modal-card{
        min-width: 136px;
    }
    .professional-grid {
        grid-row-gap: 21px;
    }
    .professional-name {
        font-size: 18px;
    }
    .professional-card {

        padding: 19px
    }
    .location-title {
        font-size: 16px;
    }
    .booking-location {
        display: flex
    ;
        gap: 12px;

    }
    .professional-grid{

        gap: 14px;
    }
}

@media (max-width: 480px) {
    .progress-card {
        gap: 12px;
    }
     .professional-grid {
         grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .progress-label {
        font-size: 14px;
    }
    .section-header h2 {
        font-size: 20px;
    }
}
