@font-face {
    font-family: 'Vazirmatn';
    src: url('Fonts/Vazirmatn/fonts/webfonts/Vazirmatn-Medium.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('Fonts/Vazirmatn/fonts/webfonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}


html, body {
    font-family: 'Vazirmatn', Helvetica, Arial, sans-serif;
}




/* ==========================================================================
   ۳. فابلت‌ها و موبایل‌های افقی (Mobile Landscape | 480px - 767px)
   ========================================================================== */
@media (min-width: 480px) and (max-width: 767px) {
    /* بهینه‌سازی گرید ویدیوکال در حالت افقی بودن گوشی برای باز شدن فضا */
    .video-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
    }

    .video-controls {
        flex-direction: row; /* دکمه‌های تماس به جای ستونی، ردیفی می‌شوند */
        bottom: 15px;
    }

    .d-lg-flex {
        display: flex !important;
    }
    .d-noneheader {
        display: none !important;
    }

}

/* ==========================================================================
   ۴. تبلت‌های عمودی (Tablet Portrait | 768px - 991px)
   ========================================================================== */
@media (min-width: 768px) {


    .d-lg-flex {
        display: flex !important;
    }

    .d-noneheader {
        display: none !important;
    }

}

/* ==========================================================================
   ۵. تبلت‌های افقی و لپ‌تاپ‌های کوچک (Tablet Landscape / Laptop | 992px - 1199px)
   ========================================================================== */
@media (min-width: 992px) {

    .d-lg-flex {
        display: flex !important;
    }
    .d-noneheader {
        display: none !important;
    }

}

/* ==========================================================================
   ۶. دسکتاپ‌های استاندارد و پیشرفته (Desktop Elite | 1200px - 1599px)
   ========================================================================== */
@media (min-width: 1200px) {
 
    .d-lg-flex {
        display: none !important;
    }
    .d-noneheader {
        display: flex !important;
    }

}

/* ==========================================================================
   ۷. مانیتورهای التراواید و دسکتاپ‌های بزرگ (Ultra-Wide Monitors >= 1600px)
   ========================================================================== */
@media (min-width: 1600px) {
 
    .d-lg-flex {
        display: none !important;
    }
    .d-noneheader {
        display: flex !important;
    }

}

/* ==========================================================================
   ۸. کلاس‌های کمکیِ پلتفرم-محور (Visibility Utility Matrix)
   ========================================================================== */
/* موبایل */
@media (max-width: 767px) {

    .d-lg-flex {
        display: flex !important;
    }
    .d-noneheader {
        display: none !important;
    }

}

/* تبلت */
@media (min-width: 768px) and (max-width: 1199px) {

    .d-lg-flex {
        display: flex !important;
    }
    .d-noneheader {
        display: none !important;
    }

}

/* دسکتاپ */
@media (min-width: 1200px) {
 
    .d-lg-flex {
        display: none !important;
    }
    .d-noneheaderheader {
        display: flex !important;
    }
}



