/*@font-face {
    font-family: Shabnam;
    src: url('../fonts/sh/Shabnam.eot');
    src: url('../fonts/sh/Shabnam.eot?#iefix') format('FontName-opentype'), url('../fonts/sh/Shabnam.woff') format('woff'), url('../fonts/sh/Shabnam.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: Samim;
    src: url('../fonts/samim/Samim.eot');
    src: url('../fonts/samim/Samim.eot?#iefix') format('FontName-opentype'), url('../fonts/samim/Samim.woff') format('woff'), url('../fonts/samim/Samim.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: Yekan;
    src: url('/Content/fonts/yekan/Yekan.eot');
    src: url('/Content/fonts/yekan/Yekan.eot?#iefix') format('FontName-opentype'), url('/Content/fonts/yekan/Yekan.woff') format('woff'), url('/Content/fonts/yekan/Yekan.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: Parastoo;
    src: url('../fonts/p/Parastoo.eot');
    src: url('../fonts/p/Parastoo.eot?#iefix') format('FontName-opentype'), url('../fonts/p/Parastoo.woff') format('woff'), url('../fonts/p/Parastoo.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}*/

@font-face {
    font-family: Vazir;
    src: url('../fonts/vazir/Vazir-FD.eot');
    src: url('../fonts/vazir/Vazir-FD.eot?#iefix') format('FontName-opentype'), url('../fonts/vazir/Vazir-FD.woff') format('woff'), url('../fonts/vazir/Vazir-FD.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

.main-wrapper {
    overflow-x: hidden;
    max-width: 100%;
}

body, a, p {
    font-family: Vazir, Tahoma;
    font-weight: normal;
    font-size: 14px;
    letter-spacing: normal;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6,
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, .h1 a, .h2 a, .h3 a, .h4 a, .h5 a, .h6 a {
    font-family: Vazir, Arial;
}

.dir-left {
    direction: ltr;
    text-align: left;
    display: inline-block;
}

body header {
    z-index: 7;
}

section {
    background: none;
}

.order-box {
}

/*.bg-primary {
    background-color: #4670CE;
}*/
.header-style3 .navbar-default {
    /*background-color: #4670CE;*/
    background-image: linear-gradient(120deg, #fff 86%, #4670CE 30%);
    /*color:#fff;*/
}

.navbar-nav > li > a {
    /*color:#fff;*/
}

.attr-nav > ul > li > a.butn {
    font-size: 15px;
}

.menu_area .butn {
    padding: 15px 12px;
}

.menu_area .teb20-mobile-nav-header {
    display: none;
}

@media screen and (min-width: 992px) {
    .header-style3 .navbar-default {
        background-image: linear-gradient(120deg, #fff 86%, #4670CE 30%);
    }

    .menu_area .navbar {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        min-height: 0;
    }

    .menu_area .navbar-header-custom {
        display: block !important;
        float: none;
        flex: 0 0 auto;
        padding: 6px 0 !important;
    }

        .menu_area .navbar-header-custom .navbar-brand img {
            max-height: 36px;
        }

    .menu_area .navbar-nav#nav {
        display: flex !important;
        flex: 1 1 auto;
        justify-content: center;
        align-items: center;
        float: none;
        position: static;
        top: auto;
        right: auto;
        left: auto;
        width: auto;
        margin: 0 !important;
        padding: 0;
        border: none;
        border-radius: 0;
        box-shadow: none;
        text-align: center;
        max-height: none;
        overflow: visible;
    }

        .menu_area .navbar-nav#nav > li {
            display: block;
            float: none;
            width: auto;
            border: none;
            margin-left: 6px;
        }

        .menu_area .navbar-nav#nav > li.teb20-mobile-nav-header {
            display: none !important;
        }

            .menu_area .navbar-nav#nav > li > a {
                padding: 8px 0.45rem !important;
                font-size: 14px;
                letter-spacing: 0;
                text-transform: none;
            }

    .menu_area .attr-nav {
        float: none !important;
        flex: 0 0 auto;
        align-self: center;
        margin: 0 !important;
    }

        .menu_area .attr-nav > ul > li > a.butn {
            padding: 6px 10px !important;
            font-size: 14px;
        }

    .menu_area li.user-nav .dropdown-toggle {
        padding: 6px 10px !important;
        align-items: center;
    }

    .menu_area li.user-nav .user-nav__label {
        display: inline;
        max-width: 180px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        vertical-align: middle;
    }

    .menu_area .butn {
        padding: 8px 12px;
    }

    .menu_area .navbar-toggler,
    .menu_area .teb20-nav-toggler {
        display: none !important;
    }
}

@media screen and (max-width: 991px) {
    .header-style3 {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1050;
        padding-top: env(safe-area-inset-top, 0px);
    }

    .header-style3 .navbar-default {
        background-image: linear-gradient(120deg, #fff 84%, #4670CE 30%);
        background-color: #fff;
        box-shadow: 0 1px 10px rgba(15, 23, 42, 0.08);
    }

    .menu_area .navbar {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        position: relative;
        width: 100%;
        min-height: 48px;
        padding: 6px 0;
    }

    .menu_area .navbar-header-custom {
        display: none !important;
    }

    .menu_area .attr-nav {
        float: none;
        margin: 0 !important;
        order: 2;
        flex: 0 1 auto;
        margin-left: auto !important;
        margin-right: 0 !important;
    }

        .menu_area .attr-nav > ul {
            margin: 0;
            padding: 0;
        }

            .menu_area .attr-nav > ul > li > .butn {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                padding: 8px 12px;
                font-size: 0.8rem;
                border-radius: 10px;
                white-space: nowrap;
            }

    .menu_area .teb20-mobile-header-brand {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        order: 1;
        flex-shrink: 0;
    }

    .menu_area .teb20-mobile-header-brand__name {
        font-size: 1.125rem;
        font-weight: 700;
        color: #4670CE;
        text-decoration: none;
        line-height: 1;
        letter-spacing: -0.02em;
    }

    .menu_area .teb20-app-profile-link {
        display: none;
        align-items: center;
        justify-content: center;
        order: 2;
        flex: 0 0 38px;
        width: 38px;
        height: 38px;
        margin-inline-start: auto;
        border-radius: 12px;
        background: #f3f6ff;
        color: #4670CE;
        text-decoration: none;
        box-shadow: 0 2px 8px rgba(70, 112, 206, 0.14);
        border: 0;
        padding: 0;
        cursor: pointer;
    }

    body[data-doctor-nav="true"] .menu_area .teb20-app-profile-link {
        display: inline-flex;
    }

    .teb20-android-app .menu_area .teb20-app-profile-link {
        display: inline-flex;
    }

    .teb20-android-app .teb20-app-nav,
    .teb20-android-app .teb20-footer-toggle,
    .teb20-android-app .home-footer-toggle-wrap,
    .teb20-android-app .teb20-bottom-nav,
    .teb20-android-app .teb20-app-install-prompt {
        display: none !important;
    }

    .menu_area .teb20-nav-toggler {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        flex: 0 0 44px;
        flex-shrink: 0;
        margin: 0;
        padding: 0;
        border: none;
        background: #34c5a1 !important;
        border-radius: 8px;
        width: 44px;
        height: 40px;
        color: #fff;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        box-shadow: 0 2px 8px rgba(52, 197, 161, 0.35);
    }

    .teb20-nav-toggler__bars {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        width: 18px;
    }

        .teb20-nav-toggler__bars span {
            display: block;
            height: 2px;
            background: #fff;
            border-radius: 1px;
        }

    .menu_area .teb20-nav-toggler.is-open {
        background: #2eb392 !important;
    }

        .menu_area .teb20-nav-toggler.is-open .teb20-nav-toggler__bars span:nth-child(1) {
            transform: translateY(6px) rotate(45deg);
        }

        .menu_area .teb20-nav-toggler.is-open .teb20-nav-toggler__bars span:nth-child(2) {
            opacity: 0;
        }

        .menu_area .teb20-nav-toggler.is-open .teb20-nav-toggler__bars span:nth-child(3) {
            transform: translateY(-6px) rotate(-45deg);
        }

        .menu_area .teb20-nav-toggler.is-open .teb20-nav-toggler__bars span {
            transition: transform 0.2s ease, opacity 0.2s ease;
        }

    .menu_area .navbar-nav#nav {
        display: block;
        order: 3;
        flex: 0 0 auto;
        width: min(82vw, 320px);
        height: 100vh;
        height: 100dvh;
        position: fixed;
        top: 0;
        bottom: 0;
        right: 0;
        left: auto;
        margin-top: 0;
        padding: calc(env(safe-area-inset-top, 0px) + 0.75rem) 0.75rem 1rem;
        border: 1px solid rgba(70, 112, 206, 0.18);
        border-radius: 0 0 0 18px;
        background: #fff;
        box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
        z-index: 1080;
        text-align: right;
        max-height: none;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateX(110%);
        transition: transform 0.24s ease, opacity 0.2s ease, visibility 0.2s ease;
    }

    .menu_area .navbar-nav#nav.open {
        display: block !important;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0);
    }

    .menu_area .navbar-nav#nav > li {
        border-top: none;
        margin: 0;
        width: 100%;
    }

    .menu_area .navbar-nav#nav > li.teb20-mobile-nav-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        margin-bottom: 0.75rem;
        padding: 0.2rem 0 0.7rem;
        border-bottom: 1px solid rgba(70, 112, 206, 0.14);
    }

    .menu_area .teb20-mobile-nav-title {
        color: #4670CE;
        font-size: 1.15rem;
        font-weight: 800;
        line-height: 1;
    }

    .menu_area .teb20-mobile-nav-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        padding: 0;
        border: none;
        border-radius: 10px;
        background: #34c5a1;
        color: #fff;
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(52, 197, 161, 0.28);
        -webkit-tap-highlight-color: transparent;
    }

        .menu_area .navbar-nav#nav > li > a {
            display: block;
            padding: 0.7rem 0.35rem;
            color: #334155;
            font-weight: 600;
            border-radius: 8px;
        }

            .menu_area .navbar-nav#nav > li > a:hover {
                background: #f1f5f9;
                color: #4670CE;
            }
}

/* منوی پایین موبایل (_NewLayout) */
.teb20-bottom-nav {
    display: none;
    --teb20-nav-brand: #4670CE;
    --teb20-nav-brand-light: #5a84e8;
    --teb20-nav-muted: #94a3b8;
    --teb20-nav-surface: rgba(255, 255, 255, 0.82);
}

body:has(.main-wrapper) {
    padding-bottom: 0;
}

@keyframes teb20-nav-home-glow {
    0%, 100% {
        box-shadow:
            0 0 0 4px rgba(255, 255, 255, 0.95),
            0 8px 24px rgba(70, 112, 206, 0.38),
            0 2px 8px rgba(70, 112, 206, 0.18);
    }

    50% {
        box-shadow:
            0 0 0 4px rgba(255, 255, 255, 0.95),
            0 10px 30px rgba(70, 112, 206, 0.48),
            0 0 20px rgba(90, 132, 232, 0.25);
    }
}

@media only screen and (max-width: 991px) {
    body:has(.main-wrapper) {
        padding-top: calc(60px + env(safe-area-inset-top, 0px));
        padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
    }

    body.teb20-android-app:has(.main-wrapper) {
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    body:has(.main-wrapper) .teb20-bottom-nav {
        display: block;
        position: fixed;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        left: 14px;
        right: 14px;
        z-index: 1040;
        max-width: 480px;
        margin: 0 auto;
        border-radius: 26px;
        background: var(--teb20-nav-surface);
        -webkit-backdrop-filter: blur(22px) saturate(165%);
        backdrop-filter: blur(22px) saturate(165%);
        border: 1px solid rgba(255, 255, 255, 0.72);
        box-shadow:
            0 10px 40px rgba(15, 23, 42, 0.12),
            0 2px 8px rgba(15, 23, 42, 0.06),
            inset 0 1px 0 rgba(255, 255, 255, 0.92);
    }

    .teb20-bottom-nav__list {
        display: flex;
        align-items: flex-end;
        justify-content: space-around;
        margin: 0;
        padding: 8px 10px 10px;
        list-style: none;
        min-height: 64px;
        position: relative;
    }

    .teb20-bottom-nav__item {
        flex: 1;
        max-width: 76px;
        text-align: center;
        position: relative;
    }

    .teb20-bottom-nav__item > a,
    .teb20-bottom-nav__trigger,
    .teb20-bottom-nav__trigger-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        gap: 4px;
        min-height: 54px;
        padding: 4px 6px 2px;
        text-decoration: none;
        color: var(--teb20-nav-muted);
        border-radius: 16px;
        transition:
            color 0.28s cubic-bezier(0.4, 0, 0.2, 1),
            transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
        -webkit-tap-highlight-color: transparent;
        background: none;
        border: none;
        width: 100%;
        cursor: pointer;
        font-family: inherit;
        position: relative;
    }

    .teb20-bottom-nav__icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 34px;
        border-radius: 14px;
        position: relative;
        z-index: 1;
        transition:
            background 0.28s cubic-bezier(0.4, 0, 0.2, 1),
            color 0.28s cubic-bezier(0.4, 0, 0.2, 1),
            transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    }

        .teb20-bottom-nav__icon i {
            font-size: 1.22rem;
            line-height: 1;
            transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .teb20-bottom-nav__icon .fab {
            font-family: "Font Awesome 5 Brands";
            font-weight: 400;
        }

    .teb20-bottom-nav__label {
        font-size: 0.64rem;
        font-weight: 500;
        line-height: 1.15;
        letter-spacing: 0.01em;
        white-space: nowrap;
        transition:
            color 0.28s ease,
            font-weight 0.28s ease,
            opacity 0.28s ease;
        opacity: 0.88;
    }

    .teb20-bottom-nav__item > a:active,
    .teb20-bottom-nav__trigger:active,
    .teb20-bottom-nav__trigger-link:active {
        transform: scale(0.94);
    }

    .teb20-bottom-nav__item.is-active > a,
    .teb20-bottom-nav__item.is-active > .teb20-bottom-nav__trigger,
    .teb20-bottom-nav__item.is-active > .teb20-bottom-nav__trigger-link,
    .teb20-bottom-nav__item.is-sheet-open > .teb20-bottom-nav__trigger {
        color: var(--teb20-nav-brand);
    }

        .teb20-bottom-nav__item.is-active .teb20-bottom-nav__label,
        .teb20-bottom-nav__item.is-sheet-open .teb20-bottom-nav__label {
            font-weight: 700;
            opacity: 1;
        }

        .teb20-bottom-nav__item.is-active .teb20-bottom-nav__icon,
        .teb20-bottom-nav__item.is-sheet-open .teb20-bottom-nav__icon {
            background: linear-gradient(145deg, rgba(70, 112, 206, 0.16) 0%, rgba(90, 132, 232, 0.1) 100%);
            color: var(--teb20-nav-brand);
            transform: translateY(-1px);
        }

            .teb20-bottom-nav__item.is-active .teb20-bottom-nav__icon i,
            .teb20-bottom-nav__item.is-sheet-open .teb20-bottom-nav__icon i {
                transform: scale(1.06);
            }

        .teb20-bottom-nav__item.is-active .teb20-bottom-nav__label::after,
        .teb20-bottom-nav__item.is-sheet-open .teb20-bottom-nav__label::after {
            content: '';
            display: block;
            width: 4px;
            height: 4px;
            margin: 3px auto 0;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--teb20-nav-brand) 0%, var(--teb20-nav-brand-light) 100%);
            box-shadow: 0 0 6px rgba(70, 112, 206, 0.45);
        }

    .teb20-bottom-nav__item--home {
        position: relative;
        max-width: 84px;
    }

        .teb20-bottom-nav__item--home > a {
            justify-content: flex-end;
            padding-bottom: 0;
        }

    .teb20-bottom-nav__home-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 56px;
        height: 56px;
        margin-top: -26px;
        margin-bottom: 0;
        border-radius: 50%;
        background: linear-gradient(155deg, #3d66c4 0%, var(--teb20-nav-brand) 38%, var(--teb20-nav-brand-light) 100%);
        color: #fff;
        box-shadow:
            0 0 0 4px rgba(255, 255, 255, 0.95),
            0 8px 24px rgba(70, 112, 206, 0.38),
            0 2px 8px rgba(70, 112, 206, 0.18);
        transition:
            transform 0.28s cubic-bezier(0.34, 1.4, 0.64, 1),
            box-shadow 0.28s ease;
        position: relative;
        overflow: hidden;
    }

        .teb20-bottom-nav__home-btn::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: inherit;
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, transparent 48%);
            pointer-events: none;
        }

        .teb20-bottom-nav__home-btn i {
            font-size: 1.4rem;
            line-height: 1;
            position: relative;
            z-index: 1;
            filter: drop-shadow(0 1px 2px rgba(15, 23, 42, 0.15));
        }

    .teb20-bottom-nav__item--home.is-active .teb20-bottom-nav__home-btn {
        transform: scale(1.06) translateY(-2px);
        animation: teb20-nav-home-glow 2.8s ease-in-out infinite;
    }

    .teb20-bottom-nav__item--home > a:active .teb20-bottom-nav__home-btn {
        transform: scale(0.92);
        animation: none;
    }

    .teb20-bottom-nav__item--home.is-active > a {
        color: var(--teb20-nav-brand);
    }

        .teb20-bottom-nav__item--home.is-active .teb20-bottom-nav__label::after {
            display: none;
        }

    body:has(.main-wrapper) .scroll-to-top {
        bottom: calc(100px + env(safe-area-inset-bottom, 0px));
    }

    @media (prefers-reduced-motion: reduce) {
        .teb20-bottom-nav__item--home.is-active .teb20-bottom-nav__home-btn {
            animation: none;
        }

        .teb20-bottom-nav__item > a,
        .teb20-bottom-nav__trigger,
        .teb20-bottom-nav__trigger-link,
        .teb20-bottom-nav__icon,
        .teb20-bottom-nav__icon i,
        .teb20-bottom-nav__label,
        .teb20-bottom-nav__home-btn {
            transition: none;
        }
    }
}

