.icon-verified::before {color: #0095f6;font-size: 1.5rem;content: "\E91D";}
.icon-location-pro::before {font-size: 1.5rem;content: "\E9C4";}
.icon-mobile-pro::before {font-size: 1.5rem;content: "\EBB4";}
.icon-phone-pro::before {font-size: 1.5rem;content: "\E960";}
.icon-working-pro::before {font-size: 1.1rem;content: "\E9DD";}
.icon-instagram-pro::before {font-size: 1.5rem;content: "\E9A7";}
.icon-telegram-pro::before {font-size: 1.5rem;content: "\E981";}

hr {
    border-top: 1px solid #D7D8D9;
}
.container-profile {
    max-width: 1024px;
    width: 100%;
}
.profile-container-header {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
    padding: 16px 16px;
    border-top: 4px solid #007E46;
    border-radius: 8px;
    box-shadow: 0 1px 4px 0 rgba(135, 139, 142, 0.32);
}
.profile-doctor {
    padding-left: 16px;
}
.profile-doctor img {
    width: 140px;
    height: 140px;
    padding: 4px;
    border-radius: 50%;
    border: 1px solid transparent;
    box-shadow: 0 1px 4px 0 rgba(135, 139, 142, 0.32);
}
.profile-info {
    padding-right: 16px;
    width: 100%;
}
.doctornamefamily {
    display: flex;
    align-items: center;
    gap: 8px;
}
.doctornamefamily h1 {
    color: #101828;
    font-size: 1.5rem;
    margin-bottom: 0;
}
.aboutdoctor {
    color: #394C3E;
    margin-top: 16px;
    line-height: 2;
}
.profile-hedbox {
    margin-top: 24px;
}
.rating {
    color: #101828;
    font-size: .875rem;
    border-radius: 4px;
    padding: 3px 10px;
    display: inline-block;
    background-image: linear-gradient(315deg, #ffb300 0%, #ffdd00 74%);
    box-shadow: 0 0 2px 0 rgba(135, 139, 142, 0.32);
}
.doctor-code {
    color: #5F6468;
    font-size: .875rem;
    font-weight: 500;
    display: inline-block;
    float: left;
    border-radius: 4px;
    padding: 3px 10px;
    background: #F8F8F8;
    box-shadow: 0 0 2px 0 rgba(135, 139, 142, 0.32);
}
.doctor-code span {
    color: #007E46;
}
.profile-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.profile-content {
    flex: 0 0 60%;
    max-width: 60%;
    padding-left: 32px;
    position: relative;
    width: 100%;
}
.profile-sidebar {
    flex: 0 0 40%;
    max-width: 40%;
    padding-right: 32px;
    position: relative;
    width: 100%;
}
.profile-comment {
    flex: 0 0 100%;
    max-width: 100%;
    position: relative;
    width: 100%;
}
.card {
    margin-bottom: 32px;
    border: none;
}
.card-header {
    color: #101828;
    font-size: 1.25rem;
    padding: 16px 0;
    background-color: transparent;
    border-bottom: none;
}
.card-body {
    color: #101828;
    line-height: 2;
    padding: 16px 0;
    text-align: justify;
}
.office-address {
    color: #101828;
    font-weight: 500;
    flex-direction: column;
    margin: 16px 0;
}
.office-loc {
    display: flex;
    gap: 16px;
}
.office-loc span {
    color: #5F6468;
    font-size: 1.125rem;
    background: #F8F8F8;
    border-radius: 4px;
    padding: 2px 10px 2px 10px;
}
.datacallpro {
    padding: 4px 0;
    margin: 4px 0;
    display: flex;
    align-items: center;
    gap: 4px;
}
.datacallpro span {
    color: #101828;
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 1px;
}
.working {
    color: #5F6468;
    font-size: .875rem;
    margin: 16px 0;
}
.btn-whatsapp {
    color: #fff;
    font-weight: 500;
    background-color: #02B559;
    border-radius: 4px;
    margin-top: 32px;
    line-height: 40px;
    transition: 0.36s ease;
}
.btn-whatsapp:hover {
    color: #fff;
    opacity: 0.8;
}
.map-box {
    width: 100%;
    height: 200px;
    background: #F8F8F8 !important;
    border-radius: 6px;
    margin-top: 16px;
}
.links-box {
    margin: 32px 0;
}
.datalinkpro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 16px 5px;
}
.linkpro {
    color: #5F6468;
    font-size: .875rem;
}
.datalink, .datalink a {
    color: #007E46;
    font-size: .875rem;
}
.social-media a {
    display: flex;
    align-items: center;
    padding: 16px;
    color: #fff;
    font-size: .875rem;
    margin-bottom: 24px;
    gap: 4px;
}
.instagram-box {
    background: radial-gradient(circle at 33% 100%, #f07e47 4%, #f15245 30%, #d92e7f 62%, #9b36b7 85%, #515ecf);
    border-radius: 4px;
}
.telegram-box {
    background-image: linear-gradient(120deg, #03c1ff, #0391ff);
    border-radius: 4px;
}
.about-text-wrapper {
    max-height: 110px;
    margin-bottom: 32px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.about-text-wrapper.expanded {
    max-height: 1000px;
}
.fade-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 90px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 0;
}
.see-more-btn {
    color: #007E46;
    font-size: .875rem;
    font-weight: 500;
    display: none;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: transparent;
    border: none;
    cursor: pointer;
    z-index: 2;
}
.about-text-wrapper.expanded .see-more-btn {
    display: block;
}
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    grid-gap: 16px;
}
.gallery-item {
    max-width: 200px;
    min-width: 160px;
    height: 160px;
    object-fit: cover;
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.36s ease;
    opacity: 0.8;
}
.gallery-item:hover {
    opacity: unset;
}
.image-viewer-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}
.image-viewer-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}
.image-viewer-content img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 12px;
}
.viewer-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: white;
    cursor: pointer;
    padding: 10px;
    user-select: none;
}
.viewer-prev { left: 10px; }
.viewer-next { right: 10px; }
.viewer-close {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 30px;
    color: white;
    cursor: pointer;
}
.doctor-reviews {
    margin-top: 32px;
}
.review-form input,
.review-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    border: 1px solid #F8F8F8;
    background: #F8F8F8;
}
.review-form button {
    padding: 8px 16px;
    background: #007E46;
    border: none;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.36s ease;
}
.review-form button:hover {
    background-color: #006C47;
}
.star-rating {
    float: left;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
    margin-bottom: 16px;
}
.star-rating span {
    font-size: 30px;
    cursor: pointer;
    color: #D7D8D9;
    transition: color 0.2s;
}
.star-rating span.selected {
    color: #ffb300;
}
.review-box {
    padding: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
}
.review-box .rating {
    color: #f9bc00;
    font-size: 1.125rem;
    background: #F8F8F8;
    box-shadow: unset;
    margin: 5px 5px;
    padding: 0px 5px;
}
.review-box  strong {
    color: #007E46;
    font-weight: 500;
}
.review-date {
    font-size: 12px;
    color: #5F6468;
}
.success-message {
    color: green;
    margin-top: 10px;
}
.error-message {
    color: red;
    margin-top: 10px;
}
.rating-text {
    padding: 0 16px;
}
.review-messages {
    margin-bottom: 10px;
}
.review-messages p {
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
    margin: 5px 0;
}
.review-messages p.error-message {
    background-color: #ffe5e5;
    color: #d9534f;
    border: 1px solid #d9534f;
}
.review-messages p.success-message {
    background-color: #e5ffe5;
    color: #28a745;
    border: 1px solid #28a745;
}

@media (max-width: 768px) {
    .profile-content, .profile-sidebar {
        flex: none;
        max-width: 100%;
        padding: 0;
    }
    .map-box {
        height: 250px;
    }
    .profile-container-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 12px;
    }
    .profile-doctor {
        margin-bottom: 16px;
        padding: 0;
        align-self: center;
    }
    .profile-info {
        padding-right: 0;
    }
    .doctornamefamily h1 {
        font-size: 1.25rem;
    }
    .about-text-wrapper {
        max-height: 100px;
    }
    .fade-overlay {
        height: 100px;
    }
    .card-header {
        font-size: 1.15rem;
    }
    .rating-text {
        padding-left: 16px;
        font-size: .875rem;
    }
}
