/* Global smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Styles for the upper information section */

#upperInformationSectionOuterDiv {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 60px 0px;
    max-width: 1100px;
    width: calc(100% - 80px);
    margin: 0 auto;
    border-bottom: solid 1px #f0f0f0;
    box-sizing: border-box;
}

#generalProfileInformationSectionOuterDiv {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    width: 600px;
}

#upperNavLinksOuterDiv {
    display: flex;
    gap: 30px;
    padding-bottom: 20px;
    border-bottom: solid 1px #f0f0f0;
    width: 100%;
}

.upperNavLinkDiv {
    font-weight: 600;
    font-size: 15px;
    color: #333;
    opacity: 0.7;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.upperNavLinkDiv:hover {
    opacity: 1;
    color: #0088cc;
}

#headlineDiv {
    font-weight: 700;
    font-size: 20px;
    color: #1a1a1a;
    line-height: 1.4;
}

@media screen and (max-width: 1024px) {
    #generalProfileInformationSectionOuterDiv {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    #upperInformationSectionOuterDiv {
        width: calc(100% - 30px);
    }
}

@media screen and (max-width: 500px) {
    #upperNavLinksOuterDiv {
        gap: 0px;
        justify-content: space-between;
    }
}

@media screen and (max-width: 440px) {
    .upperNavLinkDiv {
        font-size: 14px;
    }
}

@media screen and (max-width: 415px) {
    #upperInformationSectionOuterDiv {
        padding: 30px 0px;
    }

    #generalProfileInformationSectionOuterDiv {
        gap: 30px;
    }
}

@media screen and (max-width: 375px) {
    .upperNavLinkDiv {
        font-size: 13px;
    }
}

@media screen and (max-width: 345px) {
    .upperNavLinkDiv {
        font-size: 12px;
    }
}

/* Styles for the preview image(s) section */

#previewImagesAndNavigationDotsOuterDiv {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.previewImagesOuterDiv {
    width: 600px;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    width: 100%;
    max-width: 800px;
    aspect-ratio: 3/2;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease;
}

.carousel-container:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

@supports not (aspect-ratio: 3/2) {
    .carousel-container::before {
        content: "";
        display: block;
        padding-top: 66.67%;
    }

    .carousel-container>* {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

.carousel-skeleton {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 37%, #f0f0f0 63%);
    background-size: 400% 100%;
    animation: shimmer 2s ease infinite;
    z-index: 10;
    border-radius: 12px;
}

.carousel-slide {
    display: flex;
    width: 100%;
    height: 100%;
}

.preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.carousel-controls {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.carousel-buttons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    box-sizing: border-box;
}

.carousel-nav-button {
    background-color: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    z-index: 10;
    margin: 0;
    padding: 0;
    opacity: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.carousel-nav-button:hover {
    background-color: white;
    transform: scale(1.1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.carousel-nav-button svg {
    width: 16px;
    height: 16px;
    fill: #333;
}

.carousel-container:hover .carousel-nav-button {
    opacity: 1;
}

.carousel-container .carousel-nav-button {
    transition-delay: 0s;
}

.carousel-container:hover .carousel-nav-button {
    transition-delay: 0.1s;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    pointer-events: auto;
}

.dot {
    height: 8px;
    width: 8px;
    margin: 0 4px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.dot.active {
    background-color: white;
    transform: scale(1.2);
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

@media screen and (max-width: 630px) {
    .previewImagesOuterDiv {
        width: calc(100vw - 30px);
    }
}

/* Styles for the profile picture, name, service title, and rating section */

#profilePicNameServiceTitleAndRatingOuterDiv {
    display: flex;
    align-items: center;
    gap: 20px;
}

#profilePicDiv {
    position: relative;
}

.profile-photo-skeleton {
    position: absolute;
    top: 0;
    left: 0;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 37%, #f0f0f0 63%);
    background-size: 400% 100%;
    animation: shimmer 2s ease infinite;
    z-index: 10;
    pointer-events: none;
}

#profileImage {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

#nameServiceTitleAndRatingOuterDiv {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

#nameAndServiceTitleOuterDiv {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

#nameDiv {
    font-weight: 700;
    font-size: 26px;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

#serviceTitleDiv {
    font-size: 17px;
    color: #666;
    font-weight: 500;
}

#ratingDiv {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f5 100%);
    border-radius: 10px;
    border: 1.5px solid #e8eaed;
}

#starIcon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: #1a1a1a;
}

#ratingSpan {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
}

#ratingSpanNumberOfReviews {
    font-size: 16px;
    font-weight: 500;
    color: #666;
}

@media screen and (max-width: 460px) {
    #profilePicNameServiceTitleAndRatingOuterDiv {
        gap: 15px;
    }

    .profile-photo-skeleton {
        width: 130px;
        height: 130px;
    }

    #profileImage {
        width: 130px;
        height: 130px;
    }

    #nameServiceTitleAndRatingOuterDiv {
        gap: 10px;
    }

    #nameDiv {
        font-size: 20px;
    }

    #serviceTitleDiv {
        font-size: 16px;
    }

    #ratingDiv {
        padding: 6px 10px;
        gap: 4px;
    }

    #starIcon {
        width: 16px;
        height: 16px;
    }

    #ratingSpan {
        font-size: 14px;
    }

    #ratingSpanNumberOfReviews {
        font-size: 13px;
    }
}

@media screen and (max-width: 400px) {
    #profilePicNameServiceTitleAndRatingOuterDiv {
        gap: 10px;
    }

    .profile-photo-skeleton {
        width: 120px;
        height: 120px;
    }

    #profileImage {
        width: 120px;
        height: 120px;
    }

    #nameServiceTitleAndRatingOuterDiv {
        gap: 8px;
    }

    #nameDiv {
        font-size: 18px;
    }

    #ratingDiv {
        padding: 5px 8px;
        gap: 3px;
    }

    #starIcon {
        width: 14px;
        height: 14px;
    }

    #ratingSpan {
        font-size: 13px;
    }

    #ratingSpanNumberOfReviews {
        font-size: 12px;
    }
}

/* Styles for the mobile favorite and share buttons section */

#mobileFavoriteAndShareButtons {
    display: none;
    justify-content: flex-start;
    align-items: stretch;
    gap: 10px;
    width: 100%;
}

.mobileActionButton {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    max-width: 200px;
    padding: 14px 16px;
    border: 2px solid #e0e4e8;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
    font-size: 13px;
    font-weight: 600;
    color: #2d3748;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    white-space: nowrap;
    text-align: center;
}

.mobileActionButton:hover {
    background: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%);
    border-color: #0088cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.15), 0 2px 4px rgba(0, 0, 0, 0.04);
}

.mobileActionButton:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.mobileActionButtonIcon {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #333;
    flex-shrink: 0;
}

@media screen and (max-width: 1124px) {
    #mobileFavoriteAndShareButtons {
        display: flex;
    }
}

.mobileActionButtonTextDiv {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex: 1;
    text-align: center;
    width: 100%;
}