ul.breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    max-width: 100%;
    margin: 0;
    padding: 0.55rem 0.85rem;
    border: 1px solid rgba(70, 112, 206, 0.12);
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.92));
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
}

    ul.breadcrumbs li {
        display: inline-flex;
        align-items: center;
        min-width: 0;
        color: #64748b;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.7;
    }

        ul.breadcrumbs li a {
            color: #4670CE;
            font-size: 12px;
            font-weight: 800;
            text-decoration: none;
            transition: color 0.18s ease;
        }

        ul.breadcrumbs li a:hover,
        ul.breadcrumbs li a:focus {
            color: #0d9488;
        }

        ul.breadcrumbs li i {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 20px;
            height: 20px;
            margin: 0 8px;
            border-radius: 50%;
            background: rgba(70, 112, 206, 0.08);
            color: #4670CE;
            font-size: 10px;
            line-height: 1;
        }

        ul.breadcrumbs li:last-child {
            max-width: 260px;
            overflow: hidden;
            color: #0f172a;
            text-overflow: ellipsis;
        }

@media (max-width: 991px) {
    ul.breadcrumbs {
        width: 100%;
        padding: 0.5rem 0.75rem;
    }

        ul.breadcrumbs li:last-child {
            max-width: 180px;
        }
}


.home-search .d-table,
.home-search .d-table-cell,
.home-search .row > [class*="col-"] {
    max-width: 100%;
    min-width: 0;
}

.hs-container {
    min-height: 0;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 18px;
    background: #fff;
    margin-bottom: 16px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    position: relative;
    display: block;
}

.home-search .hs-container {
    padding: 14px 20px;
    margin-bottom: 12px;
}

    .hs-container.open {
        min-height: 0;
    }

    .hs-container .hs-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,.15);
        z-index: 10;
        display: none;
    }

    .hs-container.open .hs-overlay {
        display: block;
    }

/* Home Styles */
.hs-box {
    border: 1px solid #e4e4e4;
    border-radius: 10px;
    position: relative;
    background: #fff;
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

    .hs-box .hs-result {
        background-color: #fff;
        display: none;
        transition: 0.3s all;
        opacity: 0;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

.search-page .hs-box.open {
    min-height: auto;
    height: auto;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
    transition: 0.5s all;
    position: absolute;
    z-index: 11;
    width: calc(100% - 80px);
}

.search-page .hs-box.open .hs-result {
    min-height: auto;
}

.hs-box.open .hs-result {
    display: block;
    transition: 0.5s all;
    opacity: 1;
    display: block;
    border-top: 1px solid #e4e4e4;
    min-height: auto;
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

.hs-box .input input {
    border: 0;
    width: 100%;
    padding-right: 30px;
}

    .hs-box .input input::placeholder {
        color: #808080;
    }


.hs-box .input .hs-back {
    border: 0;
    background: transparent;
    position: absolute;
    top: 20px;
    right: 10px;
    color: #000;
    opacity: 0.5;
    display: none;
}

.hs-box .input .hs-icon {
    border: 0;
    background: transparent;
    position: absolute;
    top: 20px;
    right: 10px;
    color: #000;
    opacity: 0.5;
}

.hs-box .input .hs-clear, .input .hs-clear {
    position: absolute;
    color: #000;
    opacity: 0.5;
    top: 20px;
    display: none;
}

.input .hs-clear {
    left: 20px;
}

.hs-box .input .btn-close {
    left: 15px;
}

.hs-box.open .input .btn-close {
    display: block;
}

.hs-box .input .btn-back {
    right: 10px;
}

.hs-box .city {
    width: auto;
    cursor: pointer;
    border-right: 1px solid #e4e4e4;
    border-bottom-left-radius: 10px;
    border-top-left-radius: 10px;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

    .hs-box .city:hover {
        background-color: aliceblue;
    }

    .hs-box .city i {
        margin-right: 6px;
    }

.hs-title {
    font-size: 14px;
    font-weight: 600;
    text-align: right;
    line-height: 21px;
    font-style: normal;
    margin: 0;
    padding: 1em 1em 0;
    display: inline-block;
    color: #4670CE;
}

.hs-list .btn-link {
    float: left;
    color: #4670CE;
    margin: 5px;
    padding: 5px;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

    .hs-list .btn-link:hover {
        color: #34c5a1;
    }

    .hs-list .btn-link i {
        margin-right: 0;
        margin-left: 15px;
        transition: 1s all;
    }

    .hs-list .btn-link:hover i {
        margin-right: 10px;
        margin-left: 5px;
        transition: 1s all;
    }

.hs-result .searching {
    display: none;
    margin: 10px;
}

.hs-result ul.hs-tags:not(#hsFavoriteDoctorsList) {
    list-style: none;
    margin: 0;
    padding: 1em;
}

    .hs-result ul.hs-tags:not(#hsFavoriteDoctorsList) li {
        display: inline-block;
        border: 1px solid #e4e4e4;
        border-radius: 5px;
        margin-bottom: 7px;
        margin-left: 6px;
    }

        .hs-result ul.hs-tags:not(#hsFavoriteDoctorsList) li a {
            /*color: #000;*/
            color: #4670CE;
            font-weight: 300;
            font-size: 0.8em;
        }

.hs-result ul.hs-list li a {
    color: #000;
}

.hs-favorite-doctors {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    contain: inline-size;
}

    .hs-favorite-doctors .hs-title {
        padding-top: 0.65em;
        padding-bottom: 0.1em;
        line-height: 1.2;
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

.hs-favorite-doctors .hs-tags {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
    width: auto;
    max-width: none;
    direction: rtl;
    vertical-align: top;
}

.hs-favorite-doctors-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    position: relative;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.hs-favorite-doctors-scroll {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    direction: rtl;
    cursor: grab;
    user-select: none;
    touch-action: pan-x;
    padding: 0 1em 0.2em;
    box-sizing: border-box;
}

.hs-favorite-doctors-wrap.has-overflow .hs-favorite-doctors-scroll {
    padding-inline: 1.85rem;
}

    .hs-favorite-doctors-scroll.is-dragging {
        cursor: grabbing;
        scroll-behavior: auto;
    }

        .hs-favorite-doctors-scroll.is-dragging .hs-favorite-doctor-tag {
            pointer-events: none;
        }

    .hs-favorite-doctors-scroll::-webkit-scrollbar {
        display: none;
    }

.hs-favorite-doctors-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(70, 112, 206, 0.18);
    box-shadow: 0 2px 8px rgba(70, 112, 206, 0.12);
    color: #4670CE;
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    transition: opacity 0.2s ease, box-shadow 0.2s ease;
}

    .hs-favorite-doctors-nav:hover:not(.is-disabled):not(.is-hidden) {
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
    }

    .hs-favorite-doctors-nav.is-hidden {
        opacity: 0;
        pointer-events: none;
    }

    .hs-favorite-doctors-nav.is-disabled {
        opacity: 0.35;
        pointer-events: none;
        cursor: default;
    }

.hs-favorite-doctors-nav--prev {
    right: 0.35rem;
    left: auto;
}

.hs-favorite-doctors-nav--next {
    left: 0.35rem;
    right: auto;
}

.hs-favorite-doctors .hs-favorite-doctor-item {
    display: block;
    flex: 0 0 auto;
    border: 1px solid #e4e4e4;
    border-radius: 4px;
    margin-bottom: 3px;
    margin-left: 5px;
    line-height: 1;
}

.hs-favorite-doctor-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
    color: #4670CE;
    font-weight: 400;
    font-size: 0.75em;
    background: transparent;
    border: 0;
    padding: 0.12em 0.4em 0.12em 0.28em;
    cursor: pointer;
    line-height: 1.15;
    white-space: nowrap;
    vertical-align: middle;
    touch-action: manipulation;
}

    .hs-favorite-doctor-tag:hover,
    .hs-favorite-doctor-tag:focus-visible {
        color: #34c5a1;
        outline: none;
    }

.hs-favorite-doctor-tag__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #eef3ff;
    border: 1px solid #e4e4e4;
}

    .hs-favorite-doctor-tag__avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        pointer-events: none;
        -webkit-user-drag: none;
        user-drag: none;
    }

.hs-favorite-doctor-tag__fallback {
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #64748b;
    font-size: 0.55rem;
}

    .hs-favorite-doctor-tag__fallback.is-visible {
        display: flex;
    }

.hs-favorite-doctor-tag__name {
    font-weight: 400;
    max-width: 5.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hs-result .list-group {
    width: 100%;
}

.hs-result .list-group-item {
    border-left: 0px;
    border-right: 0px;
    border-top: 0px;
    padding: 0;
}

    .hs-result .list-group-item a, .hs-result .list-group-item span {
        padding: 8px 16px;
        display: block;
    }

.sc-input, .sp-input, .sv-input {
    position: relative;
}

    .sc-input .sc-clear, .sp-input .sp-clear, .sv-input .sv-clear, .Center-input .Center-clear {
        position: absolute;
        left: 10px;
        top: 10px;
        display: none;
    }

.search-sidebar .widget {
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: rgba(149,157,165,0.2) 0px 8px 24px;
    border: 1px solid #e4e4e4;
    border-radius: 10px;
}

    .search-sidebar .widget:last-child {
        margin-bottom: 0
    }

.mobile-filters select {
    width: auto;
}

.mob-filter {
    padding: .375rem .75rem .375rem .75rem;
    margin-right: 10px;
    text-align: center;
}

.form-select {
    font-size: 13px;
}

.filter-tags {
}

    .filter-tags li {
        display: inline-block;
    }

    .filter-tags span {
        background-color: rgba(70,112,206,0.1);
        border-radius: 10px;
        padding: 8px 12px;
        font-size: 13px;
        color: #4670CE;
        font-weight: 600;
        line-height: 20px;
        margin: 0 0 0.6rem 0.6rem;
        display: inline-block;
    }

    .filter-tags .remove-filter {
        font-size: 12px;
        display: inline-block;
        margin-right: 8px;
        color: #ff0000;
    }

.sp-filter, .sv-filter {
    width: 70%;
    display: inline-block;
    overflow-x: hidden;
    white-space: nowrap;
}

.s-item {
    margin-bottom: 10px;
}

    .s-item .h6 {
        font-size: 14px;
        margin-bottom: 15px;
        margin-top: 5px;
    }

    .s-item p {
        font-size: 12px;
        color: rgb(52, 64, 84);
        margin-bottom: 7px;
    }

.sd-image {
    width: 98px;
    height: 98px;
}

    .sd-image img {
        width: 98px;
        height: 98px;
        object-fit: cover;
    }

.s-item .si-icon {
    margin-left: 10px;
}

    .s-item .si-icon i {
        font-size: 1.1em;
    }

.si-item .si-reserves {
    margin-right: 5px;
}

.si-city i {
    margin-bottom: 3px;
}

.si-city .cti {
    /*    border:1px solid #34c5a1;
    color:#34c5a1;
    padding: 2px 8px;*/
    margin-left: 5px;
    /*border-radius:10px;*/
}

#preloader.partial {
    position: relative;
}

.swtch-type {
    font-size: 14px;
    border-bottom: 1px solid #4670CE;
    margin-bottom: 5px;
    padding: 8px 24px;
    color: #4670CE;
}

.butn-style01.white.swtch-type:hover span {
    color: #fff;
}

.btn.s-sort {
    text-decoration: none;
    color: rgb(52, 64, 84);
    font-size: 12px;
}

    .btn.s-sort:hover {
        color: #004fff;
    }

    .btn.s-sort.active {
        color: #4670CE;
    }


.search-loader {
}

.loading-item {
    width: 100%;
    background: #e4e4e4;
    display: block;
    min-height: 20px;
}

.sd-image .loading-item {
    height: 100%;
}

.pagination ul li {
    height: 48px;
}

    .pagination ul li a {
        height: 100%;
        display: flex;
        align-items: center;
    }


@keyframes placeHolderShimmer {
    0% {
        background-position: -468px 0
    }

    100% {
        background-position: 468px 0
    }
}

.loading-item {
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-name: placeHolderShimmer;
    animation-timing-function: linear;
    background: #f6f7f8;
    background: linear-gradient(to right, #eeeeee 8%, #dddddd 18%, #eeeeee 33%);
    background-size: 800px 104px;
    position: relative;
}


@media screen and (max-width: 575px) {
    .search-sidebar .widget {
        padding: 20px
    }
}

#cityList .accordion-body {
    padding: 0;
}

/* مودال انتخاب شهر */
/* قاب اصلی مودال */
#cityModal .modal-dialog {
    max-width: 430px;
}

#cityModal .modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

/* هدر و عنوان مودال */
#cityModal .modal-header {
    border-bottom: 1px solid #edf2f7;
    padding: 1.05rem 1.2rem 0.95rem;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

#cityModal .modal-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1e293b;
}

#cityModal .btn-close {
    opacity: 0.55;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

    #cityModal .btn-close:hover {
        opacity: 1;
        transform: scale(1.05);
    }

/* بدنه و اسکرول داخلی مودال */
#cityModal .modal-body {
    padding: 1rem 1.1rem 1.15rem;
    background: #fff;
    max-height: min(72vh, 640px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

    #cityModal .modal-body::-webkit-scrollbar {
        width: 6px;
    }

    #cityModal .modal-body::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 999px;
    }

/* باکس جستجوی شهر */
#cityModal .sc-input {
    margin-bottom: 0.85rem;
}

    #cityModal .sc-input::before {
        content: "\f002";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: #94a3b8;
        font-size: 0.85rem;
        pointer-events: none;
        z-index: 2;
    }

#cityModal #SearchCity {
    height: 46px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    padding-right: 2.5rem;
    padding-left: 2.4rem;
    font-size: 0.92rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

    #cityModal #SearchCity:focus {
        border-color: #4670CE;
        background: #fff;
        box-shadow: 0 0 0 4px rgba(70, 112, 206, 0.12);
    }

#cityModal .sc-clear {
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 1.65rem;
    height: 1.65rem;
    padding: 0;
    background: #e2e8f0 !important;
    border-radius: 50%;
    opacity: 1;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
    background-image: none !important;
}

    #cityModal .sc-clear::before,
    #cityModal .sc-clear::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 11px;
        height: 2px;
        border-radius: 999px;
        background: #64748b;
    }

    #cityModal .sc-clear::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    #cityModal .sc-clear::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    #cityModal .sc-clear:hover {
        background: #cbd5e1 !important;
    }