a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* .content {
    padding-top: 1.1rem;
}
*/
h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}
.global-app-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    opacity: 1;
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.4s;
    will-change: opacity;
}

    .global-app-preloader.fade-out-loader {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

.clinic-pulse-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.clinic-pulse-logo {
    transform: translateZ(0);
    animation: clinicElasticPulse 2s infinite ease-in-out;
    will-change: transform;
}

.clinic-loading-bar {
    width: 140px;
    height: 4px;
    background-color: #f1f3f9;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

    .clinic-loading-bar::after {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 50%;
        background: linear-gradient(90deg, #6f42c1, #a951ed);
        border-radius: 10px;
        animation: clinicProgressAnim 1.5s infinite linear;
        transform: translateZ(0);
        will-change: left, width;
    }

.clinic-loading-text {
    font-family: "Vazirmatn", system-ui, -apple-system, sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

@keyframes clinicElasticPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

@keyframes clinicProgressAnim {
    0% {
        left: -50%;
        width: 30%;
    }

    50% {
        width: 40%;
    }

    100% {
        left: 100%;
        width: 30%;
    }
}
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 85vh;
    direction: rtl;
    font-family: "Vazirmatn", Tahoma, Geneva, sans-serif;
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 2.5rem;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

    .auth-card.wide-card {
        max-width: 750px;
    }

.auth-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #1e293b;
    text-align: center;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    font-size: 0.85rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.25rem;
    text-align: right;
}

    .form-group label {
        display: block;
        font-size: 0.85rem;
        color: #475569;
        margin-bottom: 0.5rem;
        font-weight: 500;
    }

.form-control {
    width: 100%;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    transition: all 0.2s ease;
}

    .form-control:focus {
        border-color: #3b82f6;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
        outline: none;
    }

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #64748b;
}

    .auth-footer a {
        color: #3b82f6;
        text-decoration: none;
        font-weight: bold;
        margin-right: 0.25rem;
    }

        .auth-footer a:hover {
            text-decoration: underline;
        }
/* استایل تب‌های سوییچینگ ورود */
.auth-tabs {
    display: flex;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 2rem;
}

.tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

    .tab-btn:hover {
        color: #3b82f6;
    }

    .tab-btn.active {
        color: #3b82f6;
        border-bottom: 2px solid #3b82f6;
        margin-bottom: -2px;
    }

/* استایل فیلد بزرگ اختصاصی کد OTP */
.otp-input {
    font-size: 1.8rem !important;
    letter-spacing: 0.8rem;
    text-align: center !important;
    font-weight: bold;
    color: #0f172a;
    background-color: #f8fafc;
    border: 2px dashed #94a3b8 !important;
    direction: ltr !important;
}

    .otp-input:focus {
        border-color: #22c55e !important;
        background-color: #ffffff;
    }

.btn-link {
    color: #3b82f6;
    font-size: 0.85rem;
    border: none;
    background: none;
    cursor: pointer;
}

    .btn-link:hover {
        text-decoration: underline;
    }
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 85vh;
    direction: rtl;
    font-family: "Vazirmatn", Tahoma, Geneva, sans-serif;
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 2.5rem;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.auth-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #1e293b;
    text-align: center;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    font-size: 0.85rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 2rem;
}

.auth-tabs {
    display: flex;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 2rem;
}

.tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

    .tab-btn:hover {
        color: #3b82f6;
    }

    .tab-btn.active {
        color: #3b82f6;
        border-bottom: 2px solid #3b82f6;
        margin-bottom: -2px;
    }

.form-group {
    margin-bottom: 1.25rem;
    text-align: right;
}

    .form-group label {
        display: block;
        font-size: 0.85rem;
        color: #475569;
        margin-bottom: 0.5rem;
        font-weight: 500;
    }

.form-control {
    width: 100%;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    transition: all 0.2s ease;
}

    .form-control:focus {
        border-color: #3b82f6;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
        outline: none;
    }

.otp-input {
    font-size: 1.8rem !important;
    letter-spacing: 0.8rem;
    text-align: center !important;
    font-weight: bold;
    color: #0f172a;
    background-color: #f8fafc;
    border: 2px dashed #94a3b8 !important;
    direction: ltr !important;
}

    .otp-input:focus {
        border-color: #22c55e !important;
        background-color: #ffffff;
    }

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #64748b;
}

    .auth-footer a {
        color: #3b82f6;
        text-decoration: none;
        font-weight: bold;
        margin-right: 0.25rem;
    }

        .auth-footer a:hover {
            text-decoration: underline;
        }

.btn-link {
    color: #3b82f6;
    font-size: 0.85rem;
    border: none;
    background: none;
    cursor: pointer;
}

    .btn-link:hover {
        text-decoration: underline;
    }

header#main-topbar {
    direction: ltr !important;
}
.btnclose {
    position: absolute;
    /*left:0px;*/
    inset-inline-end: 0px;
}
.global-app-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

html[data-bs-theme="dark"] .global-app-preloader {
    background-color: #1a1a1a;
}

.clinic-pulse-logo {
    animation: pulse 1.5s infinite ease-in-out;
}

 @keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.8;
    }
}
.global-app-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease;
}

html[data-bs-theme="dark"] .global-app-preloader {
    background-color: #1a1a1a;
}

.clinic-pulse-logo {
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.8;
    }
}


.global-app-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease;
}

html[data-bs-theme="dark"] .global-app-preloader {
    background-color: #1a1a1a;
}

.clinic-pulse-logo {
    animation: pulse 1.5s infinite ease-in-out;
}

@@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.8;
    }
}
/* استایل لودر اولیه مانیتورینگ کلینیک (فوق‌العاده سبک) */
.clinic-initial-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-color: #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999; /* مطمئن می‌شویم روی همه چیز قرار می‌گیرد */
    font-family: Tahoma, Geneva, Verdana, sans-serif;
}

.clinic-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0d6efd; /* رنگ آبی هویت کلینیک */
    border-radius: 50%;
    animation: spinClinic 1s linear infinite;
}