@media screen and (max-width: 400px) {
    .mobileActionButton {
        font-size: 12px;
        padding: 12px 10px;
        max-width: 180px;
    }
}

@media screen and (max-width: 350px) {
    .mobileActionButton {
        font-size: 11.5px;
        padding: 11px 8px;
        max-width: 160px;
    }
}

@media screen and (max-width: 320px) {
    .mobileActionButton {
        font-size: 11px;
        padding: 10px 6px;
        max-width: 145px;
    }
}

/* Styles for the about section */

#spProfileDetailsSections {
    display: flex;
    flex-direction: column;
    width: 100%;
}

#spProfileDetailsSections>.spProfileDetailsSection {
    width: 100%;
}

#spProfileDetailsSections>.spProfileDetailsSection+.spProfileDetailsSection {
    border-top: solid 1px #f0f0f0;
    padding-top: 40px;
}

/* Add padding-bottom only to sections that have a border below (not the last section) */
#spProfileDetailsSections>.spProfileDetailsSection:not(:last-child) {
    padding-bottom: 40px;
}

#individualPiecesOfInformationSectionOuterDiv {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    width: 100%;
}

.individualPieceOfInformationDiv {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}

.individualPieceOfInformationTitleDiv {
    font-weight: 700;
    font-size: 17px;
    color: #1a1a1a;
    width: 100%;
}

.individualPieceOfInformationTextDiv {
    font-size: 16px;
    color: #4a4a4a;
    line-height: 1.6;
    width: 100%;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.overviewSeeMoreButton {
    display: inline-block;
    background: none;
    border: none;
    padding: 0;
    margin: 0 0 0 8px;
    color: #0088cc;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
}

.overviewSeeMoreButton:hover {
    color: #0077b3;
    text-decoration: underline;
}

#serviceAreasContent {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 15px;
    box-sizing: border-box;
}

#addressesContent {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 15px;
    box-sizing: border-box;
}

.serviceAreasTagsContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
    align-content: flex-start;
    margin-top: 10px;
}

.serviceAreaTag {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    gap: 6px;
    line-height: 1.4;
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.serviceAreaTag.offline {
    background-color: #f8f9fa;
    border: 1.5px solid #e8eaed;
    color: #1f2937;
}

.serviceAreaTag.online {
    background-color: #e6f4ff;
    border: 1.5px solid #91d5ff;
    color: #0077b3;
}

.serviceAreaNameAndCaptionContainer {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.serviceAreaName {
    font-weight: 600;
    text-align: left;
    color: #1a1a1a;
}

.serviceAreaHierarchy {
    font-size: 12px;
    opacity: 0.85;
    text-align: left;
    color: #4b5563;
}

.onlineCaption {
    font-size: 11px;
    font-weight: 700;
    background: linear-gradient(135deg, #d6ecff 0%, #bfe4ff 100%);
    color: #005a8f;
    border-radius: 999px;
    padding: 3px 10px;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.addressesContainer {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
    box-sizing: border-box;
    margin-top: 10px;
}

.individualAddressBlock {
    background-color: #ffffff;
    border: 1.5px solid #e8eaed;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.addressText {
    font-size: 16px;
    color: #1f2937;
    margin-bottom: 10px;
    line-height: 1.6;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 500;
}

.businessHoursTitle {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.businessHoursDayRow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 14px;
    color: #374151;
}

.businessHoursDayName {
    font-weight: 600;
    min-width: 110px;
}

.businessHoursTime {
    opacity: 0.9;
}

.businessHoursClosed {
    opacity: 0.65;
    font-style: italic;
}

/* Styles for the service menu section */

#pricingSectionOuterDiv {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    width: 100%;
}

#pricingSectionHeaderAndStartingPriceOuterDiv {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

#pricingSectionHeaderDiv {
    font-weight: 700;
    font-size: 20px;
    color: #1a1a1a;
}

#pricingSectionStartingPriceDiv {
    font-size: 17px;
    color: #0088cc;
    font-weight: 600;
}

#pricingSectionOuterServiceNameAndPriceAndDescriptionOuterDiv {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    border: 1.5px solid #e8eaed;
    border-radius: 12px;
    padding: 28px;
    box-sizing: border-box;
    height: fit-content;
    overflow-y: auto;
    background: #fafbfc;
}

.pricingSectionIndividualServiceOuterDiv {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
}

.pricingSectionIndividualServiceNameAndPriceAndIconOuterDiv {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    width: 100%;
    border: 1.5px solid #e8eaed;
    border-radius: 10px;
    padding: 16px 18px;
    box-sizing: border-box;
    background: white;
    transition: all 0.2s ease;
}

.pricingSectionIndividualServiceNameAndPriceAndIconOuterDiv:hover {
    border-color: #0088cc;
    box-shadow: 0 2px 8px rgba(0, 136, 204, 0.08);
    transform: translateY(-1px);
}

.pricingSectionIndividualServiceNameAndPriceOuterDiv {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 90%;
}

.pricingSectionIndividualServiceNameTextDiv {
    font-size: 16px;
    color: #333;
    width: 100%;
}

.pricingSectionIndividualServicePriceDiv {
    font-size: 16px;
    color: #333;
    width: 100%;
    opacity: 0.7;
}

.pricingSectionIndividualServiceNameAndPriceAndDescriptionIcon {
    width: 22px;
    height: 22px;
}

.pricingSectionIndividualServiceDescriptionDiv {
    font-size: 16px;
    color: #333;
    opacity: 0.7;
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
}

@media screen and (max-width: 600px) {
    #pricingSectionOuterServiceNameAndPriceAndDescriptionOuterDiv {
        padding: 20px;
        gap: 20px;
    }

    #pricingSectionHeaderAndStartingPriceOuterDiv {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 10px;
    }
}

@media screen and (max-width: 500px) {
    #pricingSectionOuterServiceNameAndPriceAndDescriptionOuterDiv {
        padding: 15px;
        gap: 15px;
    }
}

@media screen and (max-width: 415px) {
    #pricingSectionOuterDiv {
        gap: 30px;
    }

    /* Adjust padding-bottom for smaller screens when not last section */
    #spProfileDetailsSections>.spProfileDetailsSection:not(:last-child) {
        padding-bottom: 30px;
    }
}

@media screen and (max-width: 375px) {
    .pricingSectionIndividualServiceNameAndPriceAndIconOuterDiv {
        padding: 7px 10px;
    }

    .pricingSectionIndividualServiceNameTextDiv {
        font-size: 14px;
    }

    .pricingSectionIndividualServicePriceAndIconOuterDiv {
        gap: 10px;
    }

    .pricingSectionIndividualServicePriceDiv {
        font-size: 14px;
    }

    .pricingSectionIndividualServiceNameAndPriceAndDescriptionIcon {
        width: 18px;
        height: 18px;
    }

    .pricingSectionIndividualServiceDescriptionDiv {
        font-size: 14px;
        padding: 15px;
    }
}

/* Styles for the profile media section */

#profileMediaSectionOuterDiv {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    width: 100%;
}

#profileMediaSectionHeaderAndSubheaderOuterDiv {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}