/* نتیجه‌های جستجو */
#cityModal .sc-result {
    margin-bottom: 0.65rem;
}

    #cityModal .sc-result .list-group-item {
        border: 0;
        border-radius: 10px;
        margin-bottom: 0.25rem;
        padding: 0;
        overflow: hidden;
    }

        #cityModal .sc-result .list-group-item a {
            display: block;
            padding: 0.72rem 0.95rem;
            color: #334155;
            text-decoration: none;
            transition: background 0.18s ease, color 0.18s ease;
        }

        #cityModal .sc-result .list-group-item:hover a {
            background: #f1f5f9;
            color: #4670CE;
        }

#cityModal .city-list > .list-group {
    margin-bottom: 0.65rem;
}

/* گزینه همه شهرها */
#cityModal .sc-all {
    border: 1px solid #dbeafe;
    border-radius: 12px;
    background: linear-gradient(90deg, #f0f6ff 0%, #ffffff 100%);
    overflow: hidden;
}

    #cityModal .sc-all a {
        display: flex;
        align-items: center;
        padding: 0.82rem 1rem;
        color: #4670CE;
        font-weight: 700;
        text-decoration: none;
    }

        #cityModal .sc-all a::before {
            content: "\f3c5";
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            margin-left: 0.55rem;
            font-size: 0.9rem;
        }

/* لیست استان‌ها */
#cityModal #cityList .accordion-item {
    border: 0;
    border-bottom: 1px solid #f1f5f9;
    background: transparent;
}

#cityModal #cityList .accordion-button {
    min-height: 48px;
    padding: 0.85rem 0.35rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: #334155;
    background: transparent;
    box-shadow: none !important;
}

    #cityModal #cityList .accordion-button:not(.collapsed) {
        color: #4670CE;
        background: #f8fbff;
    }

    #cityModal #cityList .accordion-button:hover {
        color: #4670CE;
    }

/* آیتم‌های شهر داخل هر استان */
#cityModal #cityList .accordion-body .list-group-item,
#cityModal .city-item {
    border: 0;
    border-radius: 10px;
    margin: 0.12rem 0;
    padding: 0;
    background: transparent;
}

    #cityModal #cityList .accordion-body .list-group-item a,
    #cityModal .city-item a {
        display: block;
        padding: 0.62rem 0.95rem 0.62rem 1.55rem;
        color: #475569;
        text-decoration: none;
        border-radius: 10px;
        transition: color 0.18s ease, background 0.18s ease;
    }

    #cityModal #cityList .accordion-body .list-group-item:hover a,
    #cityModal .city-item:hover a {
        background: #f1f5f9;
        color: #4670CE;
    }

/* تنظیمات موبایل مودال شهر */
@media only screen and (max-width: 575px) {
    #cityModal {
        --bs-modal-margin: 0.75rem;
    }

    #cityModal .modal-dialog {
        align-items: flex-start;
        margin: 1.25rem auto 0.75rem;
        max-width: calc(100% - 1.5rem);
    }

    #cityModal .modal-content {
        max-height: calc(100vh - 2rem);
        border-radius: 22px;
        box-shadow: 0 18px 50px rgba(15, 23, 42, 0.22);
    }

    #cityModal .modal-header {
        min-height: 58px;
        padding: 0.9rem 1.05rem 0.75rem;
        background: #fff;
    }

    #cityModal .modal-title {
        font-size: 1rem;
    }

    #cityModal .modal-body {
        max-height: calc(100vh - 6rem);
        padding: 0.85rem 1rem 1rem;
        background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    }

    #cityModal .sc-input {
        position: sticky;
        top: -0.85rem;
        z-index: 5;
        margin: -0.15rem 0 0.75rem;
        padding: 0.2rem 0 0.65rem;
        background: linear-gradient(180deg, #fff 72%, rgba(255, 255, 255, 0));
    }

    #cityModal #SearchCity {
        height: 44px;
        border-radius: 13px;
        background: #f8fafc;
        font-size: 0.88rem;
    }

    #cityModal #cityList .accordion-item {
        margin-bottom: 0.15rem;
        border-bottom-color: #eef2f7;
    }

    #cityModal #cityList .accordion-button {
        min-height: 49px;
        padding: 0.72rem 0.25rem;
        border-radius: 12px;
        font-size: 0.92rem;
    }

    #cityModal #cityList .accordion-button:not(.collapsed) {
        padding-right: 0.75rem;
        background: #f3f7ff;
    }

    #cityModal #cityList .accordion-body {
        padding: 0.15rem 0 0.45rem;
    }

    #cityModal #cityList .accordion-body .list-group-item a,
    #cityModal .city-item a {
        padding: 0.68rem 0.95rem;
        background: #fff;
    }

    #cityModal .sc-result .list-group-item a {
        padding: 0.72rem 0.95rem;
    }
}

/* مودال انتخاب تخصص */
#SpecModal .modal-dialog {
    max-width: 430px;
}

#SpecModal .modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

#SpecModal .modal-header {
    border-bottom: 1px solid #edf2f7;
    padding: 1.05rem 1.2rem 0.95rem;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

#SpecModal .modal-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1e293b;
}

#SpecModal .modal-body {
    padding: 1rem 1.1rem 1.15rem;
    background: #fff;
    max-height: min(72vh, 640px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

    #SpecModal .modal-body::-webkit-scrollbar {
        width: 6px;
    }

    #SpecModal .modal-body::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 999px;
    }

/* جستجوی تخصص و دکمه پاک‌کردن */
#SpecModal .sp-input {
    margin-bottom: 0.85rem;
}

    #SpecModal .sp-input::before {
        content: "\f002";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: #94a3b8;
        font-size: 0.85rem;
        pointer-events: none;
        z-index: 2;
    }

#SpecModal #SearchSpec {
    height: 46px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    padding-right: 2.5rem;
    padding-left: 2.4rem;
    font-size: 0.92rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

    #SpecModal #SearchSpec:focus {
        border-color: #4670CE;
        background: #fff;
        box-shadow: 0 0 0 4px rgba(70, 112, 206, 0.12);
    }

#SpecModal .sp-clear {
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 1.65rem;
    height: 1.65rem;
    padding: 0;
    background: #e2e8f0 !important;
    border-radius: 50%;
    opacity: 1;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
    background-image: none !important;
}

    #SpecModal .sp-clear::before,
    #SpecModal .sp-clear::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 11px;
        height: 2px;
        border-radius: 999px;
        background: #64748b;
    }

    #SpecModal .sp-clear::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    #SpecModal .sp-clear::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    #SpecModal .sp-clear:hover {
        background: #cbd5e1 !important;
    }

/* لیست تخصص‌ها و نتیجه جستجو */
#SpecModal .sp-result,
#SpecModal .spec-list {
    margin-bottom: 0.65rem;
}

#SpecModal #SpecList .list-group-item,
#SpecModal .sp-result .list-group-item,
#SpecModal .spec-item {
    border: 0;
    border-bottom: 1px solid #f1f5f9;
    border-radius: 10px;
    margin: 0.1rem 0;
    padding: 0;
    background: transparent;
    overflow: hidden;
}

    #SpecModal #SpecList .list-group-item a,
    #SpecModal .sp-result .list-group-item a,
    #SpecModal .spec-item a {
        display: block;
        padding: 0.75rem 0.95rem;
        color: #334155;
        text-decoration: none;
        border-radius: 10px;
        transition: color 0.18s ease, background 0.18s ease;
    }

    #SpecModal #SpecList .list-group-item:hover a,
    #SpecModal .sp-result .list-group-item:hover a,
    #SpecModal .spec-item:hover a {
        background: #f1f5f9;
        color: #4670CE;
    }

@media only screen and (max-width: 575px) {
    #SpecModal {
        --bs-modal-margin: 0.75rem;
    }

    #SpecModal .modal-dialog {
        align-items: flex-start;
        margin: 1.25rem auto 0.75rem;
        max-width: calc(100% - 1.5rem);
    }

    #SpecModal .modal-content {
        max-height: calc(100vh - 2rem);
        border-radius: 22px;
        box-shadow: 0 18px 50px rgba(15, 23, 42, 0.22);
    }

    #SpecModal .modal-header {
        min-height: 58px;
        padding: 0.9rem 1.05rem 0.75rem;
        background: #fff;
    }

    #SpecModal .modal-title {
        font-size: 1rem;
    }

    #SpecModal .modal-body {
        max-height: calc(100vh - 6rem);
        padding: 0.85rem 1rem 1rem;
        background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    }

    #SpecModal .sp-input {
        position: sticky;
        top: -0.85rem;
        z-index: 5;
        margin: -0.15rem 0 0.75rem;
        padding: 0.2rem 0 0.65rem;
        background: linear-gradient(180deg, #fff 72%, rgba(255, 255, 255, 0));
    }

    #SpecModal #SearchSpec {
        height: 44px;
        border-radius: 13px;
        background: #f8fafc;
        font-size: 0.88rem;
    }

    #SpecModal #SpecList .list-group-item,
    #SpecModal .sp-result .list-group-item,
    #SpecModal .spec-item {
        margin-bottom: 0.15rem;
        border-bottom-color: #eef2f7;
    }

    #SpecModal #SpecList .list-group-item a,
    #SpecModal .sp-result .list-group-item a,
    #SpecModal .spec-item a {
        padding: 0.72rem 0.95rem;
        background: #fff;
    }
}

/* مودال انتخاب خدمت */
#ServModal .modal-dialog {
    max-width: 430px;
}

#ServModal .modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

#ServModal .modal-header {
    border-bottom: 1px solid #edf2f7;
    padding: 1.05rem 1.2rem 0.95rem;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

#ServModal .modal-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1e293b;
}

#ServModal .modal-body {
    padding: 1rem 1.1rem 1.15rem;
    background: #fff;
    max-height: min(72vh, 640px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

    #ServModal .modal-body::-webkit-scrollbar {
        width: 6px;
    }

    #ServModal .modal-body::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 999px;
    }

/* جستجوی خدمت و دکمه پاک‌کردن */
#ServModal .sv-input {
    margin-bottom: 0.85rem;
}

    #ServModal .sv-input::before {
        content: "\f002";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: #94a3b8;
        font-size: 0.85rem;
        pointer-events: none;
        z-index: 2;
    }

#ServModal #SearchServ {
    height: 46px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    padding-right: 2.5rem;
    padding-left: 2.4rem;
    font-size: 0.92rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

    #ServModal #SearchServ:focus {
        border-color: #4670CE;
        background: #fff;
        box-shadow: 0 0 0 4px rgba(70, 112, 206, 0.12);
    }

#ServModal .sv-clear {
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 1.65rem;
    height: 1.65rem;
    padding: 0;
    background: #e2e8f0 !important;
    border-radius: 50%;
    opacity: 1;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
    background-image: none !important;
}

    #ServModal .sv-clear::before,
    #ServModal .sv-clear::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 11px;
        height: 2px;
        border-radius: 999px;
        background: #64748b;
    }

    #ServModal .sv-clear::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    #ServModal .sv-clear::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    #ServModal .sv-clear:hover {
        background: #cbd5e1 !important;
    }

/* لیست خدمات و نتیجه جستجو */
#ServModal .sv-result,
#ServModal .serv-list {
    margin-bottom: 0.65rem;
}

#ServModal .sv-all {
    border: 1px solid #dbeafe;
    border-radius: 12px;
    background: linear-gradient(90deg, #f0f6ff 0%, #ffffff 100%);
    overflow: hidden;
}

    #ServModal .sv-all a {
        display: flex;
        align-items: center;
        padding: 0.82rem 1rem;
        color: #4670CE;
        font-weight: 700;
        text-decoration: none;
    }

#ServModal #ServList .list-group-item,
#ServModal .sv-result .list-group-item,
#ServModal .serv-item {
    border: 0;
    border-bottom: 1px solid #f1f5f9;
    border-radius: 10px;
    margin: 0.1rem 0;
    padding: 0;
    background: transparent;
    overflow: hidden;
}

    #ServModal #ServList .list-group-item a,
    #ServModal .sv-result .list-group-item a,
    #ServModal .serv-item a {
        display: block;
        padding: 0.75rem 0.95rem;
        color: #334155;
        text-decoration: none;
        border-radius: 10px;
        transition: color 0.18s ease, background 0.18s ease;
    }

    #ServModal #ServList .list-group-item:hover a,
    #ServModal .sv-result .list-group-item:hover a,
    #ServModal .serv-item:hover a {
        background: #f1f5f9;
        color: #4670CE;
    }

@media only screen and (max-width: 575px) {
    #ServModal {
        --bs-modal-margin: 0.75rem;
    }

    #ServModal .modal-dialog {
        align-items: flex-start;
        margin: 1.25rem auto 0.75rem;
        max-width: calc(100% - 1.5rem);
    }

    #ServModal .modal-content {
        max-height: calc(100vh - 2rem);
        border-radius: 22px;
        box-shadow: 0 18px 50px rgba(15, 23, 42, 0.22);
    }

    #ServModal .modal-header {
        min-height: 58px;
        padding: 0.9rem 1.05rem 0.75rem;
        background: #fff;
    }

    #ServModal .modal-title {
        font-size: 1rem;
    }

    #ServModal .modal-body {
        max-height: calc(100vh - 6rem);
        padding: 0.85rem 1rem 1rem;
        background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    }

    #ServModal .sv-input {
        position: sticky;
        top: -0.85rem;
        z-index: 5;
        margin: -0.15rem 0 0.75rem;
        padding: 0.2rem 0 0.65rem;
        background: linear-gradient(180deg, #fff 72%, rgba(255, 255, 255, 0));
    }

    #ServModal #SearchServ {
        height: 44px;
        border-radius: 13px;
        background: #f8fafc;
        font-size: 0.88rem;
    }

    #ServModal #ServList .list-group-item,
    #ServModal .sv-result .list-group-item,
    #ServModal .serv-item {
        margin-bottom: 0.15rem;
        border-bottom-color: #eef2f7;
    }

    #ServModal #ServList .list-group-item a,
    #ServModal .sv-result .list-group-item a,
    #ServModal .serv-item a {
        padding: 0.72rem 0.95rem;
        background: #fff;
    }
}

/* مودال انتخاب مرکز */
#CenterModal .modal-dialog {
    max-width: 430px;
}

#CenterModal .modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

#CenterModal .modal-header {
    border-bottom: 1px solid #edf2f7;
    padding: 1.05rem 1.2rem 0.95rem;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

#CenterModal .modal-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1e293b;
}

#CenterModal .modal-body {
    padding: 1rem 1.1rem 1.15rem;
    background: #fff;
    max-height: min(72vh, 640px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

    #CenterModal .modal-body::-webkit-scrollbar {
        width: 6px;
    }

    #CenterModal .modal-body::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 999px;
    }

/* جستجوی مرکز و دکمه پاک‌کردن */
#CenterModal .Center-input {
    position: relative;
    margin-bottom: 0.85rem;
}

    #CenterModal .Center-input::before {
        content: "\f002";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: #94a3b8;
        font-size: 0.85rem;
        pointer-events: none;
        z-index: 2;
    }

#CenterModal #SearchCenter {
    height: 46px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    padding-right: 2.5rem;
    padding-left: 2.4rem;
    font-size: 0.92rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

    #CenterModal #SearchCenter:focus {
        border-color: #4670CE;
        background: #fff;
        box-shadow: 0 0 0 4px rgba(70, 112, 206, 0.12);
    }

#CenterModal .Center-clear {
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 1.65rem;
    height: 1.65rem;
    padding: 0;
    background: #e2e8f0 !important;
    border-radius: 50%;
    opacity: 1;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
    background-image: none !important;
}

    #CenterModal .Center-clear::before,
    #CenterModal .Center-clear::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 11px;
        height: 2px;
        border-radius: 999px;
        background: #64748b;
    }

    #CenterModal .Center-clear::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    #CenterModal .Center-clear::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    #CenterModal .Center-clear:hover {
        background: #cbd5e1 !important;
    }

/* لیست مراکز و نتیجه جستجو */
#CenterModal .Center-result,
#CenterModal .Center-list {
    margin-bottom: 0.65rem;
}

#CenterModal .Center-all {
    border: 1px solid #dbeafe;
    border-radius: 12px;
    background: linear-gradient(90deg, #f0f6ff 0%, #ffffff 100%);
    overflow: hidden;
}

    #CenterModal .Center-all a {
        display: flex;
        align-items: center;
        padding: 0.82rem 1rem;
        color: #4670CE;
        font-weight: 700;
        text-decoration: none;
    }