@@keyframes spinClinic {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.clinic-text {
    margin-top: 15px;
    color: #555;
    font-size: 15px;
    font-weight: bold;
}

.flex-around {
    justify-content: space-around;
}
.dropdownltr{
    direction:ltr;
}
/* وسط‌چین کردن کل کانتینر inner مربوط به Simplebar */
.simplebar-content {
    display: inherit ;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* تنظیمات لیست اصلی */
.navbar-nav-menu {
    display: flex;
    flex-column: column; /* اگر زیر هم هستند */
    align-items: center; /* وسط‌چین کردن آیتم‌ها */
    width: 100%;
}

    /* اگر می‌خواهید متن داخل لینک‌ها هم وسط‌چین شود */
    .navbar-nav-menu .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px; /* فاصله بین آیکون و متن */
    }
#navbar-menu-list .simplebar-content {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
}
#chatList {
    width: 98%;
}


.dir-rtl {
    direction: rtl;
    text-align: right;
}

/* کارت تاریخ‌ها */
.date-tab-btn {
    min-width: 100px;
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 12px;
    padding: 8px 16px;
    transition: all 0.2s ease;
}

    .date-tab-btn.active {
        background: #0d6efd;
        color: white !important;
        border-color: #0d6efd;
    }

        .date-tab-btn.active span {
            color: white !important;
        }