#profileMediaSectionHeaderDiv {
    font-weight: 700;
    font-size: 20px;
    color: #1a1a1a;
}

#profileMediaSectionSubheaderOuterDiv {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

#profileMediaSectionActualSubheader {
    font-size: 16px;
    color: #333;
    opacity: 0.7;
}

#profileMediaSectionSeeAllDiv {
    font-size: 15px;
    color: #0088cc;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

#profileMediaSectionSeeAllDiv:hover {
    color: #0077b3;
    text-decoration: underline;
}

#profileMediaSectionActualDisplayOuterDiv {
    display: flex;
    gap: 20px;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 15px;
}

.media-item-container {
    position: relative;
    display: inline-block;
}

.media-photo-skeleton {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 200px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 37%, #f0f0f0 63%);
    background-size: 400% 100%;
    animation: shimmer 2s ease infinite;
    z-index: 10;
    border-radius: 12px;
}

.profileMediaSectionActualPhotoOrVideo {
    width: 350px;
    aspect-ratio: 4/3;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    object-fit: cover;
}

.profileMediaSectionActualPhotoOrVideo:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.profileMediaModal {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    box-sizing: border-box;
}

.carouselModalContent {
    /* Keep modal media consistent with profile media tiles (4/3 + cover) */
    width: min(85vw, calc(80vh * 4 / 3), 1000px);
    aspect-ratio: 4 / 3;
    height: auto;
    border-radius: 8px;
    margin: auto;
    display: block;
    object-fit: cover;
}

.carouselCloseButton {
    position: absolute;
    top: 20px;
    right: 35px;
    fill: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    height: 40px;
    width: 40px;
    transition: all 0.2s ease;
}

.carouselCloseButton:hover {
    fill: #ffffff;
    transform: scale(1.1);
}

.carouselNavButton {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    fill: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    background: none;
    border: none;
    padding: 10px;
    height: 40px;
    width: 40px;
    transition: all 0.2s ease;
}

.carouselNavButton:hover {
    fill: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.carouselPreviousButton {
    left: 20px;
}

.carouselNextButton {
    right: 20px;
}

@media screen and (max-width: 768px) {
    .profileMediaModal {
        padding: 0;
    }

    .carouselModalContent {
        width: min(90vw, calc(60vh * 4 / 3));
    }

    .carouselNavButton {
        position: fixed;
        top: 50%;
        transform: translateY(calc(30vh + 30px));
        height: 44px;
        width: 44px;
    }

    .carouselNavButton:hover {
        transform: translateY(calc(30vh + 30px)) scale(1.1);
    }

    .carouselPreviousButton {
        left: calc(50% - 80px);
    }

    .carouselNextButton {
        right: calc(50% - 80px);
    }
}

@media screen and (max-width: 500px) {
    .carouselModalContent {
        width: min(92vw, calc(60vh * 4 / 3));
    }

    .carouselCloseButton {
        height: 32px;
        width: 32px;
        top: 15px;
        right: 15px;
    }

    .carouselNavButton {
        height: 40px;
        width: 40px;
    }

    .carouselPreviousButton {
        left: calc(50% - 70px);
    }

    .carouselNextButton {
        right: calc(50% - 70px);
    }
}

@media screen and (max-width: 400px) {
    .carouselNavButton {
        height: 36px;
        width: 36px;
    }

    .carouselPreviousButton {
        left: calc(50% - 65px);
    }

    .carouselNextButton {
        right: calc(50% - 65px);
    }
}

@media screen and (max-width: 425px) {
    .profileMediaSectionActualPhotoOrVideo {
        width: 300px;
    }
}

@media screen and (max-width: 375px) {
    .profileMediaSectionActualPhotoOrVideo {
        width: 250px;
    }
}

/* Styles for the faq's section */

#faqsSectionOuterDiv {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    width: 100%;
}

#faqsSectionHeaderDiv {
    font-weight: 700;
    font-size: 20px;
    color: #1a1a1a;
}

#faqsSectionOuterQuestionsAndAnswersOuterDiv {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    border: 1.5px solid #e8eaed;
    border-radius: 12px;
    padding: 28px;
    box-sizing: border-box;
    height: fit-content;
    overflow-y: auto;
    background: #fafbfc;
}

.faqsSectionIndividualFAQOuterDiv {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
}

.faqsSectionIndividualFAQQuestionOuterDiv {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    width: 100%;
    border: 1.5px solid #e8eaed;
    border-radius: 10px;
    padding: 16px 18px;
    box-sizing: border-box;
    background: white;
    transition: all 0.2s ease;
}

.faqsSectionIndividualFAQQuestionOuterDiv:hover {
    border-color: #0088cc;
    box-shadow: 0 2px 8px rgba(0, 136, 204, 0.08);
    transform: translateY(-1px);
}

.faqsSectionIndividualFAQQuestionTextDiv {
    font-size: 16px;
    color: #333;
    max-width: 90%;
}

.faqsSectionIndividualFAQQuestionIcon {
    width: 22px;
    height: 22px;
    max-width: 10%;
}

.faqsSectionIndividualFAQAnswerDiv {
    font-size: 16px;
    color: #333;
    opacity: 0.7;
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
}

@media screen and (max-width: 600px) {
    #faqsSectionOuterQuestionsAndAnswersOuterDiv {
        padding: 20px;
        gap: 20px;
    }
}

@media screen and (max-width: 500px) {
    #faqsSectionOuterQuestionsAndAnswersOuterDiv {
        padding: 15px;
        gap: 15px;
    }
}

@media screen and (max-width: 375px) {
    .faqsSectionIndividualFAQOuterDiv {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        width: 100%;
    }

    .faqsSectionIndividualFAQQuestionOuterDiv {
        padding: 7px 10px;
    }

    .faqsSectionIndividualFAQQuestionTextDiv {
        font-size: 14px;
    }

    .faqsSectionIndividualFAQQuestionIcon {
        width: 18px;
        height: 18px;
    }

    .faqsSectionIndividualFAQAnswerDiv {
        font-size: 14px;
    }
}

/* Styles for the contact information, share profile, and favorite buttons section */

#contactInformationAndButtonsSectionOuterDiv {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: sticky;
    top: 20px;
    z-index: 100;
    width: 400px;
    padding: 20px;
    background: white;
    border-radius: 16px;
    border: 1.5px solid #e8eaed;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

#contactInformationSectionOuterDiv {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    border: 1px solid #f0f0f0;
    padding: 20px 0px;
    border-radius: 12px;
    width: 100%;
    box-sizing: border-box;
    background: #fafbfc;
}

#contactInformationSectionHeaderDiv {
    font-weight: 700;
    font-size: 19px;
    color: #1a1a1a;
    border-bottom: solid 1px #f0f0f0;
    padding-bottom: 12px;
}

#contactInformationSectionIndividualContactMethodsOuterDiv {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.contactInformationSectionIndividualContactMethodOuterDiv {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.contactInformationSectionIndividualContactMethodIcon {
    width: 20px;
    height: 20px;
}