#CenterModal #CenterList .list-group-item,
#CenterModal .Center-result .list-group-item,
#CenterModal .Center-item {
    border: 0;
    border-bottom: 1px solid #f1f5f9;
    border-radius: 10px;
    margin: 0.1rem 0;
    padding: 0;
    background: transparent;
    overflow: hidden;
}

    #CenterModal #CenterList .list-group-item a,
    #CenterModal .Center-result .list-group-item a,
    #CenterModal .Center-item a {
        display: block;
        padding: 0.75rem 0.95rem;
        color: #334155;
        text-decoration: none;
        border-radius: 10px;
        transition: color 0.18s ease, background 0.18s ease;
    }

    #CenterModal #CenterList .list-group-item:hover a,
    #CenterModal .Center-result .list-group-item:hover a,
    #CenterModal .Center-item:hover a {
        background: #f1f5f9;
        color: #4670CE;
    }

@media only screen and (max-width: 575px) {
    #CenterModal {
        --bs-modal-margin: 0.75rem;
    }

    #CenterModal .modal-dialog {
        align-items: flex-start;
        margin: 1.25rem auto 0.75rem;
        max-width: calc(100% - 1.5rem);
    }

    #CenterModal .modal-content {
        max-height: calc(100vh - 2rem);
        border-radius: 22px;
        box-shadow: 0 18px 50px rgba(15, 23, 42, 0.22);
    }

    #CenterModal .modal-header {
        min-height: 58px;
        padding: 0.9rem 1.05rem 0.75rem;
        background: #fff;
    }

    #CenterModal .modal-title {
        font-size: 1rem;
    }

    #CenterModal .modal-body {
        max-height: calc(100vh - 6rem);
        padding: 0.85rem 1rem 1rem;
        background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    }

    #CenterModal .Center-input {
        position: sticky;
        top: -0.85rem;
        z-index: 5;
        margin: -0.15rem 0 0.75rem;
        padding: 0.2rem 0 0.65rem;
        background: linear-gradient(180deg, #fff 72%, rgba(255, 255, 255, 0));
    }

    #CenterModal #SearchCenter {
        height: 44px;
        border-radius: 13px;
        background: #f8fafc;
        font-size: 0.88rem;
    }

    #CenterModal #CenterList .list-group-item,
    #CenterModal .Center-result .list-group-item,
    #CenterModal .Center-item {
        margin-bottom: 0.15rem;
        border-bottom-color: #eef2f7;
    }

    #CenterModal #CenterList .list-group-item a,
    #CenterModal .Center-result .list-group-item a,
    #CenterModal .Center-item a {
        padding: 0.72rem 0.95rem;
        background: #fff;
    }
}

/* صفحه تماس با ما */
.contact-page {
    background:
        radial-gradient(circle at 15% 12%, rgba(70, 112, 206, 0.1), transparent 30%),
        linear-gradient(180deg, #f8fbff 0%, #f4f7fb 100%);
}

/* کارت اصلی فرم تماس */
.contact-modern-card {
    position: relative;
    overflow: hidden;
    padding: 2.2rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.1);
}

    .contact-modern-card::before {
        content: "";
        position: absolute;
        top: -80px;
        left: -70px;
        width: 190px;
        height: 190px;
        border-radius: 50%;
        background: rgba(70, 112, 206, 0.11);
        pointer-events: none;
    }

    .contact-modern-card::after {
        content: "";
        position: absolute;
        right: -90px;
        bottom: -100px;
        width: 220px;
        height: 220px;
        border-radius: 50%;
        background: rgba(25, 195, 125, 0.1);
        pointer-events: none;
    }

    .contact-modern-card > .row {
        position: relative;
        z-index: 1;
    }

/* عنوان و توضیح بالای فرم */
.contact-modern-header {
    margin-bottom: 1.45rem;
}

.contact-modern-header__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 0.8rem;
    border-radius: 18px;
    background: linear-gradient(135deg, #4670CE 0%, #6b8de8 100%);
    color: #fff;
    box-shadow: 0 14px 28px rgba(70, 112, 206, 0.22);
    font-size: 1.35rem;
}

.contact-modern-header__eyebrow {
    display: block;
    margin-bottom: 0.35rem;
    color: #4670CE;
    font-size: 0.78rem;
    font-weight: 800;
}

.contact-modern-header h5 {
    margin-bottom: 0.45rem;
    color: #172033;
    font-size: 1.28rem;
    font-weight: 900;
}

.contact-modern-header p {
    max-width: 520px;
    margin: 0 auto;
    color: #64748b;
    line-height: 1.9;
}

/* فیلدهای فرم تماس */
.contact-modern-form .form-group {
    margin-bottom: 0.85rem;
}

.contact-modern-form .form-control {
    min-height: 48px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
    color: #1e293b;
    font-size: 0.92rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

    .contact-modern-form .form-control:focus {
        border-color: #4670CE;
        background: #fff;
        box-shadow: 0 0 0 4px rgba(70, 112, 206, 0.12);
    }

    .contact-modern-form .form-control::placeholder {
        color: #94a3b8;
    }

.contact-modern-form textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

.contact-modern-form .field-validation-error,
.contact-modern-form label.error {
    display: block;
    margin-top: 0.35rem;
    color: #dc2626;
    font-size: 0.78rem;
}

/* کپچای فرم تماس */
.contact-modern-captcha {
    padding: 0.9rem;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

    .contact-modern-captcha label {
        display: block;
        margin-bottom: 0.5rem;
        color: #475569;
        font-weight: 700;
    }

    .contact-modern-captcha .newCaptcha {
        min-height: 42px;
        border-radius: 12px;
        background: #4670CE;
        border: 0;
    }

/* دکمه ارسال فرم تماس */
.contact-modern-submit {
    min-height: 48px;
    border-radius: 14px;
    box-shadow: 0 14px 28px rgba(70, 112, 206, 0.2);
}

/* پیام موفقیت ارسال فرم */
.contact-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border: 1px solid #bbf7d0;
    border-radius: 18px;
    background: #f0fdf4;
    color: #166534;
}

.contact-success__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
    flex-shrink: 0;
}

@media only screen and (max-width: 575px) {
    .contact-modern-card {
        padding: 1.25rem;
        border-radius: 18px;
    }

    .contact-modern-header h5 {
        font-size: 1.15rem;
    }
}

/* صفحه قوانین و مقررات */
.rules-page {
    background:
        radial-gradient(circle at 85% 10%, rgba(70, 112, 206, 0.1), transparent 28%),
        linear-gradient(180deg, #f8fbff 0%, #f4f7fb 100%);
}

/* سربرگ صفحه قوانین */
.rules-hero {
    position: relative;
    overflow: hidden;
    padding: 2.4rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 26px;
    background: #fff;
    text-align: center;
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.1);
}

    .rules-hero::before {
        content: "";
        position: absolute;
        top: -90px;
        right: -80px;
        width: 220px;
        height: 220px;
        border-radius: 50%;
        background: rgba(70, 112, 206, 0.11);
        pointer-events: none;
    }

.rules-hero__icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin-bottom: 0.9rem;
    border-radius: 20px;
    background: linear-gradient(135deg, #4670CE 0%, #6b8de8 100%);
    color: #fff;
    box-shadow: 0 14px 30px rgba(70, 112, 206, 0.24);
    font-size: 1.55rem;
}

.rules-hero__eyebrow {
    display: block;
    margin-bottom: 0.45rem;
    color: #4670CE;
    font-size: 0.82rem;
    font-weight: 800;
}

.rules-hero h1 {
    margin-bottom: 0.65rem;
    color: #172033;
    font-size: 1.65rem;
    font-weight: 900;
}

.rules-hero p {
    max-width: 760px;
    margin: 0 auto;
    color: #64748b;
    line-height: 2;
}

/* خلاصه قوانین */
.rules-summary {
    position: sticky;
    top: 1rem;
    padding: 1.35rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 20px;
    background: #fff;
}

.rules-summary h2 {
    margin-bottom: 1rem;
    color: #172033;
    font-size: 1rem;
    font-weight: 900;
}

.rules-summary ul {
    margin: 0;
    padding: 0;
}

.rules-summary li {
    position: relative;
    list-style: none;
    padding: 0.55rem 1.35rem 0.55rem 0;
    color: #475569;
    line-height: 1.8;
}

    .rules-summary li::before {
        content: "\f00c";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        position: absolute;
        right: 0;
        top: 0.75rem;
        color: #22c55e;
        font-size: 0.75rem;
    }

/* محتوای اصلی قوانین */
.rules-content {
    padding: 1.45rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 20px;
    background: #fff;
}

.rules-section {
    position: relative;
    padding: 1.05rem 4rem 1.05rem 0;
    border-bottom: 1px solid #edf2f7;
}

    .rules-section:last-child {
        border-bottom: 0;
    }

.rules-section__number {
    position: absolute;
    right: 0;
    top: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 16px;
    background: #f0f6ff;
    color: #4670CE;
    font-weight: 900;
}

.rules-section h2 {
    margin-bottom: 0.45rem;
    color: #172033;
    font-size: 1.05rem;
    font-weight: 900;
}

.rules-section p {
    margin: 0;
    color: #64748b;
    line-height: 2;
}

@media only screen and (max-width: 991px) {
    .rules-summary {
        position: static;
    }
}

@media only screen and (max-width: 575px) {
    .rules-hero {
        padding: 1.45rem;
        border-radius: 18px;
    }

    .rules-hero h1 {
        font-size: 1.35rem;
    }

    .rules-content {
        padding: 1rem;
    }

    .rules-section {
        padding: 0.95rem 0 0.95rem;
    }

    .rules-section__number {
        position: static;
        margin-bottom: 0.6rem;
    }
}