/* وضعیت‌های کارت نوبت */
.slot-card {
    background: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .slot-card:hover {
        transform: translateY(-3px);
    }

/* ۱. آزاد */
.slot-available {
    border-color: #dee2e6 !important;
}

/* ۲. انتخاب شده توسط خود کاربر (سبز کمرنگ) */
.slot-my-holding {
    background-color: #d1e7dd !important;
    border-color: #a3cfbb !important;
}

/* ۳. در حال اخذ توسط سایر بیماران (زرد) */
.slot-other-holding {
    background-color: #fff3cd !important;
    border-color: #ffe69c !important;
}

/* ۴. ثبت نهایی شده (قرمز) */
.slot-booked {
    background-color: #f8d7da !important;
    border-color: #f5c2c7 !important;
    opacity: 0.85;
}

/* تصویر پزشک */
.doctor-avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.tab-modal-backdrop {
    background: rgba(0,0,0,0.5);
}


 /*تمام کدهای انتقالی ---------------------------------->>>>>>>>>>*/
/* ==========================================
   طراحی مدرن کادر جستجوی هوشمند و انتخاب شهر
   ========================================== */
/* ==========================================
   استایل کارت دکمه‌ای استان‌ها (Province Button)
   ========================================== */

.province-card-btn {
    background-color: #f8fafc;
    color: #475569;
    border: 1.5px solid #e2e8f0 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

    .province-card-btn .province-icon {
        color: #94a3b8;
        transition: color 0.25s ease, transform 0.25s ease;
    }

    .province-card-btn .province-title {
        font-size: 0.92rem;
    }

    /* حالت Hover */
    .province-card-btn:hover {
        background-color: #ffffff;
        border-color: #1dc9b7 !important;
        color: #0f172a;
        transform: translateY(-2px);
        box-shadow: 0 8px 16px rgba(29, 201, 183, 0.12);
    }

        .province-card-btn:hover .province-icon {
            color: #1dc9b7;
            transform: scale(1.1);
        }

    /* حالت فعال / انتخاب شده (Selected / Active) */
    .province-card-btn.active {
        background: linear-gradient(135deg, #1dc9b7 0%, #13a899 100%);
        color: #ffffff !important;
        border-color: #1dc9b7 !important;
        box-shadow: 0 8px 20px rgba(29, 201, 183, 0.3);
    }

        .province-card-btn.active .province-icon,
        .province-card-btn.active .check-icon {
            color: #ffffff;
        }

        .province-card-btn.active:hover {
            transform: translateY(-1px);
            box-shadow: 0 10px 22px rgba(29, 201, 183, 0.35);
        }

/* انیمیشن کوتاه ظهور تیک انتخاب */
.check-icon {
    animation: checkScale 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes checkScale {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}
/* کانتینر اصلی با سایه هموار و لبه‌های گرد کامل */
.smart-search-wrapper {
    background-color: #ffffff;
    border: 2px solid #1dc9b7;
    border-radius: 28px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    height: 52px;
}

    .smart-search-wrapper:hover {
        border-color: #16ab9c;
        box-shadow: 0 8px 20px rgba(29, 201, 183, 0.15) !important;
    }

    .smart-search-wrapper:focus-within {
        border-color: #1dc9b7;
        box-shadow: 0 0 0 4px rgba(29, 201, 183, 0.2), 0 10px 25px rgba(0, 0, 0, 0.08) !important;
    }

/* دکمه انتخاب استان/شهر */
.btn-location-select {
    background: transparent;
    border: none !important;
    color: #4b505e;
    font-weight: 600;
    font-size: 0.95rem;
    min-width: 130px;
    max-width: 200px;
    transition: background-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
    outline: none !important;
    box-shadow: none !important;
}

    .btn-location-select:hover {
        background-color: #f4fbfb;
        color: #1dc9b7;
    }

.location-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.location-text {
    max-width: 110px;
    display: inline-block;
    vertical-align: middle;
}

.location-arrow {
    font-size: 0.75rem;
    color: #888;
    transition: transform 0.2s ease;
}

.btn-location-select:hover .location-arrow {
    transform: translateY(2px);
    color: #1dc9b7;
}

/* خط جداکننده نازک عمودی */
.search-divider {
    width: 1px;
    background-color: #e5e9f2;
    margin: 8px 0;
}

/* کادر ورودی متن (Input) */
.search-input-container {
    padding-right: 12px;
    padding-left: 12px;
}

.search-icon {
    right: 15px;
    pointer-events: none;
    color: #9aa0ac;
    font-size: 1rem;
    z-index: 2;
}

.search-input {
    height: 100%;
    padding-right: 35px !important;
    padding-left: 35px !important;
    font-size: 0.95rem;
    color: #333;
    font-weight: 500;
    box-shadow: none !important;
}

    .search-input::placeholder {
        color: #a0aec0;
        font-weight: 400;
        font-size: 0.9rem;
    }

/* دکمه پاک کردن (Clear Button) */
.btn-clear-search {
    left: 10px;
    color: #a0aec0;
    font-size: 0.9rem;
    padding: 4px 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
    z-index: 2;
}

    .btn-clear-search:hover {
        color: #e53e3e;
        background-color: #fff5f5 !important;
    }

/* ==========================================
   واکنش‌گرایی (Responsive Design Optimization)
   ========================================== */
@media (max-width: 576px) {
    .smart-search-wrapper {
        height: 48px;
        border-radius: 24px;
    }

    .btn-location-select {
        min-width: 105px;
        max-width: 130px;
        padding-left: 8px !important;
        padding-right: 8px !important;
        font-size: 0.85rem;
    }

    .location-text {
        max-width: 70px;
    }

    .search-input {
        font-size: 0.85rem;
        padding-right: 30px !important;
        padding-left: 30px !important;
    }

    .search-icon {
        right: 10px;
    }

    .btn-clear-search {
        left: 5px;
    }
}
/*اتمام تمام کدهای انتقالی ---------------------------------->>>>>>>>>>*/



.specialties-scroll-wrapper {
    scrollbar-width: thin;
    scroll-behavior: smooth;
}

.specialty-card {
    width: 125px;
    transition: all 0.25s ease-in-out;
}

    .specialty-card.more-card {
        width: 125px;
        height: 135px;
        border-style: dashed !important;
    }

.specialty-img-container {
    width: 56px;
    height: 56px;
    transition: transform 0.25s ease;
}

.hover-up:hover {
    transform: translateY(-4px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.08) !important;
}

    .hover-up:hover .specialty-img-container {
        transform: scale(1.08);
    }

.hover-scale {
    transition: transform 0.2s ease;
}

    .hover-scale:hover {
        transform: scale(1.03);
    }

.fs-7 {
    font-size: 0.75rem;
}
.custom-sticky-filter {
    position: sticky;
    top: 110px; /* این مقدار را بسته به ارتفاع دقیق هدر سایت خود تنظیم کنید (مثلاً 110 یا 120 پیکسل) */
    max-height: calc(100vh - 130px);
    overflow-y: auto;
    z-index: 1020;
}

/* سایر استایل‌ها... */
.status-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #fff;
}

.x-small {
    font-size: 0.75rem;
}

.dir-rtl {
    direction: rtl;
}

.dir-ltr {
    direction: ltr;
}

.transition-hover {
    transition: all 0.2s ease-in-out;
}

    .transition-hover:hover {
        transform: translateY(-2px);
        box-shadow: 0 .5rem 1rem rgba(0,0,0,.08) !important;
    }

.filter-scroll-box::-webkit-scrollbar {
    width: 4px;
}

.filter-scroll-box::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}