.contactInformationSectionIndividualContactMethodTextOrNumberDiv {
    font-size: 16px;
    color: #333;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    text-decoration: none;
}

#shareProfileAndFavoriteButtonsOuterDiv {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

#shareProfileButton {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #fafbfc;
    border: 1.5px solid #e8eaed;
    padding: 12px 0px;
    cursor: pointer;
    border-radius: 10px;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

#shareProfileButton:hover {
    border-color: #0088cc;
    background-color: #f9fcff;
    transform: translateY(-1px);
}

#shareButtonIcon {
    width: 18px;
    height: 18px;
    stroke: #555;
    flex-shrink: 0;
}

#shareButtonTextDiv {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    opacity: 0.7;
    text-decoration: none;
}

#addToFavoritesForm {
    width: 100%;
}

#removeFromFavoritesForm {
    width: 100%;
}

#addToFavoritesButton {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #fafbfc;
    border: 1.5px solid #e8eaed;
    padding: 12px 0px;
    cursor: pointer;
    border-radius: 10px;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

#addToFavoritesButton:hover {
    border-color: #0088cc;
    background-color: #f9fcff;
    transform: translateY(-1px);
}

#unfilledFavoriteIcon {
    width: 20px;
    height: 20px;
}

#addToFavoritesButtonTextDiv {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    opacity: 0.7;
    text-decoration: none;
}

#removeFromFavoritesButton {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #fafbfc;
    border: 1.5px solid #e8eaed;
    padding: 12px 0px;
    cursor: pointer;
    border-radius: 10px;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

#removeFromFavoritesButton:hover {
    border-color: #0088cc;
    background-color: #f9fcff;
    transform: translateY(-1px);
}

#filledFavoriteIcon {
    width: 20px;
    height: 20px;
}

#removeFromFavoritesButtonTextDiv {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    opacity: 0.7;
    text-decoration: none;
}

#messageServiceProviderButtonDiv {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #0088cc 0%, #006ba1 100%);
    color: white;
    border: none;
    padding: 14px 0px;
    cursor: pointer;
    border-radius: 10px;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 136, 204, 0.15);
}

#messageServiceProviderButtonDiv:hover {
    background: linear-gradient(135deg, #0077b3 0%, #005580 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 136, 204, 0.22);
}

#messageServiceProviderButtonDiv:active {
    transform: translateY(0);
}

@media screen and (max-width: 1124px) {
    #contactInformationAndButtonsSectionOuterDiv {
        display: none;
    }
}

/* Styles for the reviews section */

#reviewsSectionOuterDiv {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    padding: 60px 0px;
    max-width: 1000px;
    width: calc(100% - 80px);
    margin: 0 auto;
}

#reviewHeaderAndButtonsOuterDiv {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

#leaveReviewButton,
#loggedInReviewButton {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    background: linear-gradient(135deg, #0088cc 0%, #006ba1 100%);
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 6px rgba(0, 136, 204, 0.12);
}

#leaveReviewButton:hover,
#loggedInReviewButton:hover {
    background: linear-gradient(135deg, #0077b3 0%, #005580 100%);
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(0, 136, 204, 0.18);
}

#leaveReviewButton:disabled,
#loggedInReviewButton:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#notLoggedInReviewButton {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    background: linear-gradient(135deg, #0088cc 0%, #006ba1 100%);
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 6px rgba(0, 136, 204, 0.12);
}

#notLoggedInReviewButton:hover {
    background: linear-gradient(135deg, #0077b3 0%, #005580 100%);
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(0, 136, 204, 0.18);
}

#reviewsSectionHeaderDiv {
    font-weight: 700;
    font-size: 20px;
    color: #1a1a1a;
}

#reviewsSectionActualReviewsOuterDiv {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.reviewsSectionIndividualReviewOuterDiv {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

@media screen and (max-width: 768px) {
    .reviewsSectionIndividualReviewOuterDiv {
        padding: 20px;
        border-radius: 12px;
        background: #fafbfc;
        border: 1.5px solid #e8eaed;
    }
}

.reviewsSectionIndividualReviewUpperDiv {
    display: flex;
    align-items: center;
    gap: 10px;
}

.reviewsSectionIndividualReviewProfilePicDiv {
    position: relative;
}

.reviewer-photo-skeleton {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 37%, #f0f0f0 63%);
    background-size: 400% 100%;
    animation: shimmer 2s ease infinite;
    z-index: 10;
}

.reviewsSectionIndividualReviewProfilePic {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e8eaed;
}

.reviewsSectionIndividualReviewNameAndRatingOuterDiv {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.reviewsSectionIndividualReviewNameDiv {
    font-weight: bold;
    font-size: 16px;
    color: #333;
}

.reviewsSectionIndividualReviewRatingOuterDiv {
    display: flex;
    align-items: center;
    gap: 5px;
}

.reviewsSectionIndividualReviewRatingIcon {
    width: 15px;
    height: 15px;
}

.reviewsSectionIndividualReviewLowerDiv {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.reviewsSectionIndividualReviewActualReviewTextDiv {
    font-size: 16px;
    color: #333;
}

.reviewsSectionIndividualReviewDateDiv {
    font-size: 16px;
    color: #333;
    opacity: 0.7;
}

@media screen and (max-width: 768px) {
    #reviewsSectionOuterDiv {
        width: calc(100% - 30px);
    }
}

/* Styles for the leave a review section */

#leaveAReviewSectionOuterModalOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    overflow: hidden;
}

#leaveAReviewSectionOuterDiv {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10002;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 16px;
    width: 500px;
    border: 1px solid #e8eaed;
    max-height: 90vh;
    overflow: hidden;
}

#leaveAReviewSectionHeadingsAndCloseIconOuterDiv {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    padding: 24px 28px;
    border-bottom: 1px solid #e8eaed;
    background: #fff;
}

#leaveAReviewSectionXIcon {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

#leaveAReviewSectionOuterHeadingsDiv {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

#leaveAReviewSectionHeaderDiv {
    font-weight: bold;
    font-size: 18px;
    color: #333;
    text-align: center;
}

#leaveAReviewSectionSubheaderDiv {
    font-size: 16px;
    color: #333;
    opacity: 0.7;
    text-align: center;
}

#leaveAReviewSectionActualInputsAndSubmitButtonOuterDiv {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

#reviewForm {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.review-form-scrollable-content {
    flex: 1;
    overflow-y: auto;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.review-form-footer {
    padding: 20px 28px;
    border-top: 1px solid #e8eaed;
    background: #fff;
}

/* Styles for name and email fields (email-verified reviews) */
#leaveAReviewSectionNameEmailFieldsDiv {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

.leaveAReviewSectionInputGroup {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.leaveAReviewSectionInputLabel {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.requiredIndicator {
    color: #dc3545;
}

.leaveAReviewSectionTextInput {
    width: 100%;
    padding: 12px;
    border: 1.5px solid #e8eaed;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.leaveAReviewSectionTextInput:focus {
    outline: none;
    border-color: #0088cc;
    box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.1);
}

.leaveAReviewSectionTextInput::placeholder {
    color: #9aa0a6;
}

.leaveAReviewSectionInputHint {
    font-size: 12px;
    color: #5f6368;
    margin-top: 2px;
}

#leaveAReviewSectionOuterRatingsDiv {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

#leaveAReviewSectionRatingHeaderDiv {
    font-weight: bold;
    font-size: 16px;
    color: #333;
}