/* صفحه حریم خصوصی — تمایز بصری از صفحه قوانین */
.privacy-page {
    background:
        radial-gradient(circle at 12% 18%, rgba(25, 195, 125, 0.09), transparent 30%),
        linear-gradient(180deg, #f8fbff 0%, #f4f7fb 100%);
}

.privacy-hero__icon {
    background: linear-gradient(135deg, #0d9488 0%, #2dd4bf 100%);
    box-shadow: 0 14px 30px rgba(13, 148, 136, 0.22);
}

.privacy-page .rules-section__number {
    background: #ecfdf5;
    color: #0d9488;
}

.card-st1 {
    text-align: center;
    padding: 35px 35px 27px 35px;
    transition: all 0.5s;
}

    .card-st1:hover {
        background: #4670CE;
        color: #fff;
        box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
    }

.home-specialties-section {
    padding-top: 1.75rem;
    padding-bottom: 1.25rem;
}

.home-specialties-section .section-title {
    margin-bottom: 1rem;
}

.home-specialties-heading {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1a202c;
}

.home-specialties-grid {
    --bs-gutter-x: 0.625rem;
    --bs-gutter-y: 0.625rem;
}

.specialty-card {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.625rem;
    background: #fff;
    border: 1px solid #e8edf4;
    border-radius: 10px;
    text-decoration: none;
    color: #374151;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, color 0.2s ease;
    height: 100%;
}

    .specialty-card:hover {
        border-color: #4670CE;
        background: linear-gradient(135deg, #f5f8ff 0%, #fff 100%);
        color: #4670CE;
        transform: translateY(-1px);
        box-shadow: 0 3px 10px rgba(70, 112, 206, 0.1);
    }

.specialty-card__icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    flex-shrink: 0;
    font-size: 0.95rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.specialty-card:hover .specialty-card__icon-wrap {
    transform: scale(1.06);
}

.specialty-card--cardiology .specialty-card__icon-wrap { background: #ffe4e6; color: #e11d48; }
.specialty-card--internal .specialty-card__icon-wrap { background: #d1fae5; color: #059669; }
.specialty-card--pediatrics .specialty-card__icon-wrap { background: #fce7f3; color: #db2777; }
.specialty-card--neurology .specialty-card__icon-wrap { background: #ede9fe; color: #7c3aed; }
.specialty-card--general .specialty-card__icon-wrap { background: #dbeafe; color: #2563eb; }
.specialty-card--gynecology .specialty-card__icon-wrap { background: #fbcfe8; color: #be185d; }
.specialty-card--orthopedics .specialty-card__icon-wrap { background: #fef3c7; color: #d97706; }
.specialty-card--urology .specialty-card__icon-wrap { background: #cffafe; color: #0891b2; }
.specialty-card--ophthalmology .specialty-card__icon-wrap { background: #e0e7ff; color: #4f46e5; }
.specialty-card--ent .specialty-card__icon-wrap { background: #dcfce7; color: #16a34a; }
.specialty-card--pulmonology .specialty-card__icon-wrap { background: #e0f2fe; color: #0284c7; }
.specialty-card--dermatology .specialty-card__icon-wrap { background: #ecfccb; color: #65a30d; }

.specialty-card__title {
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.35;
    margin: 0;
}

@media screen and (min-width: 768px) {
    .specialty-card {
        padding: 0.5625rem 0.75rem;
    }

    .specialty-card__icon-wrap {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .specialty-card__title {
        font-size: 0.8125rem;
    }

    .home-specialties-expand-wrap {
        display: none !important;
    }
}

@media screen and (max-width: 767px) {
    .home-specialties-section .section-title {
        justify-content: center;
        text-align: center;
    }

    .home-specialties-grid {
        justify-content: center !important;
    }

        .home-specialties-grid > [class*="col-"] {
            flex: 0 0 auto;
            width: 46%;
            max-width: 170px;
        }

    .home-specialties-section:not(.is-expanded) .home-specialties-grid > [class*="col-"]:nth-child(n+5) {
        display: none;
    }

    .home-specialties-section .specialty-card {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 0.65rem 0.45rem;
        gap: 0.35rem;
        min-height: 88px;
    }

    .home-specialties-section .specialty-card__title {
        text-align: center;
        width: 100%;
        font-size: 0.7rem;
        line-height: 1.4;
    }

    .home-specialties-section .specialty-card__icon-wrap {
        width: 38px;
        height: 38px;
        font-size: 1.05rem;
        border-radius: 12px;
    }

    .home-specialties-expand-wrap {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.55rem;
        margin-top: 0.85rem;
        padding-bottom: 0.15rem;
    }

    .home-specialties-all-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.35rem;
        padding: 0.6rem 1.35rem;
        border-radius: 999px;
        border: none;
        background: linear-gradient(135deg, #4670CE 0%, #5a84e8 55%, #4670CE 100%);
        color: #fff;
        font-size: 0.8125rem;
        font-weight: 600;
        text-decoration: none;
        box-shadow: 0 4px 16px rgba(70, 112, 206, 0.32);
        transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
        -webkit-tap-highlight-color: transparent;
    }

        .home-specialties-all-btn:active {
            transform: scale(0.97);
        }

        .home-specialties-all-btn:hover,
        .home-specialties-all-btn:focus {
            color: #fff;
            background: linear-gradient(135deg, #3a62c4 0%, #4f78e0 100%);
            box-shadow: 0 5px 18px rgba(70, 112, 206, 0.38);
        }
}

.home-services-section {
    padding-top: 1.75rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1rem;
}

.home-clinic-types-section + .home-services-section {
    margin-top: 0.75rem;
}

.teb20-service-card {
    overflow: hidden;
}

    .teb20-service-card .card-image {
        height: 88px;
        overflow: hidden;
    }

        .teb20-service-card .card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .teb20-service-card .card-body {
        padding: 0.625rem 0.75rem 0.75rem;
    }

.teb20-service-card__icon {
    display: block;
    font-size: 0.875rem;
    color: #4670CE;
    margin-bottom: 0.35rem;
}

.teb20-service-card__title {
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #1a202c;
}

.teb20-service-card__desc {
    font-size: 0.6875rem;
    line-height: 1.45;
    margin-bottom: 0;
    color: #6b7280;
}

.teb20-services-carousel.owl-carousel,
.clinics-carousel.owl-carousel,
.blog-carousel.owl-carousel {
    position: relative;
    overflow: hidden;
}

.teb20-services-carousel.owl-carousel .owl-stage-outer,
.clinics-carousel.owl-carousel .owl-stage-outer,
.blog-carousel.owl-carousel .owl-stage-outer,
.clinic-types.owl-carousel .owl-stage-outer {
    overflow: hidden;
}

    .teb20-services-carousel.owl-carousel .owl-nav,
    .clinics-carousel.owl-carousel .owl-nav,
    .blog-carousel.owl-carousel .owl-nav {
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        width: 100%;
        margin: 0;
        transform: translateY(-50%);
        display: flex;
        justify-content: space-between;
        align-items: center;
        pointer-events: none;
        z-index: 5;
        padding: 0 0.15rem;
    }

        .teb20-services-carousel.owl-carousel .owl-nav button,
        .clinics-carousel.owl-carousel .owl-nav button,
        .blog-carousel.owl-carousel .owl-nav button {
            pointer-events: auto;
            position: static !important;
            left: auto !important;
            right: auto !important;
            margin: 0;
            width: 1.75rem;
            height: 1.75rem;
            border-radius: 50% !important;
            background: rgba(255, 255, 255, 0.94) !important;
            border: 1px solid rgba(0, 0, 0, 0.08) !important;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14) !important;
            font-size: 0.875rem;
            line-height: 1;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            opacity: 0.95;
            transition: opacity 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
        }

            .teb20-services-carousel.owl-carousel .owl-nav button:hover,
            .clinics-carousel.owl-carousel .owl-nav button:hover,
            .blog-carousel.owl-carousel .owl-nav button:hover {
                opacity: 1;
                background: #fff !important;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18) !important;
            }

            .teb20-services-carousel.owl-carousel .owl-nav button i,
            .clinics-carousel.owl-carousel .owl-nav button i,
            .blog-carousel.owl-carousel .owl-nav button i {
                padding-top: 0;
                font-size: 0.8rem;
            }

@media screen and (min-width: 768px) {
    .teb20-service-card .card-image {
        height: 100px;
    }

    .teb20-service-card__title {
        font-size: 0.875rem;
    }

    .teb20-service-card__desc {
        font-size: 0.75rem;
    }
}

.card-st2 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    height: auto;
    padding: 0.5rem 0.65rem;
    text-align: center;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

    .card-st2:hover, .card-st2.active {
        background: #34c5a1;
        color: #fff;
        border-color: #34c5a1 !important;
        box-shadow: 0 3px 10px rgba(52, 197, 161, 0.28) !important;
    }

    .card-st2.active {
        margin-top: 0;
    }

    .card-st2 .card-text {
        font-size: 0.8125rem;
        font-weight: 600;
        line-height: 1.35;
        margin: 0;
    }

.home-clinic-types-section {
    padding: 1.5rem 0 1.25rem;
    background: linear-gradient(180deg, #f5f3ff 0%, #faf9ff 55%, #fff 100%);
    border-top: 1px solid #ebe8f7;
    border-bottom: 1px solid #ebe8f7;
}

.home-clinic-types-section__title-wrap {
    gap: 0.65rem;
}

.home-clinic-types-section__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: #fff;
    font-size: 1.05rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(109, 40, 217, 0.28);
}

.home-clinic-types-section__badge i {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    line-height: 1;
}

.home-clinic-types-section__eyebrow {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #7c3aed;
    margin-bottom: 0.15rem;
}

.home-clinic-types-section__heading {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1a202c;
}

.home-clinic-types-panel {
    background: #fff;
    border: 1px solid #e9e5f5;
    border-radius: 16px;
    padding: 0.85rem 0.5rem 0.65rem;
    box-shadow: 0 6px 20px rgba(109, 40, 217, 0.07);
}

.clinic-type-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    min-height: 96px;
    padding: 0.75rem 0.45rem 0.65rem;
    text-align: center;
    text-decoration: none;
    color: #4b5563;
    background: #faf9ff;
    border: 1.5px solid #e4dff5;
    border-radius: 14px;
    transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

    .clinic-type-chip:hover,
    .clinic-type-chip.active {
        color: #fff;
        background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
        border-color: #6d28d9;
        box-shadow: 0 6px 16px rgba(109, 40, 217, 0.28);
        transform: translateY(-2px);
    }

.clinic-type-chip__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: #ede9fe;
    color: #6d28d9;
    font-size: 0.95rem;
    flex-shrink: 0;
    transition: background 0.22s ease, color 0.22s ease;
}

.clinic-type-chip__icon i {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    line-height: 1;
}

.clinic-type-chip:hover .clinic-type-chip__icon,
.clinic-type-chip.active .clinic-type-chip__icon {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.clinic-type-chip__text {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.45;
    margin: 0;
}

.clinic-types-wrap {
    position: relative;
    padding: 0 1.85rem;
    overflow: hidden;
}

.home-clinic-types-section .container {
    overflow-x: clip;
}

.clinic-types.owl-carousel {
    position: relative;
}

    .clinic-types.owl-carousel .owl-nav {
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        width: 100%;
        height: 0;
        margin: 0 !important;
        transform: translateY(-50%);
        display: block;
        pointer-events: none;
        z-index: 6;
    }

        .clinic-types.owl-carousel .owl-nav button {
            pointer-events: auto;
            position: absolute !important;
            top: 50%;
            transform: translateY(-50%);
            width: 1.5rem;
            height: 1.5rem;
            border-radius: 50% !important;
            background: #fff !important;
            border: 1px solid rgba(109, 40, 217, 0.18) !important;
            box-shadow: 0 2px 8px rgba(109, 40, 217, 0.12) !important;
            color: #6d28d9 !important;
            margin: 0;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            line-height: 1;
        }

            .clinic-types.owl-carousel .owl-nav button:hover {
                background: #fff !important;
                box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16) !important;
            }

            .clinic-types.owl-carousel .owl-nav button i {
                padding-top: 0;
                font-size: 0.7rem;
            }

        .clinic-types.owl-carousel .owl-nav .owl-prev {
            left: 0 !important;
            right: auto !important;
        }

        .clinic-types.owl-carousel .owl-nav .owl-next {
            right: 0 !important;
            left: auto !important;
        }

.clinic-types .clinic-type-item {
    padding: 0.25rem !important;
}

@media screen and (max-width: 767px) {
    .home-clinic-types-section {
        padding: 1.15rem 0 1rem;
    }

    .home-clinic-types-panel {
        padding: 0.7rem 0.35rem 0.55rem;
        border-radius: 14px;
    }

    .home-clinic-types-section__badge {
        width: 2.15rem;
        height: 2.15rem;
        font-size: 0.9rem;
    }

    .clinic-type-chip {
        min-height: 86px;
        padding: 0.65rem 0.35rem 0.55rem;
        border-radius: 12px;
    }

    .clinic-type-chip__icon {
        width: 2rem;
        height: 2rem;
        font-size: 0.85rem;
    }

    .clinic-type-chip__text {
        font-size: 0.6875rem;
    }

    .clinic-types-wrap {
        padding: 0 1.65rem;
    }

        .clinic-types.owl-carousel .owl-nav .owl-prev {
            left: 0 !important;
        }

        .clinic-types.owl-carousel .owl-nav .owl-next {
            right: 0 !important;
        }

    .teb20-services-carousel.owl-carousel .owl-nav button,
    .clinics-carousel.owl-carousel .owl-nav button,
    .blog-carousel.owl-carousel .owl-nav button {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.75rem;
    }

        .teb20-services-carousel.owl-carousel .owl-nav button i,
        .clinics-carousel.owl-carousel .owl-nav button i,
        .blog-carousel.owl-carousel .owl-nav button i {
            font-size: 0.7rem;
        }
}

.rating {
    direction: ltr;
}

.cm-item {
}

.cm-avatar {
    display: flex;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    padding: 5px;
    color: rgb(13, 202, 240);
    border: 2px solid rgb(13, 202, 240);
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    font-weight: 700;
    font-size: 16px;
    justify-content: center;
    align-items: center;
}

.accordion-style .btn-link {
    text-align: right;
    padding: 12px 15px 12px 45px;
}

    .accordion-style .btn-link::after {
        left: 15px;
        right: auto;
    }

    .accordion-style .btn-link.collapsed::after {
        left: 15px;
        right: auto;
        content: '\f0d9';
    }

.accordion-style .card-body {
    text-align: justify;
}


.cl-titlebar {
    padding-left: 10px;
}

.bg-titlebar {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

    .bg-titlebar::before {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background: #000000;
        background: linear-gradient(90deg,rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 1) 30%, rgba(255, 255, 255, 1) 100%);
        content: "";
        z-index: 2;
    }

    .bg-titlebar div {
        z-index: 3;
    }


.cl-d-head {
    margin: 10px 15px;
}

.cl-round-img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    display: inline-block;
}

@media screen and (max-width: 768px) {
    .cl-round-img {
        display: none;
    }

    .cl-titlebar h1 {
        font-size: 16px;
        margin-right: 0;
    }

    .h-mob {
        display: none;
    }
}



.d-image img {
    object-fit: cover;
}

.doc-tags a {
    background-color: rgba(70, 112, 206, 0.1);
    border-radius: 10px;
    padding: 8px 20px;
    font-size: 15px;
    color: #4670CE;
    font-weight: 600;
    line-height: 20px;
    margin: 0.6rem 3px 0 0;
    display: inline-block;
}

.booking-page {
}

.doc-cal {
    display: none;
    min-height: 100px;
}

.book-day {
    padding: 10px 0;
    font-size: 12px;
    -ms-flex: 1 1 auto !important;
    flex: 1 1 auto !important;
    text-align: center;
    cursor: pointer;
    border-bottom: 2px solid rgb(245, 250, 255);
    color: rgba(149,157,165,0.9);
}

    .book-day:hover {
        background-color: rgb(245, 250, 255);
        color: rgb(52, 64, 84);
    }

    .book-day.open {
        color: rgb(52, 64, 84);
    }

    .book-day.active {
        background-color: rgb(245, 250, 255);
        border-bottom-color: #4670CE;
        color: #4670CE;
    }

    .book-day p {
        margin: 5px auto;
        font-size: 13px;
    }

    .book-day.active .book-date {
    }




.pform-elements .pform-element select {
    padding: 8px 15px 8px 35px;
}

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

        .book-day p {
            font-size: 12px;
        }
}

.book-times {
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

    .book-times li {
        display: inline-block;
        margin: 0;
        padding: 0;
    }

        .book-times li a.butn {
            font-weight: 400;
            font-size: 14px;
            width: 80px;
            padding: 6px 18px 5px;
            margin: 0 5px 10px 0;
        }

        .book-times li a.disabled {
            cursor: initial;
            background-color: rgb(245, 250, 255);
            color: rgb(152, 162, 179);
        }

            .book-times li a.disabled::before {
                display: none;
            }

            .book-times li a.disabled:hover {
                background-color: rgb(245, 250, 255);
                color: rgb(152, 162, 179);
            }


.card-sty1 {
    border: 1px solid rgb(13, 202, 240);
    border-radius: 5px;
    padding: 15px;
    margin: 5px 0;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

    .card-sty1:hover, .card-sty1:active {
        border-color: #4670CE;
        background-color: #4670CE;
        color: #fff;
        transition: all 0.5s;
        border-radius: 10px;
    }

    .card-sty1 p.title {
        margin: 0;
        font-size: 14px;
        font-weight: 600;
    }

.card-sty2 {
    border: 1px solid #e4e4e4;
    border-radius: 6px;
    padding: 15px 45px 15px;
    margin: 5px 0;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    position: relative;
}

    .card-sty2.active {
        border: 1px solid #4670CE;
    }

    /*    .card-sty2:hover, .card-sty1:active {
        border-color: #4670CE;
        background-color: #4670CE;
        color: #fff;
        transition: all 0.5s;
        border-radius: 12px;
    }*/

    .card-sty2::before {
        content: "\f10c";
        position: absolute;
        top: calc(50% - 13px);
        right: 15px;
        font-family: Font Awesome\ 5 Free;
        font-size: 16px;
        color: #4670CE;
    }

    .card-sty2.active::before {
        content: "\f058";
        position: absolute;
        top: calc(50% - 13px);
        right: 15px;
        font-family: Font Awesome\ 5 Free;
        font-weight: 700;
        font-size: 16px;
        color: #4670CE;
    }

    /*    .card-sty2.active:hover::before {
        color: #fff;
    }*/

    .card-sty2 p.title {
        margin: 0;
        font-size: 14px;
        font-weight: 600;
    }

.card-sty3 {
    border-radius: 6px;
    -webkit-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
    position: relative;
    z-index: 1;
    margin-top: 20px;
    margin-right: 5px;
}

    .card-sty3::before {
        content: "";
        position: absolute;
        top: 55px;
        left: 0;
        width: 100%;
        height: calc(100% - 55px);
        /*background-color: #4670CE;*/
        background-color: #ffffff;
        box-shadow: rgba(149,157,165,0.2) 0px 8px 24px;
        z-index: -1;
        border-radius: 6px;
        -webkit-transition: all 0.3s ease-in;
        -o-transition: all 0.3s ease-in;
        transition: all 0.3s ease-in;
        /*opacity: 0;*/
    }

    .card-sty3 .card-img {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .card-sty3 .card-img img.round-img {
            height: 110px;
            width: 110px;
            border: 1px solid #4670CE55;
        }

    .card-sty3 .card-body {
        padding: 25px 20px 40px 20px;
        text-align: center;
    }

.card-sty4 {
    box-shadow: rgba(149,157,165,0.2) 0px 5px 5px;
    border-radius: 10px;
}

    .card-sty4 .tag {
        position: absolute;
        bottom: 0;
        right: 0;
        z-index: 2;
    }

    .card-sty4 .tag {
        padding: 5px 20px;
        margin-left: 4px;
        margin-top: 4px;
        display: inline-block;
        color: #fff;
        font-size: 12px;
        font-weight: 600;
        background-color: #4670CE;
        border-top-left-radius: 10px;
    }

    .card-sty4 .card-image::after {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 0;
        background: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 40, 86, 0.5)), color-stop(73%, transparent));
        background: linear-gradient(0deg, rgba(0, 40, 86, 0.5) 0%, transparent 73%);
        content: "";
        visibility: hidden;
        opacity: 0;
        -webkit-transition: 0.4s;
        transition: 0.4s;
        z-index: 1;
    }

    .card-sty4:hover .card-image:after {
        visibility: visible;
        opacity: 1;
        height: 100%;
    }


.round-img {
    object-fit: fill;
    border-radius: 50% !important;
}

.services-carousel .owl-item .card-image img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.services-carousel .owl-item img.tiny-avatar {
    border-radius: 50% !important;
    width: 24px;
    border: 1px solid #34c5a1;
}


.rtl-carousel .owl-stage-outer {
    position: relative;
    overflow: hidden;
    -webkit-transform: translate3d(0,0,0);
    direction: ltr;
}

    .rtl-carousel .owl-stage-outer .owl-item {
        direction: rtl;
    }

.owl-dots {
}













.list-style2 li {
    padding: 2px 25px 3px 0px;
    margin-bottom: 0;
}

    .list-style2 li::before {
        left: auto;
        right: 0;
    }

.list-style4 {
    margin: 0;
    padding: 1rem;
    padding-top: 0;
    list-style: disc;
}

    .list-style4 li::marker {
        color: rgb(13, 202, 240);
    }


.link-sty1 {
    color: #4670CE;
    background: rgba(70, 112, 206, 0.1);
    padding: 5px 18px;
    font-weight: 500;
    border-radius: 4px;
    font-size: 14px;
}

.border-right {
    border-right: 1px solid #dee2e6;
}











.owl-carousel.owl-theme .owl-nav {
    margin-top: 0;
    position: absolute;
    top: -70px;
    left: 0;
}

    .owl-carousel.owl-theme .owl-nav button {
        border-radius: 10px;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        font-size: 1.2em;
    }

        .owl-carousel.owl-theme .owl-nav button:hover {
            border: 1px solid rgba(0,0,0,.15);
            -webkit-box-shadow: 0 5px 8px 0 rgba(50,50,50,0.1);
            -moz-box-shadow: 0 5px 8px 0 rgba(50,50,50,0.1);
            box-shadow: 0 5px 8px 0 rgba(50,50,50,0.1);
        }

.teb20-services-carousel.owl-theme .owl-nav,
.clinics-carousel.owl-theme .owl-nav,
.blog-carousel.owl-theme .owl-nav {
    top: 50% !important;
    transform: translateY(-50%);
    margin-top: 0 !important;
}

.clinic-types.owl-theme .owl-nav {
    top: 50% !important;
    transform: translateY(-50%);
    margin-top: 0 !important;
    display: block !important;
}

.teb20-clinic-card {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .teb20-clinic-card:hover,
    .teb20-clinic-card:focus {
        color: inherit;
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(70, 112, 206, 0.18) !important;
    }

    .teb20-clinic-card .teb20-service-card__title {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

.teb20-clinic-card--home {
    --clinic-avatar-size: 80px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid rgba(70, 112, 206, 0.14);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(30, 58, 138, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

    .teb20-clinic-card__favorite {
        position: absolute;
        top: 0.55rem;
        right: 0.7rem;
        z-index: 2;
        width: 2rem;
        height: 2rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.94);
        border-radius: 999px;
        box-shadow: 0 4px 12px rgba(30, 58, 138, 0.14);
    }

    .teb20-clinic-card__favorite i {
        font-size: 1.2rem;
    }

    .teb20-clinic-card--home:hover,
    .teb20-clinic-card--home:focus {
        transform: translateY(-3px);
        border-color: rgba(70, 112, 206, 0.35);
        box-shadow: 0 10px 24px rgba(30, 58, 138, 0.16);
    }

.teb20-clinic-card__image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem 0.75rem 0.35rem;
    background: linear-gradient(180deg, #f0f5ff 0%, #fff 100%);
}

.teb20-clinic-card__image-wrap .teb20-clinic-card__img {
    display: block;
    width: var(--clinic-avatar-size) !important;
    height: var(--clinic-avatar-size) !important;
    min-width: var(--clinic-avatar-size);
    min-height: var(--clinic-avatar-size);
    max-width: var(--clinic-avatar-size);
    max-height: var(--clinic-avatar-size);
    flex: 0 0 var(--clinic-avatar-size);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    object-fit: cover;
    object-position: center center;
    border: 3px solid rgba(70, 112, 206, 0.18);
    box-shadow: 0 4px 14px rgba(30, 58, 138, 0.14);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.teb20-clinic-card--home:hover .teb20-clinic-card__image-wrap .teb20-clinic-card__img {
    transform: scale(1.04);
    box-shadow: 0 6px 18px rgba(30, 58, 138, 0.2);
}

.teb20-clinic-card__body {
    padding: 0.5rem 0.85rem 0.85rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.teb20-clinic-card__title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.45rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.45;
}

.teb20-clinic-card__city {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    align-self: center;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #4670CE;
    background: rgba(70, 112, 206, 0.1);
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    margin-bottom: 0.55rem;
}

.teb20-clinic-card__cta {
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #1e40af;
}

    .teb20-clinic-card--home:hover .teb20-clinic-card__cta {
        color: #4670CE;
    }

.clinics-carousel.owl-carousel .owl-item {
    height: 100%;
}

.home-clinics-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #2f55b8 45%, #4670CE 100%);
    padding: 1.75rem 0 1.25rem;
    margin-top: 1.5rem;
    position: relative;
    overflow: hidden;
}

    .home-clinics-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background:
            radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 42%),
            radial-gradient(circle at 88% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 38%);
        pointer-events: none;
    }

    .home-clinics-section > .container {
        position: relative;
        z-index: 1;
    }

.home-clinics-panel {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 18px;
    padding: 1.1rem 1rem 0.85rem;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.65);
}

.home-clinics-section__title-wrap {
    gap: 0.65rem;
}

.home-clinics-section__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #4670CE 0%, #1e40af 100%);
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(70, 112, 206, 0.35);
}

.home-clinics-section__eyebrow {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #4670CE;
    margin-bottom: 0.15rem;
}

.home-clinics-section__heading {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
}

.home-clinics-section__all-link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1e40af;
    text-decoration: none;
    white-space: nowrap;
    background: rgba(70, 112, 206, 0.1);
    border: 1px solid rgba(70, 112, 206, 0.2);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

    .home-clinics-section__all-link:hover {
        color: #fff;
        background: #4670CE;
        border-color: #4670CE;
    }

.home-clinics-block .section-title {
    margin-bottom: 0.75rem !important;
}

    .home-clinics-block .section-title .h6,
    .home-clinics-block .section-title span.p-2.h6 {
        font-size: 0.9375rem;
        padding: 0.25rem 0 !important;
    }

    .home-clinics-block .section-title a {
        font-size: 0.8125rem;
    }

.card-style06 {
    padding: 35px 20px 20px 20px;
    margin: 5px;
    border: 1px solid #4670CE55;
}

a.read-more {
    font-size: 12px;
}

#ClinicTypes {
    padding-bottom: 0 !important;
}

.home-clinics-section .home-clinics-block,
.home-clinics-section .home-clinics-panel {
    margin-bottom: 0 !important;
}

.home-clinics-section .clinics-carousel.owl-carousel {
    margin-bottom: 0;
}

.home-clinics-section + .home-blog-section {
    padding-top: 1.5rem;
    margin-top: 0;
}

.home-blog-section {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    background: #f8fafc;
    border-top: 1px solid #e8edf4;
}

.home-blog-section__title-wrap {
    gap: 0.65rem;
}

.home-blog-section__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #34c5a1 0%, #0d9488 100%);
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(52, 197, 161, 0.3);
}

.home-blog-section__eyebrow {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #0d9488;
    margin-bottom: 0.15rem;
}

.home-blog-section__heading {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1a202c;
}

.home-blog-section__all-link {
    font-size: 0.8125rem;
    color: #0d9488;
    text-decoration: none;
    white-space: nowrap;
    font-weight: 600;
}

    .home-blog-section__all-link:hover {
        color: #4670CE;
    }

.teb20-blog-card {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .teb20-blog-card:hover,
    .teb20-blog-card:focus {
        color: inherit;
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(70, 112, 206, 0.18) !important;
    }

    .teb20-blog-card .teb20-service-card__title {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 0.35rem;
    }

.teb20-blog-card__image {
    position: relative;
}

.teb20-blog-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teb20-service-card .card-image img.teb20-blog-card__img--contain {
    object-fit: contain;
    box-sizing: border-box;
    padding: 0.75rem 1rem;
    background: #f3f6fb;
}

.teb20-blog-card__tag {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 0.2rem 0.45rem;
    font-size: 0.625rem;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
    background: #4670CE;
    border-top-left-radius: 6px;
    max-width: 85%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.teb20-blog-card__link {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #4670CE;
}

    .teb20-blog-card:hover .teb20-blog-card__link {
        color: #34c5a1;
    }

@media screen and (max-width: 767px) {
    .home-clinics-section + .home-blog-section {
        padding-top: 1.25rem;
    }

    .home-clinics-section {
        padding: 1.25rem 0 1rem;
        margin-top: 1.15rem;
    }

    .home-services-section {
        margin-bottom: 0.75rem;
    }

    .home-clinics-panel {
        padding: 0.9rem 0.75rem 0.7rem;
        border-radius: 14px;
    }

    .home-clinics-section__header {
        flex-wrap: wrap;
        gap: 0.65rem;
    }

    .home-clinics-section__all-link {
        width: 100%;
        text-align: center;
    }

    .home-clinics-section__badge {
        width: 2.15rem;
        height: 2.15rem;
        font-size: 0.95rem;
    }

    .home-clinics-section__heading {
        font-size: 0.9rem;
    }

    .teb20-clinic-card--home {
        --clinic-avatar-size: 68px;
    }

    .home-blog-section {
        padding-top: 1rem;
        padding-bottom: 0.85rem;
    }

    .home-blog-section__header {
        flex-wrap: wrap;
        gap: 0.65rem;
    }

    .home-blog-section__badge {
        width: 2.15rem;
        height: 2.15rem;
        font-size: 0.9rem;
    }

    .home-blog-section__all-link {
        font-size: 0.75rem;
    }
}

.form-group div.error, .field-validation-error {
    margin-top: 5px;
    color: #ff0000;
    font-size: 0.9em;
    text-align: right;
    display: block;
}

#CapcthaBox label {
    display: none;
}

#CapcthaBox {
}

    #CapcthaBox .captchaContainer {
        float: right;
    }

    #CapcthaBox button {
        float: right;
        margin-top: 20px;
        margin-right: 5px;
    }

.btn-grey {
    background-color: #d3d4d5;
    color: #000;
}

    .btn-grey:hover {
        color: #fff;
        background-color: #6c757d;
    }

.attr-nav > ul > li.dropdown ul.dropdown-menu {
    left: 0;
    background: #fff;
    right: auto;
}

.menu_area li.user-nav .dropdown-toggle {
    display: flex;
    background-color: #fff;
    border: 2px solid #4670CE;
    padding: 8px;
    color: #4670CE;
    font-weight: 100;
}

    .menu_area li.user-nav .dropdown-toggle:hover {
        color: #fff;
        border-color: #34c5a1;
    }


    .menu_area li.user-nav .dropdown-toggle::after {
        display: inline-block;
        margin-left: .255em;
        margin-right: .55em;
        vertical-align: .255em;
        content: "";
        border-top: .3em solid;
        border-right: .3em solid transparent;
        border-bottom: 0;
        border-left: .3em solid transparent;
    }

    .menu_area li.user-nav .dropdown-toggle i {
        margin-left: .55em;
        font-size: 1.2em;
    }

/* منوی دریافت اپلیکیشن */
.menu_area .navbar-nav#nav > li.teb20-app-nav {
    position: relative;
}

/* menumaker تم، has-sub و ::after را خودکار اضافه می‌کند — فقط یک فلش نگه می‌داریم */
.menu_area .navbar-nav#nav > li.teb20-app-nav.has-sub > a::after,
.menu_area .navbar > ul > li.teb20-app-nav.has-sub > a::after {
    display: none !important;
    content: none !important;
}

.menu_area .navbar-nav#nav > li.teb20-app-nav > .submenu-button {
    display: none !important;
}

.menu_area .teb20-app-nav__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.menu_area .teb20-app-nav__caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-right: 0.15rem;
    border-top: 0.35em solid currentColor;
    border-right: 0.35em solid transparent;
    border-bottom: 0;
    border-left: 0.35em solid transparent;
    transition: transform 0.2s ease;
    flex-shrink: 0;
    vertical-align: middle;
}

.menu_area .teb20-app-nav.is-open .teb20-app-nav__caret {
    transform: rotate(180deg);
}

.menu_area .teb20-app-submenu {
    display: none !important;
    list-style: none;
    margin: 0;
    padding: 0.45rem;
    border: 1px solid rgba(70, 112, 206, 0.2);
    border-radius: 14px;
    background: #fff;
    box-sizing: border-box;
}

.menu_area .teb20-app-nav.is-open > .teb20-app-submenu {
    display: block !important;
}

.menu_area .teb20-app-nav .teb20-app-submenu.open {
    display: none !important;
}

.menu_area .teb20-app-nav.is-open > .teb20-app-submenu.open {
    display: block !important;
}

.menu_area .teb20-app-submenu > li {
    margin: 0;
}

.menu_area .teb20-app-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
    text-decoration: none;
    white-space: normal;
}

.menu_area .teb20-app-item:hover {
    background: #f1f5f9;
}

.menu_area .teb20-app-item__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.menu_area .teb20-app-item--android .teb20-app-item__icon {
    background: #0d9488;
    color: #fff;
}

.menu_area .teb20-app-item--ios .teb20-app-item__icon {
    background: #f1f5f9;
    color: #0f172a;
}

.menu_area .teb20-app-item--pwa .teb20-app-item__icon {
    background: #4670CE;
    color: #fff;
}

.menu_area .teb20-app-item__text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    line-height: 1.35;
}

.menu_area .teb20-app-item__text strong {
    font-size: 0.85rem;
    color: #0f172a;
}

.menu_area .teb20-app-item__text small {
    font-size: 0.72rem;
    color: #64748b;
}

.menu_area .teb20-app-item:hover .teb20-app-item__text strong,
.menu_area .teb20-app-item:focus .teb20-app-item__text strong {
    color: inherit;
}

@media screen and (min-width: 992px) {
    .menu_area .teb20-app-submenu {
        position: absolute;
        top: calc(100% + 6px);
        right: 0;
        left: auto;
        width: 268px;
        min-width: 268px;
        max-width: 268px;
        margin-top: 0;
        box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
        z-index: 1070;
        opacity: 0;
        visibility: hidden;
        transform: translateY(6px);
        transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
        pointer-events: none;
    }

    .menu_area .teb20-app-nav.is-open > .teb20-app-submenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
}

@media screen and (max-width: 991px) {
    .menu_area .navbar-nav#nav > li.teb20-app-nav .teb20-app-submenu {
        width: 100%;
        margin-top: 0.25rem;
        box-shadow: none;
        border: 1px dashed rgba(70, 112, 206, 0.25);
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
    }

    .menu_area #nav.open .teb20-app-nav:not(.is-open) > .teb20-app-submenu {
        display: none !important;
    }

    .menu_area .navbar-nav#nav > li.teb20-app-nav.is-open > .teb20-app-nav__toggle {
        background: #f1f5f9;
        color: #4670CE;
    }
}

.menu_area .attr-nav li.user-nav ul.dropdown-menu {
    border: 1px solid #4670CE;
    border-radius: 10px;
    padding: 10px 0;
    margin: 0;
    min-width: 160px;
}

    .menu_area .attr-nav li.user-nav ul.dropdown-menu li {
        padding: 0;
        margin: 0;
    }

        .menu_area .attr-nav li.user-nav ul.dropdown-menu li a {
            padding: 8px 10px;
        }

        .menu_area .attr-nav li.user-nav ul.dropdown-menu li a.user-nav__last-reserve {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 4px;
            width: calc(100% - 20px);
            max-width: calc(100% - 20px);
            margin: 1px auto 5px;
            padding: 5px 7px !important;
            border-radius: 8px;
            background: linear-gradient(135deg, #0f766e 0%, #0d9488 58%, #0891b2 100%);
            color: #fff !important;
            box-shadow: 0 6px 12px rgba(13, 148, 136, 0.16);
            font-size: 10px;
            font-weight: 800;
            line-height: 1.45;
            white-space: normal;
            text-align: center;
            box-sizing: border-box;
        }

            .menu_area .attr-nav li.user-nav ul.dropdown-menu li a.user-nav__last-reserve i {
                color: #fff;
                font-size: 10px;
            }

            .menu_area .attr-nav li.user-nav ul.dropdown-menu li a.user-nav__last-reserve:hover,
            .menu_area .attr-nav li.user-nav ul.dropdown-menu li a.user-nav__last-reserve:focus,
            .menu_area .attr-nav li.user-nav ul.dropdown-menu li a.user-nav__last-reserve:visited {
                padding: 5px 7px !important;
                background: linear-gradient(135deg, #0f766e 0%, #0d9488 58%, #0891b2 100%);
                color: #fff !important;
            }

            .menu_area .attr-nav li.user-nav ul.dropdown-menu li a.user-nav__last-reserve:hover,
            .menu_area .attr-nav li.user-nav ul.dropdown-menu li a.user-nav__last-reserve:focus {
                transform: translateY(-1px);
            }

        .menu_area .attr-nav li.user-nav ul.dropdown-menu .user-nav__last-reserve-divider {
            margin: 5px 14px;
        }

            .menu_area .attr-nav li.user-nav ul.dropdown-menu li a:hover {
                padding-right: 25px;
                background-color: #34c5a1cc;
                color: #fff;
            }

/* پنل پروفایل موبایل */
.teb20-profile-sheet {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1055;
    pointer-events: none;
}

    .teb20-profile-sheet.is-open {
        display: block;
        pointer-events: auto;
    }

.teb20-profile-sheet__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.38);
    animation: teb20SheetBackdropFade 0.26s ease;
}

.teb20-profile-sheet__panel {
    position: absolute;
    right: 8px;
    left: 8px;
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(70, 112, 206, 0.2);
    box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.16);
    padding: 10px 0;
    max-height: min(82vh, 560px);
    overflow-y: auto;
    transform-origin: bottom center;
    animation: teb20SheetUp 0.34s cubic-bezier(0.18, 0.89, 0.32, 1.18);
}