#leaveAReviewSectionOuterRatingStarIconsDiv {
    display: flex;
    gap: 10px;
}

.leaveAReviewSectionStarIcon {
    width: 32px;
    height: 32px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.leaveAReviewSectionStarIcon:hover {
    transform: scale(1.1);
}

.leaveAReviewSectionStarIcon.outline {
    fill: #e8eaed;
}

.leaveAReviewSectionStarIcon.filled {
    fill: #ffc107;
}

#leaveAReviewSectionOuterReviewAndSubmitButtonDiv {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
}

#leaveAReviewSectionOuterReviewDiv {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

#leaveAReviewSectionReviewHeaderDiv {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

#leaveAReviewSectionReviewTextArea {
    width: 100%;
    min-height: 180px;
    padding: 12px;
    border: 1.5px solid #e8eaed;
    border-radius: 8px;
    resize: vertical;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.5;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

#leaveAReviewSectionReviewTextArea:focus {
    outline: none;
    border-color: #0088cc;
    box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.1);
}

#leaveAReviewSectionSubmitButton {
    color: white;
    font-size: 15px;
    font-weight: 600;
    background: linear-gradient(135deg, #0088cc 0%, #006ba1 100%);
    padding: 14px 24px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 10px rgba(0, 136, 204, 0.15);
    width: 100%;
}

#leaveAReviewSectionSubmitButton:hover {
    background: linear-gradient(135deg, #0077b3 0%, #005580 100%);
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(0, 136, 204, 0.18);
}

#editAndDeleteReviewButtonsOuterDiv {
    display: flex;
    align-items: center;
    gap: 10px;
}

#editReviewButton {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    background: linear-gradient(135deg, #0088cc 0%, #006ba1 100%);
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 6px rgba(0, 136, 204, 0.12);
}

#editReviewButton:hover {
    background: linear-gradient(135deg, #0077b3 0%, #005580 100%);
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(0, 136, 204, 0.18);
}

#deleteReviewButton {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    background: linear-gradient(135deg, #ff4d4f 0%, #d32f2f 100%);
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 6px rgba(255, 77, 79, 0.12);
}

#deleteReviewButton:hover {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(255, 77, 79, 0.18);
}

#deleteReviewSectionOuterModalOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    overflow: hidden;
}

#deleteReviewSectionOuterDiv {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 24px;
    background-color: #fff;
    padding: 28px;
    border-radius: 16px;
    width: 500px;
    border: 1px solid #e8eaed;
}

#deleteReviewSectionHeaderAndCloseIconOuterDiv {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
}

#deleteReviewSectionXIcon {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

#deleteReviewSectionHeaderDiv {
    font-weight: bold;
    font-size: 18px;
    color: #333;
    text-align: center;
}

#deleteReviewSectionButtonsOuterDiv {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#deleteReviewSectionDeleteButton {
    color: white;
    font-size: 15px;
    font-weight: 600;
    background: linear-gradient(135deg, #ff4d4f 0%, #d32f2f 100%);
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 6px rgba(255, 77, 79, 0.12);
}

#deleteReviewSectionDeleteButton:hover {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(255, 77, 79, 0.18);
}

#deleteReviewSectionCancelButton {
    color: #333;
    font-size: 15px;
    font-weight: 600;
    background-color: #f5f5f5;
    padding: 12px 24px;
    border: 1.5px solid #e8eaed;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

#deleteReviewSectionCancelButton:hover {
    background-color: #e8e8e8;
    border-color: #d0d5dd;
    transform: translateY(-1px);
}

#noReviewsMessageOuterDiv {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    border-radius: 8px;
    margin: 20px 0;
    width: 100%;
}

#noReviewsIconDiv {
    margin-bottom: 16px;
}

#noReviewsTextDiv {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

#noReviewsSubtextDiv {
    font-size: 16px;
    color: #666;
}

@media screen and (max-width: 600px) {
    #leaveAReviewSectionOuterDiv {
        width: 100%;
        max-width: none;
        height: 100vh;
        height: 100dvh;
        max-height: none;
        border-radius: 0;
        top: 0;
        left: 0;
        transform: none;
    }

    #leaveAReviewSectionHeadingsAndCloseIconOuterDiv {
        padding: 20px;
    }

    .review-form-scrollable-content {
        padding: 20px;
        gap: 24px;
    }

    .review-form-footer {
        padding: 16px 20px;
        padding-bottom: calc(16px + env(safe-area-inset-bottom));
    }

    #leaveAReviewSectionReviewTextArea {
        min-height: 250px;
    }

    #deleteReviewSectionOuterDiv {
        width: 100%;
        height: auto;
        max-height: 100vh;
        max-height: 100dvh;
        border-radius: 0;
        top: 50%;
        left: 0;
        right: 0;
        transform: translateY(-50%);
        margin: 0 auto;
    }
}

@media screen and (min-width: 601px) and (max-width: 900px) {
    #leaveAReviewSectionOuterDiv {
        width: calc(100% - 32px);
        max-width: none;
        max-height: calc(100vh - 32px);
        max-height: calc(100dvh - 32px);
    }
}

@media screen and (max-width: 400px) {
    #leaveAReviewSectionHeadingsAndCloseIconOuterDiv {
        padding: 16px;
    }

    .review-form-scrollable-content {
        padding: 16px;
        gap: 20px;
    }

    .review-form-footer {
        padding: 14px 16px;
        padding-bottom: calc(14px + env(safe-area-inset-bottom));
    }

    #leaveAReviewSectionHeaderDiv {
        font-size: 16px;
    }

    #leaveAReviewSectionSubheaderDiv {
        font-size: 14px;
    }

    .leaveAReviewSectionInputLabel {
        font-size: 13px;
    }

    .leaveAReviewSectionTextInput {
        font-size: 14px;
        padding: 10px;
    }

    .leaveAReviewSectionInputHint {
        font-size: 11px;
    }

    #leaveAReviewSectionRatingHeaderDiv {
        font-size: 14px;
    }

    .leaveAReviewSectionStarIcon {
        width: 28px;
        height: 28px;
    }

    #leaveAReviewSectionReviewHeaderDiv {
        font-size: 14px;
    }

    #leaveAReviewSectionReviewTextArea {
        font-size: 14px;
        padding: 10px;
        min-height: 220px;
    }

    #leaveAReviewSectionSubmitButton {
        font-size: 14px;
        padding: 12px 20px;
    }
}

@media screen and (max-width: 375px) {
    #leaveAReviewSectionHeadingsAndCloseIconOuterDiv {
        padding: 14px;
    }

    .review-form-scrollable-content {
        padding: 14px;
        gap: 18px;
    }

    .review-form-footer {
        padding: 12px 14px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom));
    }

    .leaveAReviewSectionStarIcon {
        width: 24px;
        height: 24px;
    }

    #leaveAReviewSectionOuterRatingStarIconsDiv {
        gap: 8px;
    }
}

/* Styles for the change review page section */

#changeReviewPageSectionOuterDiv {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
}

.changeReviewPageSectionNavButtonDiv {
    cursor: pointer;
}

.changeReviewPageSectionArrowIcon {
    width: 20px;
    height: 20px;
    display: block;
}

.changeReviewPageSectionArrowIcon path {
    fill: #333;
}

.changeReviewPageSectionNumberDiv {
    font-size: 18px;
    color: #333;
    opacity: 0.7;
    cursor: pointer;
}

.changeReviewPageSectionNumberDiv.active {
    font-weight: bold;
    opacity: 1;
}

/* Styles for the sticky contact bar */

#stickyContactBar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 20px 15px calc(20px + env(safe-area-inset-bottom)) 15px;
    border-top: 1px solid #e8eaed;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
    box-sizing: border-box;
}

#stickyContactBarContent {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.blueContactButton {
    background: linear-gradient(135deg, #0088cc 0%, #006ba1 100%);
    color: #fff;
    padding: 0.85rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 136, 204, 0.15);
}

.blueContactButton:hover {
    background: linear-gradient(135deg, #0077b3 0%, #005580 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 136, 204, 0.22);
}

/* Sticky contact bar (mobile) layout: 2 buttons + floating Ask AI */
#stickyContactBarContent .blueContactButton {
    /* Both buttons grow equally from their content width - equal when short, naturally sized when long */
    flex: 1 1 auto;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    white-space: nowrap;
}

#stickyBookButton span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stickyBookButton {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 2px 10px rgba(5, 150, 105, 0.18);
}

.stickyBookButton:hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.26);
}

.stickyBookButtonIcon {
    display: block;
}

.floatingAskAIButton {
    position: fixed;
    right: 16px;
    bottom: calc(95px + env(safe-area-inset-bottom));
    z-index: 1101;
    width: auto;
    border-radius: 999px;
    padding: 0.85rem 1.1rem;
    box-shadow: 0 10px 28px rgba(99, 102, 241, 0.28);
}

#contactInfoModalOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    animation: fadeInContactModal 0.2s ease-out;
}

@keyframes fadeInContactModal {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

#contactInfoModal {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 32px;
    border-radius: 16px;
    position: relative;
    width: 90%;
    max-width: 440px;
    min-height: 140px;
    text-align: center;
    box-sizing: border-box;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    animation: slideUpContactModal 0.3s ease-out;
    border: 1px solid #e8eaed;
}

@keyframes slideUpContactModal {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#closeContactInfoModalButton {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#closeContactInfoModalButton:hover {
    background-color: #e8e8e8;
    transform: scale(1.1);
}

#closeContactInfoModalButton path {
    fill: #666;
}

#contactInfoHeaderDiv {
    font-weight: 700;
    font-size: 20px;
    color: #1a1a1a;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
    width: 100%;
}

@media screen and (max-width: 400px) {
    .contactInformationSectionIndividualContactMethodTextOrNumberDiv {
        font-size: 15px;
    }
}

@media screen and (max-width: 350px) {
    .contactInformationSectionIndividualContactMethodTextOrNumberDiv {
        font-size: 14px;
    }
}

@media screen and (max-width: 1124px) {
    #stickyContactBar {
        display: block;
    }

    #reviewsSectionOuterDiv {
        margin-bottom: 120px;
    }

    #spProfileFooter {
        background: #fafafa;
        padding-bottom: 220px;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Styles for the message modal */

#messageModalOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    animation: fadeInMessageModal 0.2s ease-out;
}

@keyframes fadeInMessageModal {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

#messageModal {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 32px;
    padding-top: 48px;
    border-radius: 16px;
    position: relative;
    width: 90%;
    max-width: 500px;
    min-height: 200px;
    text-align: center;
    box-sizing: border-box;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    animation: slideUpMessageModal 0.3s ease-out;
    border: 1px solid #e8eaed;
}

@keyframes slideUpMessageModal {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#closeMessageModalButton {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

#closeMessageModalButton:hover {
    background-color: #e8e8e8;
    transform: scale(1.1);
}

#closeMessageModalButton path {
    fill: #666;
}

#messageModalFormContainer {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    min-height: 0;
}

#messageModalFormContainer form {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    gap: 20px;
}

#messageModalHeaderDiv {
    font-weight: 700;
    font-size: 20px;
    color: #1a1a1a;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
    width: 100%;
    text-align: left;
}

#messageModalInputsContainer {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    flex: 1;
    min-height: 0;
}

.messageModalInputWrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    text-align: left;
}

.messageModalLabel {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.messageModalInput,
.messageModalTextarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e8eaed;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.messageModalInput:invalid,
.messageModalTextarea:invalid {
    box-shadow: none;
}

.messageModalInput::-webkit-validation-bubble-message,
.messageModalTextarea::-webkit-validation-bubble-message {
    display: none;
}

.messageModalInput:focus,
.messageModalTextarea:focus {
    outline: none;
    border-color: #0088cc;
    box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.1);
}

.messageModalTextarea {
    resize: vertical;
    min-height: 324px;
}

.messageModalError {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 4px;
    display: none;
}

.messageModalError.show {
    display: block;
}

.messageModalInput.error,
.messageModalTextarea.error {
    border-color: #e74c3c;
}

.messageModalSendButton {
    background: linear-gradient(135deg, #0088cc 0%, #006ba1 100%);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    margin-top: auto;
    box-shadow: 0 2px 10px rgba(0, 136, 204, 0.15);
    flex-shrink: 0;
}

.messageModalSendButton:hover {
    background: linear-gradient(135deg, #0077b3 0%, #005580 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 136, 204, 0.22);
}

.messageModalSendButton:active {
    transform: translateY(0);
}

.messageModalSendButton:disabled {
    background: linear-gradient(135deg, #ccc 0%, #aaa 100%);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#messageModalSuccessContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    padding: 20px 0;
    flex: 1;
    min-height: 0;
    text-align: center;
}

#messageModalSuccessIcon {
    display: flex;
    align-items: center;
    justify-content: center;
}

#messageModalSuccessText {
    font-weight: 700;
    font-size: 20px;
    color: #1a1a1a;
    text-align: center;
}

#messageModalSuccessSubtext {
    font-size: 16px;
    color: #666;
    text-align: center;
    line-height: 1.5;
    max-width: 400px;
}

/* Review Submission Success Modal Styles */
#reviewSubmissionModalOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10003;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    animation: fadeInMessageModalOverlay 0.3s ease-out;
}

#reviewSubmissionModal {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 32px;
    padding-top: 48px;
    border-radius: 16px;
    position: relative;
    width: 90%;
    max-width: 550px;
    min-height: 200px;
    text-align: center;
    box-sizing: border-box;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    animation: slideUpMessageModal 0.3s ease-out;
    border: 1px solid #e8eaed;
}