@keyframes teb20SheetUp {
    from {
        opacity: 0;
        transform: translateY(56px) scale(0.96);
    }

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

@keyframes teb20SheetBackdropFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.teb20-profile-sheet__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.teb20-profile-sheet__link {
    display: block;
    padding: 0.86rem 1.15rem;
    color: #334155;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: right;
    transition: background 0.15s ease, color 0.15s ease, padding 0.15s ease;
}

    .teb20-profile-sheet__user {
        display: flex;
        align-items: center;
        gap: 0.85rem;
        margin: 0 0 0.45rem;
        padding: 0.92rem 1.15rem;
        border-radius: 16px;
        background: #f3f6ff;
        color: #1e3a8a;
    }

        .teb20-profile-sheet__user:hover,
        .teb20-profile-sheet__user:focus {
            background: #e8efff;
            color: #1e3a8a;
            padding-right: 1.15rem;
        }

    .teb20-profile-sheet__user-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
        border-radius: 50%;
        background: #4670CE;
        color: #fff;
    }

    .teb20-profile-sheet__user strong,
    .teb20-profile-sheet__user small {
        display: block;
        line-height: 1.6;
    }

    .teb20-profile-sheet__user small {
        color: #64748b;
        font-size: 0.74rem;
        font-weight: 400;
    }

    .teb20-profile-sheet__link:hover,
    .teb20-profile-sheet__link:focus {
        background: rgba(52, 197, 161, 0.85);
        color: #fff;
        padding-right: 1.45rem;
    }

    .teb20-profile-sheet__link.teb20-profile-sheet__user:hover,
    .teb20-profile-sheet__link.teb20-profile-sheet__user:focus {
        background: #e8efff;
        color: #1e3a8a;
        padding-right: 1.15rem;
    }

.teb20-profile-sheet__last-reserve {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.45rem 0 0.55rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #0f766e 0%, #0d9488 58%, #0891b2 100%);
    color: #fff !important;
    box-shadow: 0 12px 24px rgba(13, 148, 136, 0.22);
    font-weight: 800;
}

    .teb20-profile-sheet__last-reserve:hover,
    .teb20-profile-sheet__last-reserve:focus,
    .teb20-profile-sheet__last-reserve:visited {
        background: linear-gradient(135deg, #0f766e 0%, #0d9488 58%, #0891b2 100%);
        color: #fff !important;
    }

    .teb20-profile-sheet__last-reserve:hover,
    .teb20-profile-sheet__last-reserve:focus {
        padding-right: 1.15rem;
        transform: translateY(-1px);
        box-shadow: 0 16px 28px rgba(13, 148, 136, 0.28);
    }

.teb20-profile-sheet__last-reserve-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.teb20-profile-sheet__link--logout {
    color: #dc3545;
}

    .teb20-profile-sheet__link--logout:hover,
    .teb20-profile-sheet__link--logout:focus {
        background: rgba(220, 53, 69, 0.12);
        color: #dc3545;
    }

.teb20-profile-sheet__divider {
    height: 1px;
    margin: 8px 14px;
    background: #e2e8f0;
}

.number::placeholder {
    text-align: center;
}

.number.text-end::placeholder {
    text-align: start;
}


/* Footer */
.teb20-footer-toggle {
    display: none;
}

.home-footer-toggle-wrap {
    display: none;
}

.footer-logo {
    max-width: 150px;
}

.footer-pic {
    width: 70px;
    background: #e4e4e4;
    border: 1px solid #4670CE;
    padding: 10px;
    border-radius: 10px;
    margin-left: 10px;
    float: right;
    text-align: center;
    margin-bottom: 10px;
}

    .footer-pic img {
        height: 55px;
    }

#logo,
.footer-logo img,
.footer-pic img {
    animation: teb20-logo-initial-spin 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
    backface-visibility: hidden;
    transform-origin: center;
    will-change: transform, opacity, filter;
}

.footer-logo img {
    animation-delay: 0.08s;
}

.footer-pic:nth-child(1) img {
    animation-delay: 0.18s;
}

.footer-pic:nth-child(2) img {
    animation-delay: 0.3s;
}

.footer-pic:nth-child(3) img {
    animation-delay: 0.42s;
}

@keyframes teb20-logo-initial-spin {
    0% {
        opacity: 0;
        filter: drop-shadow(0 0 0 rgba(72, 216, 148, 0));
        transform: rotate(-180deg) scale(0.45);
    }

    60% {
        opacity: 1;
        filter: drop-shadow(0 10px 18px rgba(72, 216, 148, 0.32));
        transform: rotate(18deg) scale(1.08);
    }

    100% {
        opacity: 1;
        filter: drop-shadow(0 0 0 rgba(72, 216, 148, 0));
        transform: rotate(0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    #logo,
    .footer-logo img,
    .footer-pic img {
        animation: none;
    }
}

/* فوتر — باکس‌های اپ و تماس */
.teb20-footer-apps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.35rem;
}

.teb20-footer-app {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 0.75rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    text-decoration: none;
    min-width: 0;
    flex: 0 1 auto;
    max-width: 168px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.teb20-footer-app:hover {
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.teb20-footer-app__icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.teb20-footer-app__text {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    line-height: 1.25;
    min-width: 0;
}

.teb20-footer-app__text strong {
    font-size: 0.76rem;
    font-weight: 700;
}

.teb20-footer-app__text small {
    font-size: 0.66rem;
    opacity: 0.88;
}

.teb20-footer-app--android {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.92), rgba(15, 118, 110, 0.95));
    color: #fff;
}

.teb20-footer-app--android .teb20-footer-app__icon {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.teb20-footer-app--ios {
    background: rgba(255, 255, 255, 0.96);
    color: #0f172a;
    border-color: rgba(255, 255, 255, 0.35);
}

.teb20-footer-app--ios .teb20-footer-app__icon {
    background: #f1f5f9;
    color: #0f172a;
}

.teb20-footer-app--ios .teb20-footer-app__text small {
    color: #64748b;
    opacity: 1;
}

.teb20-footer-app--pwa {
    background: linear-gradient(135deg, rgba(70, 112, 206, 0.95), rgba(90, 132, 232, 0.95));
    color: #fff;
}

.teb20-footer-app--pwa .teb20-footer-app__icon {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.teb20-footer-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem 0.9rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #4670CE, #5a84e8);
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 14px rgba(70, 112, 206, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.teb20-footer-contact-btn:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(70, 112, 206, 0.36);
}

.teb20-footer-contact-btn__icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
}

.teb20-footer-contact-btn__text {
    line-height: 1.2;
}

/* فوتر موبایل — در دسکتاپ همیشه نمایش داده می‌شود و در موبایل به صورت پنل بازشونده است. */
@media only screen and (max-width: 991px) {
    .teb20-footer-panel {
        max-height: 0;
        padding-bottom: 0;
        overflow: hidden;
        visibility: hidden;
        transition: max-height 0.35s ease, visibility 0.35s ease;
        border-radius: 24px 24px 0 0;
    }

        .teb20-footer-panel.is-open {
            max-height: 2400px;
            padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px));
            visibility: visible;
        }

        .teb20-footer-panel .container {
            padding-right: 1.1rem;
            padding-left: 1.1rem;
        }

        .teb20-footer-panel .row.border-bottom {
            padding-top: 1.8rem !important;
            padding-bottom: 1.5rem !important;
        }

        .teb20-footer-panel .row.py-8,
        .teb20-footer-panel .row.py-lg-9 {
            padding-top: 1rem !important;
            padding-bottom: 1rem !important;
        }

        .teb20-footer-panel .counter-img {
            max-height: 160px;
            object-fit: contain;
        }

    .home-footer-toggle-wrap {
        display: flex;
        justify-content: center;
        margin-top: 1.25rem;
        padding-bottom: 0.25rem;
    }

    .teb20-footer-toggle {
        position: relative;
        z-index: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.55rem;
        min-height: 44px;
        padding: 0.55rem 1rem;
        border: 1px solid rgba(255, 255, 255, 0.72);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.94);
        color: #1e40af;
        box-shadow: 0 12px 34px rgba(15, 23, 42, 0.18);
        -webkit-backdrop-filter: blur(18px) saturate(165%);
        backdrop-filter: blur(18px) saturate(165%);
        font-family: inherit;
        font-size: 0.78rem;
        font-weight: 800;
        white-space: nowrap;
    }

    .teb20-footer-toggle__icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: linear-gradient(135deg, #4670CE 0%, #5a84e8 100%);
        color: #fff;
        font-size: 0.78rem;
    }

    .teb20-footer-toggle.is-open {
        color: #0f766e;
    }

        .teb20-footer-toggle.is-open .teb20-footer-toggle__icon {
            background: linear-gradient(135deg, #0d9488 0%, #2dd4bf 100%);
        }
}















.no-break {
    white-space: nowrap
}


.clear {
    clear: both !important;
}

/* Small Screens */
@media screen and (max-width: 991px) {
    .navbar ul li a {
        /*color: #4670CE;*/
    }

    .menu_area .butn {
        padding: 10px;
        font-size: 0.8em;
    }

    .hs-container {
        padding: 12px 10px;
    }

    .home-search .hs-container {
        padding: 12px 10px;
    }
}

@media screen and (max-width: 768px) {
    .hs-box.open, .search-page .hs-box.open {
        height: 100%;
        width: 100%;
        position: fixed;
        top: 70px;
        right: 0;
        left: 0;
        border-radius: 0;
    }

        .hs-box.open .input .hs-icon {
            display: none;
        }

        .hs-box.open .input .hs-back {
            display: block;
        }
}

@media screen and (min-width: 992px) {
    header.scrollHeader .navbar-default {
        background-image: linear-gradient(120deg, #fff 88%, #4670CE 20%);
    }

    header.scrollHeader .navbar-header-custom {
        padding: 4px 0 !important;
    }

    .scrollHeader .attr-nav > ul > li > a {
        padding: 6px 10px;
    }

        .scrollHeader .attr-nav > ul > li > a.butn {
            padding: 6px 10px;
        }

    .scrollHeader .navbar-nav#nav > li > a {
        padding: 6px 0.45rem !important;
    }
}







































.hide {
    display: none !important;
}

/* استایل‌های مدرن برای درگاه‌های پرداخت */
.bank-item {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    transition: all 0.3s ease;
    background-color: #fff;
    cursor: pointer;
    min-height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
}

.bank-item img {
    max-width: 100%;
    height: auto;
}

.bank-item:hover {
    -webkit-filter: none;
    filter: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border-color: #0d6efd !important;
}

.bank-item.active {
    -webkit-filter: none;
    filter: none;
    background-color: #e7f1ff;
    border-color: #0d6efd !important;
    box-shadow: 0 1px 3px rgba(13, 110, 253, 0.2);
}

/* استایل‌های صفحه پیش‌نمایش رزرو */
.reserve-preview .info-item {
    transition: all 0.2s ease;
}

.reserve-preview .card {
    transition: all 0.3s ease;
}

.reserve-preview .card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1) !important;
}

.border-radius-top-10 {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* پاپ‌آپ پیشنهاد نصب اپ — اولین بازدید */
.teb20-app-install-overlay {
    position: fixed;
    inset: 0;
    z-index: 1055;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    padding-top: calc(1rem + env(safe-area-inset-top, 0px));
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.32s ease;
}

.teb20-app-install-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.teb20-app-install-overlay__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.52);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.teb20-app-install-prompt {
    position: relative;
    z-index: 1;
    max-width: 400px;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 20px;
    background: #f1f5f9;
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.22),
        0 8px 20px rgba(70, 112, 206, 0.12);
    transform: scale(0.9) translateY(12px);
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.teb20-app-install-overlay.is-visible .teb20-app-install-prompt {
    transform: scale(1) translateY(0);
}

.teb20-app-install-prompt__close {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: background 0.2s ease, color 0.2s ease;
}

.teb20-app-install-prompt__close:hover {
    background: #e2e8f0;
    color: #334155;
}

.teb20-app-install-prompt__body {
    padding: 1.15rem 1.15rem 1rem;
    text-align: center;
}

.teb20-app-install-prompt__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.65rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(70, 112, 206, 0.12);
    color: #4670CE;
    font-size: 0.72rem;
    font-weight: 700;
}

.teb20-app-install-prompt__title {
    margin: 0 0 0.35rem;
    padding: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.45;
}

.teb20-app-install-prompt__desc {
    margin: 0 0 0.85rem;
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.5;
}

.teb20-app-install-prompt__sms {
    display: block;
    width: 100%;
    margin: -0.35rem 0 0.85rem;
    padding: 0;
    border: none;
    background: transparent;
    font-size: 0.76rem;
    font-weight: 700;
    color: #4670CE;
    line-height: 1.6;
    cursor: pointer;
}

.teb20-app-install-prompt__sms:hover {
    color: #2f5fc5;
}

.teb20-app-install-prompt__feedback {
    min-height: 1rem;
    margin: -0.55rem 0 0.55rem;
    font-size: 0.72rem;
    color: #0d9488;
}

.teb20-app-install-prompt__options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}

.teb20-app-install-prompt__send-link {
    width: 100%;
    margin-bottom: 0.65rem;
    padding: 0.55rem 0.75rem;
    border: none;
    border-radius: 12px;
    background: #4670CE;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.teb20-app-install-prompt__send-link:hover {
    background: #2f5fc5;
    transform: translateY(-1px);
}

.teb20-app-install-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.35rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #fff;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.teb20-app-install-option:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    text-decoration: none;
}

.teb20-app-install-option__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.teb20-app-install-option--android .teb20-app-install-option__icon {
    background: #0d9488;
    color: #fff;
}

.teb20-app-install-option--ios .teb20-app-install-option__icon {
    background: #f1f5f9;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}

.teb20-app-install-option--pwa .teb20-app-install-option__icon {
    background: #4670CE;
    color: #fff;
}

.teb20-app-item--sms .teb20-app-item__icon {
    background: #0d9488;
    color: #fff;
}

.teb20-app-install-option__label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.2;
    text-align: center;
}

.teb20-app-install-prompt__countdown {
    margin: 0 0 0.55rem;
    font-size: 0.76rem;
    color: #64748b;
    line-height: 1.5;
}

.teb20-app-install-prompt__countdown strong {
    color: #4670CE;
    font-size: 0.9rem;
    font-weight: 800;
    min-width: 1.25rem;
    display: inline-block;
}

.teb20-app-install-prompt__progress {
    height: 4px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
    margin-bottom: 0.65rem;
}

.teb20-app-install-prompt__progress-bar {
    display: block;
    height: 100%;
    width: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #4670CE, #5a84e8);
    transform-origin: right center;
    transform: scaleX(1);
    transition: transform 1s linear;
}

.teb20-app-install-prompt__later {
    display: block;
    width: 100%;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 0.78rem;
    padding: 0.15rem 0 0;
    cursor: pointer;
    transition: color 0.2s ease;
}

.teb20-app-install-prompt__later:hover {
    color: #64748b;
}

.teb20-app-link-modal {
    position: fixed;
    inset: 0;
    z-index: 1060;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.teb20-app-link-modal.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.teb20-app-link-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.teb20-app-link-modal__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 390px;
    padding: 1.35rem 1.15rem 1rem;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
    text-align: center;
}

.teb20-app-link-modal__close {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.teb20-app-link-modal__dialog h5 {
    margin-bottom: 0.45rem;
    font-size: 1rem;
    font-weight: 700;
}

.teb20-app-link-modal__dialog p {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.7;
}

.teb20-app-link-modal__message {
    min-height: 1.2rem;
    margin: 0.65rem 0 0;
    font-size: 0.78rem;
    font-weight: 700;
}

.teb20-app-link-modal__message.is-success {
    color: #0d9488;
}

.teb20-app-link-modal__message.is-error {
    color: #dc2626;
}

.doctor-profile-page {
    --doctor-primary: #4670CE;
    --doctor-primary-dark: #3159b5;
    --doctor-primary-soft: #eef4ff;
    --doctor-accent: #34c5a1;
    --doctor-text: #172033;
    --doctor-muted: #667085;
    --doctor-border: #e6edf5;
    --doctor-card-shadow: 0 18px 45px rgba(22, 34, 51, 0.08);
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 8%, rgba(70, 112, 206, 0.16), transparent 28rem),
        linear-gradient(180deg, #f4f8fd 0%, #fbfdff 48%, #ffffff 100%) !important;
    color: var(--doctor-text);
}

.doctor-profile-page .breadcrumbs {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(230, 237, 245, 0.9);
    border-radius: 999px;
    padding: 0.65rem 1rem;
    box-shadow: 0 10px 30px rgba(22, 34, 51, 0.06);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.doctor-profile-page .doctor-profile-shell {
    padding-bottom: 2.5rem !important;
}

.doctor-profile-page .doctor-card {
    border: 1px solid rgba(214, 226, 241, 0.92) !important;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: var(--doctor-card-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.doctor-profile-page .doctor-card:hover {
    transform: translateY(-2px);
    border-color: rgba(70, 112, 206, 0.2) !important;
    box-shadow: 0 22px 55px rgba(22, 34, 51, 0.11);
}

.doctor-profile-page .doctor-card__title {
    position: relative;
    margin-bottom: 1rem !important;
    padding-right: 0.9rem;
    color: var(--doctor-text);
    font-weight: 800;
    line-height: 1.8;
}

.doctor-profile-page .doctor-card__title::before {
    content: "";
    position: absolute;
    top: 0.55rem;
    right: 0;
    width: 4px;
    height: 1.35rem;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--doctor-primary), var(--doctor-accent));
}

.doctor-profile-page .doctor-info-card p {
    color: #475467;
    line-height: 2;
}

.doctor-profile-page .doctor-empty-state {
    position: relative;
    padding: 0.85rem 1rem;
    border: 1px dashed #cbd8ea;
    border-radius: 16px;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
    color: #7a8699 !important;
    font-weight: 600;
    line-height: 1.8 !important;
}

.doctor-profile-page .doctor-empty-state::before {
    content: "\f05a";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 0.45rem;
    color: var(--doctor-primary);
}

.doctor-profile-page .doctor-tebgram-card {
    --tebgram-blue: #4670ce;
    --tebgram-teal: #34c5a1;
    --tebgram-violet: #7b61ff;
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    overflow: hidden;
    padding: 1rem 1rem 1rem 0.95rem;
    border-radius: 24px;
    border: none;
    background: transparent;
    box-shadow: 0 20px 50px rgba(24, 39, 75, 0.16);
    text-decoration: none;
    color: #fff;
    isolation: isolate;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.doctor-profile-page .doctor-tebgram-card:hover,
.doctor-profile-page .doctor-tebgram-card:focus-visible {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 28px 60px rgba(24, 39, 75, 0.22);
    color: #fff;
    text-decoration: none;
}

.doctor-profile-page .doctor-tebgram-card__border {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(120deg, #6ea8ff, #34c5a1, #7b61ff, #6ea8ff);
    background-size: 260% 260%;
    animation: doctorTebgramBorder 5s ease infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 0;
}

.doctor-profile-page .doctor-tebgram-card__bg {
    position: absolute;
    inset: 2px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 88% 12%, rgba(123, 97, 255, 0.42), transparent 34%),
        radial-gradient(circle at 12% 88%, rgba(52, 197, 161, 0.35), transparent 36%),
        linear-gradient(135deg, #1f3f78 0%, #274f92 38%, #1f6f8f 100%);
    z-index: 0;
}

.doctor-profile-page .doctor-tebgram-card__grain {
    position: absolute;
    inset: 2px;
    border-radius: 22px;
    opacity: 0.18;
    background-image: radial-gradient(rgba(255, 255, 255, 0.55) 0.6px, transparent 0.6px);
    background-size: 4px 4px;
    pointer-events: none;
    z-index: 1;
}

.doctor-profile-page .doctor-tebgram-card__reel {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    width: 4.6rem;
    height: 4.6rem;
    margin-inline-start: 0.15rem;
}

.doctor-profile-page .doctor-tebgram-card__reel-frame {
    position: absolute;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.doctor-profile-page .doctor-tebgram-card__reel-frame--back {
    inset: 0.45rem 0.2rem 0.2rem 0.55rem;
    transform: rotate(-10deg);
    background: linear-gradient(145deg, #8ec5ff, #5f7fe6);
    opacity: 0.75;
}

.doctor-profile-page .doctor-tebgram-card__reel-frame--mid {
    inset: 0.28rem 0.12rem 0.12rem 0.34rem;
    transform: rotate(-4deg);
    background: linear-gradient(145deg, #74d9c3, #3aa98d);
    opacity: 0.88;
}

.doctor-profile-page .doctor-tebgram-card__reel-frame--front {
    inset: 0;
    transform: rotate(3deg);
    border: 2px solid rgba(255, 255, 255, 0.92);
    background: #dfe9ff;
    animation: doctorTebgramFloat 3.8s ease-in-out infinite;
}

.doctor-profile-page .doctor-tebgram-card__reel-frame--front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.doctor-profile-page .doctor-tebgram-card__reel-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(8, 20, 40, 0.05), rgba(8, 20, 40, 0.28));
}

.doctor-profile-page .doctor-tebgram-card__reel-play i {
    width: 1.65rem;
    height: 1.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #1f4f95;
    font-size: 0.62rem;
    padding-inline-start: 0.12rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.doctor-profile-page .doctor-tebgram-card__content {
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
}

.doctor-profile-page .doctor-tebgram-card__badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.18rem 0.62rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #d9fff4;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.5;
    backdrop-filter: blur(6px);
}

.doctor-profile-page .doctor-tebgram-card__live-dot {
    width: 0.48rem;
    height: 0.48rem;
    border-radius: 50%;
    background: #ff5f7a;
    box-shadow: 0 0 0 0 rgba(255, 95, 122, 0.65);
    animation: doctorTebgramPulse 1.8s ease-out infinite;
}

.doctor-profile-page .doctor-tebgram-card__title {
    margin: 0;
    font-size: 1.18rem;
    font-weight: 900;
    line-height: 1.5;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}

.doctor-profile-page .doctor-tebgram-card__sub {
    display: block;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.75;
}

.doctor-profile-page .doctor-tebgram-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.15rem;
}

.doctor-profile-page .doctor-tebgram-card__chips span {
    padding: 0.12rem 0.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.68rem;
    font-weight: 700;
}

.doctor-profile-page .doctor-tebgram-card__cta {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffffff 0%, #e8f6ff 100%);
    color: #1f4f95;
    font-size: 0.8rem;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.doctor-profile-page .doctor-tebgram-card__cta i {
    font-size: 0.9rem;
    transition: transform 0.25s ease;
}

.doctor-profile-page .doctor-tebgram-card:hover .doctor-tebgram-card__cta {
    transform: translateX(-3px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.doctor-profile-page .doctor-tebgram-card:hover .doctor-tebgram-card__cta i {
    transform: translateX(-3px);
}

@keyframes doctorTebgramBorder {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes doctorTebgramPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 95, 122, 0.65); }
    70% { box-shadow: 0 0 0 8px rgba(255, 95, 122, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 95, 122, 0); }
}

@keyframes doctorTebgramFloat {
    0%, 100% { transform: rotate(3deg) translateY(0); }
    50% { transform: rotate(3deg) translateY(-3px); }
}

.doctor-profile-page .doctor-hero-card {
    overflow: hidden;
    position: relative;
    padding: 1.25rem !important;
}

.doctor-profile-page .doctor-hero-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 100%;
    background:
        radial-gradient(circle at 94% 0%, rgba(70, 112, 206, 0.18), transparent 10rem),
        radial-gradient(circle at 24% 20%, rgba(52, 197, 161, 0.12), transparent 12rem),
        linear-gradient(135deg, rgba(70, 112, 206, 0.12), rgba(255, 255, 255, 0.72) 48%, rgba(52, 197, 161, 0.08));
    pointer-events: none;
}

.doctor-profile-page .doctor-hero-card__content {
    position: relative;
    gap: 1.15rem;
    align-items: flex-start;
    min-height: 124px;
}

.doctor-profile-page .doctor-hero-card__content > .flex-grow-1 {
    min-width: 0;
    padding-top: 0.25rem;
}

.doctor-profile-page .sd-image {
    width: 112px;
    height: 112px;
}

.doctor-profile-page .doctor-hero-card__avatar,
.doctor-profile-page .sd-image img {
    width: 112px !important;
    height: 112px !important;
    border: 5px solid #fff;
    box-shadow: 0 16px 34px rgba(22, 34, 51, 0.18);
}

.doctor-profile-page .doctor-hero-card__name {
    display: block;
    margin-bottom: 0.45rem !important;
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--doctor-text);
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.doctor-profile-page .doctor-hero-card__speciality {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 0.55rem !important;
    padding: 0.32rem 0.7rem;
    border-radius: 999px;
    background: var(--doctor-primary-soft);
    color: var(--doctor-primary-dark);
    font-weight: 700 !important;
}

.doctor-profile-page .doctor-hero-card .si-icon,
.doctor-profile-page .sd-visits {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0 0 0.45rem 0.5rem;
    padding: 0.38rem 0.65rem;
    border-radius: 999px;
    background: #f8fafc;
    color: #475467;
    border: 1px solid #edf2f7;
}

.doctor-profile-page .doctor-hero-card__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.5rem;
}

.doctor-profile-page .doctor-hero-card .si-icon i,
.doctor-profile-page .sd-visits i {
    color: var(--doctor-accent) !important;
}

.doctor-profile-page .doctor-hero-card__actions {
    position: absolute;
    top: 0.35rem;
    left: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.doctor-profile-page .doctor-hero-card__actions .sd-visits {
    margin: 0;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.doctor-profile-page .doctor-detail-favorite {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 10px 24px rgba(220, 38, 38, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.doctor-profile-page .doctor-detail-favorite i {
    font-size: 1.55rem !important;
}

.doctor-profile-page .doctor-booking-column {
    position: sticky;
    top: 92px;
    z-index: 2;
}

.doctor-profile-page .doctor-booking-card {
    border-color: rgba(70, 112, 206, 0.24) !important;
}

.doctor-profile-page .doctor-booking-card__title {
    padding-left: 3.1rem;
}

.doctor-profile-page .doctor-booking-card__title::after {
    content: "\f073";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.05rem;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--doctor-primary), #6e93ec);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 24px rgba(70, 112, 206, 0.24);
}

.doctor-profile-page .doctor-clinic-card {
    border: 1px solid rgba(70, 112, 206, 0.18) !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
    box-shadow: 0 12px 28px rgba(70, 112, 206, 0.08);
}

.doctor-profile-page .doctor-clinic-card__title {
    font-weight: 800;
    color: var(--doctor-text);
}

.doctor-profile-page .doctor-clinic-card p {
    color: #536174;
    line-height: 1.9;
}

.doctor-profile-page .doctor-clinic-card__header {
    border-color: #eef4fb !important;
}

.doctor-profile-page .doctor-clinic-card__date {
    color: var(--doctor-primary-dark);
    font-weight: 800;
}

.doctor-profile-page .doctor-primary-action {
    min-width: 118px;
    border: 0 !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, var(--doctor-primary), #6c91ea) !important;
    color: #fff !important;
    box-shadow: 0 14px 28px rgba(70, 112, 206, 0.28);
}

.doctor-profile-page .doctor-primary-action:hover,
.doctor-profile-page .doctor-primary-action:focus {
    background: linear-gradient(135deg, var(--doctor-primary-dark), var(--doctor-primary)) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.doctor-profile-page .cm-avatar {
    background: var(--doctor-primary-soft);
    color: var(--doctor-primary);
    border-color: rgba(70, 112, 206, 0.22);
}

.doctor-profile-page .doc-tags a {
    border-radius: 999px;
    background: #f2f7ff;
    border: 1px solid #dce8fb;
    color: var(--doctor-primary-dark);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.doctor-profile-page .doc-tags a:hover {
    background: #e8f1ff;
    border-color: #c8dbf8;
    transform: translateY(-1px);
}

.doctor-profile-page .accordion-style .card {
    border: 1px solid #e9eff7;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: none;
}

@media screen and (max-width: 991px) {
    .doctor-profile-page .doctor-booking-column {
        position: static;
    }
}

@media screen and (max-width: 767px) {
    .doctor-profile-page {
        background: linear-gradient(180deg, #f5f9ff 0%, #ffffff 100%) !important;
    }

    .doctor-profile-page .doctor-profile-shell {
        margin-top: 0 !important;
        padding-bottom: 1.25rem !important;
    }

    .doctor-profile-page .container {
        padding-right: 0.9rem;
        padding-left: 0.9rem;
    }

    .doctor-profile-page .doctor-card {
        border-radius: 18px !important;
        box-shadow: 0 12px 30px rgba(22, 34, 51, 0.08);
    }

    .doctor-profile-page .doctor-card:hover {
        transform: none;
    }

    .doctor-profile-page .doctor-hero-card__content {
        align-items: flex-start;
        gap: 0.75rem;
        min-height: 112px;
    }

    .doctor-profile-page .sd-image,
    .doctor-profile-page .doctor-hero-card__avatar,
    .doctor-profile-page .sd-image img {
        width: 82px !important;
        height: 82px !important;
    }

    .doctor-profile-page .doctor-hero-card__name {
        font-size: 1rem;
        margin-top: 0 !important;
        padding-left: 3.1rem;
    }

    .doctor-profile-page .doctor-hero-card__actions {
        top: 0.15rem;
        left: 0.15rem;
        gap: 0.35rem;
    }

    .doctor-profile-page .doctor-hero-card__actions .sd-visits {
        display: none;
    }

    .doctor-profile-page .doctor-hero-card .si-icon,
    .doctor-profile-page .sd-visits {
        padding: 0.28rem 0.5rem;
        font-size: 0.78rem;
    }

    .doctor-profile-page .doctor-clinic-card__footer {
        align-items: stretch !important;
        flex-direction: column;
        gap: 0.75rem;
    }

    .doctor-profile-page .doctor-primary-action {
        width: 100%;
        min-height: 44px;
    }

    .doctor-profile-page .doctor-tebgram-card {
        gap: 0.7rem;
        padding: 0.85rem 0.8rem;
        border-radius: 20px;
    }

    .doctor-profile-page .doctor-tebgram-card__border,
    .doctor-profile-page .doctor-tebgram-card__bg,
    .doctor-profile-page .doctor-tebgram-card__grain {
        border-radius: 20px;
    }

    .doctor-profile-page .doctor-tebgram-card__bg,
    .doctor-profile-page .doctor-tebgram-card__grain {
        inset: 2px;
        border-radius: 18px;
    }

    .doctor-profile-page .doctor-tebgram-card__reel {
        width: 4rem;
        height: 4rem;
    }

    .doctor-profile-page .doctor-tebgram-card__title {
        font-size: 1.02rem;
    }

    .doctor-profile-page .doctor-tebgram-card__sub {
        font-size: 0.76rem;
        line-height: 1.65;
    }

    .doctor-profile-page .doctor-tebgram-card__chips {
        display: none;
    }

    .doctor-profile-page .doctor-tebgram-card__cta {
        padding: 0.48rem 0.65rem;
        font-size: 0.74rem;
    }
}

#AuthModal .auth-step-hidden {
    display: none !important;
}

#AuthModal .auth-modal-dialog {
    max-width: 400px;
    width: calc(100% - 1.5rem);
    margin: 1rem auto;
}

#AuthModal .modal-content {
    border-radius: 16px;
    border: 0;
    overflow: hidden;
}

#AuthModal .modal-header {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #eef1f5;
}

#AuthModal .modal-title {
    font-size: 1rem;
    font-weight: 700;
}

#AuthModal .modal-body.auth-modal-body {
    padding: 1rem 1.25rem 1.25rem;
}

#AuthModal .auth-modal-content {
    max-width: 100%;
    margin: 0 auto;
    text-align: right;
}

#AuthModal .auth-modal-content h5 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

#AuthModal .auth-modal-content p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

#AuthModal .form-group {
    margin-bottom: 0.85rem;
}

#AuthModal input.form-control,
#AuthModal input.validate {
    height: 44px;
    font-size: 0.95rem;
    border-radius: 10px;
}

#AuthModal .butn,
#AuthModal button.butn {
    min-height: 44px;
    font-size: 0.95rem;
    border-radius: 10px;
}

#AuthModal .auth-password-hint {
    background: #e8f7fa;
    border: 1px solid #13abc2;
    border-radius: 10px;
    color: #0d6e82;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.65;
    margin: 0.75rem 0 1rem;
    padding: 0.65rem 0.85rem;
    text-align: right;
}

#AuthModal .auth-captcha-img {
    max-width: 100%;
    height: auto;
}

#AuthModal .modal-login-error.hide,
#AuthModal .modal-phone-error.hide,
#AuthModal .modal-register-error.hide,
#AuthModal .modal-forget-error.hide {
    display: none !important;
}

@media (max-width: 575.98px) {
    #AuthModal .auth-modal-dialog {
        max-width: none;
        width: calc(100% - 1rem);
        margin: 0.5rem auto;
    }

    #AuthModal .modal-body.auth-modal-body {
        padding: 0.85rem 1rem 1rem;
    }
}