#closeReviewSubmissionModalButton {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

#closeReviewSubmissionModalButton:hover {
    background-color: #e8e8e8;
    transform: scale(1.1);
}

#closeReviewSubmissionModalButton path {
    fill: #666;
}

#reviewSubmissionSuccessContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    padding: 20px 0;
}

#reviewSubmissionSuccessIcon {
    display: flex;
    align-items: center;
    justify-content: center;
}

#reviewSubmissionSuccessText {
    font-weight: 700;
    font-size: 24px;
    color: #1a1a1a;
    text-align: center;
}

#reviewSubmissionSuccessSubtext {
    font-size: 16px;
    color: #666;
    text-align: center;
    line-height: 1.6;
    max-width: 450px;
}

#reviewSubmissionSuccessSubtext strong {
    color: #0088cc;
    font-weight: 600;
}

#reviewSubmissionAdditionalInfo {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 450px;
    margin-top: 8px;
}

.reviewSubmissionInfoItem {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: left;
}

.reviewSubmissionInfoItem svg {
    flex-shrink: 0;
}

.reviewSubmissionInfoItem span {
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}

@media screen and (max-width: 535px) {
    #reviewSubmissionModal {
        padding: 24px;
        padding-top: 40px;
        width: calc(100% - 30px);
    }

    #closeReviewSubmissionModalButton {
        top: 8px;
        right: 8px;
        padding: 6px;
    }

    #reviewSubmissionSuccessText {
        font-size: 20px;
    }

    #reviewSubmissionSuccessSubtext {
        font-size: 15px;
    }

    .reviewSubmissionInfoItem {
        padding: 10px 12px;
    }

    .reviewSubmissionInfoItem span {
        font-size: 13px;
    }
}

@media screen and (max-width: 600px) {
    #messageModalOverlay {
        padding: 0;
        align-items: stretch;
        justify-content: stretch;
    }

    #messageModal {
        width: 100%;
        max-width: none;
        height: 100vh;
        height: 100dvh;
        max-height: none;
        border-radius: 0;
        padding: 20px 16px;
        padding-top: calc(48px + env(safe-area-inset-top));
        padding-bottom: calc(20px + env(safe-area-inset-bottom));
        justify-content: flex-start;
        align-items: stretch;
        text-align: left;
        overflow: hidden;
        -webkit-overflow-scrolling: touch;
        box-shadow: none;
        border: none;
        display: flex;
        flex-direction: column;
    }

    #closeMessageModalButton {
        top: calc(12px + env(safe-area-inset-top));
        right: calc(12px + env(safe-area-inset-right));
        padding: 6px;
    }

    #messageModalHeaderDiv {
        font-size: 18px;
    }

    .messageModalInput,
    .messageModalTextarea {
        font-size: 14px;
    }

    .messageModalTextarea {
        min-height: 360px;
    }

    .messageModalSendButton {
        font-size: 14px;
        padding: 12px 20px;
    }

    #messageModalFormContainer {
        flex: 1;
        min-height: 0;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    #messageModalSuccessContainer {
        flex: 1;
        min-height: 0;
        justify-content: center;
        padding: 40px 0;
    }
}

@media screen and (max-width: 410px) {
    #stickyContactBarContent {
        gap: 8px;
    }

    #stickyContactBarContent .blueContactButton {
        font-size: 0.9rem;
        padding: 0.7rem 1rem;
    }

    .floatingAskAIButton {
        right: 12px;
        font-size: 0.9rem;
        padding: 0.7rem 1rem;
        bottom: calc(90px + env(safe-area-inset-bottom));
    }
}

@media screen and (max-width: 340px) {
    #stickyContactBarContent .blueContactButton {
        font-size: 0.8rem;
        padding: 0.6rem 0.8rem;
    }

    .floatingAskAIButton {
        font-size: 0.8rem;
        padding: 0.6rem 0.8rem;
        bottom: calc(85px + env(safe-area-inset-bottom));
    }
}

/* ==================== BOOKING BUTTON & MODAL ==================== */

/* Book Appointment Button - Desktop */
#bookAppointmentButtonDesktop {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #059669, #047857);
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px -4px rgba(5, 150, 105, 0.4);
    margin-top: 0;
}

#bookAppointmentButtonDesktop:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px -4px rgba(5, 150, 105, 0.5);
}

#bookAppointmentButtonDesktop svg {
    width: 18px;
    height: 18px;
    stroke: white;
}

/* Book Appointment Button - Mobile */
#mobileBookButton {
    background: linear-gradient(135deg, #059669, #047857);
    border: none;
    color: white;
}

#mobileBookButton:hover {
    background: linear-gradient(135deg, #047857, #065f46);
}

#mobileBookButton .mobileActionButtonIcon {
    stroke: white;
}

#mobileBookButton .mobileActionButtonTextDiv {
    color: white;
}

/* Booking Modal */
.booking-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    /* No transition on the container to allow backdrop-filter to appear instantly */
}

.booking-modal.open {
    opacity: 1;
    visibility: visible;
}

.booking-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.booking-modal-content {
    position: relative;
    width: 90%;
    max-width: 520px;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: scale(0.95) translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.booking-modal.open .booking-modal-content {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.booking-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.booking-modal-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.booking-modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #f3f4f6;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.booking-modal-close:hover {
    background: #e5e7eb;
}

.booking-modal-close svg {
    width: 20px;
    height: 20px;
    stroke: #6b7280;
}

.booking-modal-description {
    padding: 16px 24px;
    background: #f8fafc;
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    border-bottom: 1px solid #e5e7eb;
}

/* Booking Steps */
.booking-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 24px;
    background: #fafbfc;
    border-bottom: 1px solid #e5e7eb;
}

.booking-step {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.booking-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #e5e7eb;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 600;
    color: #9ca3af;
    transition: all 0.2s ease;
}

.booking-step-label {
    font-size: 13px;
    font-weight: 500;
    color: #9ca3af;
    transition: all 0.2s ease;
}

.booking-step.active .booking-step-number {
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
}

.booking-step.active .booking-step-label {
    color: #1a1a2e;
}

.booking-step.completed .booking-step-number {
    background: #10b981;
    color: white;
    font-size: 0;
    line-height: 0;
}

.booking-step.completed .booking-step-number::after {
    content: '';
    width: 14px;
    height: 14px;
    background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.booking-step-line {
    width: 40px;
    height: 2px;
    background: #e5e7eb;
    transition: all 0.2s ease;
}

.booking-step.completed+.booking-step-line {
    background: #10b981;
}

/* Booking Modal Body */
.booking-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.booking-step-content {
    display: none;
    animation: bookingFadeIn 0.3s ease;
}

.booking-step-content.active {
    display: block;
}

@keyframes bookingFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Date Picker */
.booking-date-picker {
    margin-bottom: 20px;
}

.booking-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.booking-timezone-hint {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    margin: 0;
}

.booking-date-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    color: #1a1a2e;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.booking-date-input:focus {
    outline: none;
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

/* Calendar Date Picker (replaces manual date input) */
.booking-calendar {
    margin-bottom: 20px;
}

.booking-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.booking-calendar-month {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: -0.2px;
}

.booking-calendar-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #f8fafc;
    color: #1a1a2e;
    cursor: pointer;
    transition: all 0.2s ease;
}

.booking-calendar-nav-btn:hover:not(:disabled) {
    border-color: #059669;
    background: #f0fdf4;
}

.booking-calendar-nav-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.booking-calendar-dow {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 8px;
}

.booking-calendar-dow span {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.booking-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.booking-calendar-day {
    height: 40px;
    width: 100%;
    padding: 0;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}

.booking-calendar-day.blank {
    border: none;
    background: transparent;
}

.booking-calendar-day.available {
    cursor: pointer;
    transition: all 0.2s ease;
}

.booking-calendar-day.available:hover {
    border-color: #059669;
    background: #f0fdf4;
}

.booking-calendar-day.disabled {
    background: #f8fafc;
    color: #cbd5e1;
    border-color: #eef2f7;
    user-select: none;
}

.booking-calendar-day.today {
    border-color: rgba(5, 150, 105, 0.55);
}

.booking-calendar-day.selected {
    background: linear-gradient(135deg, #059669, #047857);
    border-color: #059669;
    color: #ffffff;
}

.booking-calendar-day.selected:hover {
    background: linear-gradient(135deg, #059669, #047857);
}

/* Time Slots */
.booking-slots-container {
    margin-bottom: 20px;
}

.booking-slots-header {
    margin-bottom: 10px;
}

.booking-slots-header .booking-label {
    margin-bottom: 2px;
}

.booking-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 10px;
}

.booking-slot {
    padding: 12px 8px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a2e;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.booking-slot:hover {
    border-color: #059669;
    background: #f0fdf4;
}

.booking-slot.selected {
    background: linear-gradient(135deg, #059669, #047857);
    border-color: #059669;
    color: white;
}

.booking-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    padding: 20px;
    color: #64748b;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

.booking-loading::before {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid rgba(100, 116, 139, 0.25);
    border-top-color: #059669;
    border-radius: 50%;
    animation: booking-spin 0.8s linear infinite;
}

.booking-loading.booking-loading--error::before {
    content: none;
}

.booking-calendar-grid .booking-loading,
.booking-slots .booking-loading {
    grid-column: 1 / -1;
}

.booking-calendar-grid .booking-loading {
    min-height: 220px;
}

.booking-slots .booking-loading {
    min-height: 64px;
}

.booking-no-slots {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    color: #64748b;
}

.booking-no-slots svg {
    color: #d1d5db;
    margin-bottom: 12px;
}

.booking-no-slots p {
    font-size: 14px;
    margin: 0;
}

/* Booking Form */
.booking-form-group {
    margin-bottom: 20px;
}

.booking-input,
.booking-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    color: #1a1a2e;
    background: white;
    transition: all 0.2s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.booking-input:focus,
.booking-textarea:focus {
    outline: none;
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.booking-input.error,
.booking-textarea.error {
    border-color: #ef4444;
}

.booking-textarea {
    resize: vertical;
    min-height: 80px;
}

.booking-error {
    display: block;
    font-size: 12px;
    color: #ef4444;
    margin-top: 6px;
}

/* Booking Summary */
.booking-summary {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
}

.booking-summary-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.booking-summary-header svg {
    color: #059669;
}

.booking-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 12px;
}

.booking-summary-item:last-child {
    border-bottom: none;
}

.booking-summary-label {
    font-size: 14px;
    color: #64748b;
    flex-shrink: 0;
}

.booking-summary-value {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    text-align: right;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Booking Success */
#bookingSuccess {
    flex: 1;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.booking-success-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
}

.booking-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    border-radius: 50%;
    margin-bottom: 20px;
}

.booking-success-icon svg {
    color: #059669;
}

.booking-success-container h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 12px 0;
}

.booking-success-container p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    max-width: 320px;
    margin: 0;
}

/* Booking Modal Footer */
.booking-modal-footer {
    display: flex;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid #e5e7eb;
    background: #fafbfc;
}

.booking-btn-back {
    flex: 1;
    padding: 14px 20px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.booking-btn-back:hover {
    background: #f8fafc;
    border-color: #d1d5db;
}

.booking-btn-next {
    flex: 2;
    padding: 14px 20px;
    background: linear-gradient(135deg, #059669, #047857);
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.booking-btn-next:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px -4px rgba(5, 150, 105, 0.4);
}

.booking-btn-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.booking-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: booking-spin 0.8s linear infinite;
}

@keyframes booking-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Booking Modal Responsive */
@media screen and (max-width: 900px) {
    .booking-modal-content {
        width: calc(100% - 32px);
        max-width: none;
        max-height: calc(100vh - 32px);
        max-height: calc(100dvh - 32px);
    }
}

@media screen and (max-width: 600px) {
    .booking-modal {
        align-items: stretch;
    }

    .booking-modal-content {
        width: 100%;
        max-width: none;
        height: 100vh;
        height: 100dvh;
        max-height: none;
        border-radius: 0;
    }

    .booking-modal.open .booking-modal-content {
        transform: none;
    }

    .booking-steps {
        padding: 16px;
    }

    .booking-step-label {
        display: none;
    }

    .booking-modal-body {
        padding: 20px 16px;
    }

    .booking-slots {
        grid-template-columns: repeat(3, 1fr);
    }

    .booking-summary-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .booking-summary-value {
        text-align: left;
        width: 100%;
    }
}

@media screen and (max-width: 400px) {
    .booking-slots {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===================================
   Share Toast Notification Styles
   =================================== */

.share-toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.3s ease,
        visibility 0.3s ease;
    pointer-events: none;
}

.share-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.share-toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25),
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    position: relative;
}

.share-toast-icon {
    width: 22px;
    height: 22px;
    stroke: #4ade80;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(74, 222, 128, 0.4));
    animation: checkPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}

@keyframes checkPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.share-toast-message {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.01em;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.share-toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #4ade80 0%, #22c55e 50%, #16a34a 100%);
    border-radius: 0 0 16px 16px;
    width: 100%;
    transform-origin: left;
    animation: progressShrink 3s linear forwards;
}

.share-toast.show .share-toast-progress {
    animation: progressShrink 2.8s linear 0.2s forwards;
}

@keyframes progressShrink {
    0% {
        transform: scaleX(1);
    }

    100% {
        transform: scaleX(0);
    }
}

/* Mobile adjustments for toast */
@media screen and (max-width: 500px) {
    .share-toast {
        bottom: 24px;
        left: 16px;
        right: 16px;
        transform: translateX(0) translateY(120px);
    }

    .share-toast.show {
        transform: translateX(0) translateY(0);
    }

    .share-toast-content {
        padding: 14px 20px;
        border-radius: 14px;
        justify-content: center;
    }

    .share-toast-message {
        font-size: 14px;
    }

    .share-toast-icon {
        width: 20px;
        height: 20px;
    }
}