:root {
    --emerald-900: #7E2232;
    --emerald-800: #A63446;
    --emerald-700: #C24B5E;
    --emerald-100: #F8E2E6;
    --emerald-50: #FDF3F5;
    --gold-500: #C89F5D;
    --gold-300: #E5C996;
    --bg-pearl: #FAF6F6;
    --surface: #FFFFFF;
    --text-main: #2A1B1E;
    --text-muted: #765E63;
    --border-soft: rgba(166, 52, 70, 0.11);
    --shadow-sm: 0 4px 14px rgba(166, 52, 70, 0.06);
    --shadow-md: 0 12px 30px rgba(166, 52, 70, 0.09);
    --shadow-lg: 0 20px 44px rgba(166, 52, 70, 0.14);
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --online: #16A34A;
    --offline: #94A3B8;
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Vazirmatn', system-ui, -apple-system, Tahoma, sans-serif;
    background: var(--bg-pearl);
    color: var(--text-main);
    line-height: 1.7;
    min-height: 100vh;
}

body {
    padding-bottom: 92px;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button, input, select {
    font-family: inherit;
}

.hidden {
    display: none !important;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 18px;
}

/* Header */
.app-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: linear-gradient(135deg, var(--emerald-900) 0%, var(--emerald-800) 60%, var(--emerald-700) 100%);
    color: #fff;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(126, 34, 50, 0.18);
}

.header-botanical {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.9;
}

.header-botanical svg {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 340px;
}

.header-inner {
    position: relative;
    z-index: 2;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(229, 201, 150, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.brand-title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.2px;
}

.pwa-install-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.pwa-install-btn:hover {
    background: rgba(255, 255, 255, 0.24);
    transform: translateY(-1px);
}

/* Main Section */
.page-section {
    padding-top: 22px;
    padding-bottom: 24px;
}

/* Filter Bar (بدون عنوان مشاورین در بالا، کل کشور/استان کنار جستجو) */
.filter-bar {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    margin-bottom: 22px;
}

.filter-bar.no-margin {
    margin-bottom: 14px;
}

.search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--surface);
    border: 1.5px solid var(--border-soft);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-input-wrap:focus-within {
    border-color: var(--emerald-800);
    box-shadow: 0 0 0 4px rgba(166, 52, 70, 0.08);
}

.search-icon {
    position: absolute;
    right: 14px;
    color: var(--text-muted);
    pointer-events: none;
}

.search-input-wrap input {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 13px 44px 13px 14px;
    font-size: 0.95rem;
    color: var(--text-main);
    outline: none;
}

.province-select-wrap select {
    height: 100%;
    min-width: 138px;
    background: var(--surface);
    border: 1.5px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--emerald-900);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    outline: none;
}

.province-select-wrap select:focus {
    border-color: var(--emerald-800);
}

.filter-submit-btn {
    background: var(--emerald-800);
    color: #fff;
    border: 0;
    border-radius: var(--radius-md);
    padding: 0 20px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: background 0.2s ease, transform 0.2s ease;
}

.filter-submit-btn:hover {
    background: var(--emerald-900);
    transform: translateY(-1px);
}

/* Therapists Grid & Cards */
.therapists-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.therapist-card {
    position: relative;
    background: var(--surface);
    border: 1px solid rgba(200, 159, 93, 0.25);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    overflow: hidden;
}

.therapist-card::after {
    content: "";
    position: absolute;
    left: -18px;
    bottom: -18px;
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, rgba(248, 226, 230, 0.9) 0%, rgba(248, 226, 230, 0) 70%);
    pointer-events: none;
}

.therapist-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(166, 52, 70, 0.28);
}

.therapist-card-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-left: 34px;
}

.therapist-avatar-box {
    position: relative;
    flex-shrink: 0;
    width: 84px;
    height: 84px;
}

.therapist-avatar-box img {
    width: 84px;
    height: 84px;
    border-radius: 18px;
    object-fit: cover;
    border: 2px solid var(--emerald-100);
    background: var(--emerald-50);
}

.avatar-status-dot {
    position: absolute;
    bottom: -3px;
    right: -3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid #fff;
}

.avatar-status-dot.online {
    background: var(--online);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18);
}

.avatar-status-dot.offline {
    background: var(--offline);
}

.therapist-info {
    min-width: 0;
    flex: 1;
}

.therapist-name {
    margin: 0 0 2px;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.therapist-specialty {
    margin: 0 0 8px;
    font-size: 0.86rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.therapist-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.status-pill .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.status-pill.is-online {
    background: rgba(22, 163, 74, 0.11);
    color: #15803D;
}

.status-pill.is-online .dot {
    background: var(--online);
}

.status-pill.is-offline {
    background: rgba(148, 163, 184, 0.16);
    color: #475569;
}

.status-pill.is-offline .dot {
    background: var(--offline);
}

.province-chip {
    background: var(--emerald-50);
    color: var(--emerald-800);
    border: 1px solid rgba(166, 52, 70, 0.12);
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 600;
}

.therapist-rate {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.therapist-rate strong {
    color: var(--emerald-800);
    font-weight: 800;
}

.bookmark-btn {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    border: 1px solid var(--border-soft);
    background: var(--bg-pearl);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bookmark-btn:hover {
    border-color: var(--emerald-800);
    color: var(--emerald-800);
}

.bookmark-btn.saved {
    background: var(--emerald-100);
    color: var(--emerald-800);
    border-color: var(--emerald-800);
}

.bookmark-btn.saved svg {
    fill: var(--emerald-800);
}

/* Therapist Detail Page */
.breadcrumb-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.back-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--emerald-900);
    box-shadow: var(--shadow-sm);
}

.bookmark-btn-lg {
    position: static;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.therapist-detail-card {
    background: var(--surface);
    border: 1px solid rgba(200, 159, 93, 0.28);
    border-radius: 28px;
    padding: 28px;
    box-shadow: var(--shadow-md);
}

.detail-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 32px;
    align-items: start;
}

.detail-portrait-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: var(--emerald-50);
    border: 3px solid rgba(200, 159, 93, 0.35);
    box-shadow: var(--shadow-md);
    aspect-ratio: 1 / 1;
}

.detail-portrait-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.verified-seal {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563EB, #1D4ED8);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    box-shadow: 0 6px 16px rgba(29, 78, 216, 0.32);
}

.detail-top-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.status-pill-lg {
    padding: 6px 14px;
    font-size: 0.85rem;
}

.province-chip-lg {
    padding: 5px 14px;
    font-size: 0.84rem;
}

.detail-name {
    margin: 0 0 4px;
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--emerald-900);
}

.detail-specialty {
    margin: 0 0 18px;
    font-size: 1.05rem;
    color: var(--text-muted);
    font-weight: 500;
}

.detail-rate-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--emerald-50);
    border: 1px solid rgba(166, 52, 70, 0.14);
    border-radius: var(--radius-md);
    padding: 13px 18px;
    margin-bottom: 20px;
}

.rate-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

.rate-value strong {
    font-size: 1.15rem;
    color: var(--emerald-800);
}

.rate-value span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.gold-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200, 159, 93, 0.55), transparent);
    margin: 18px 0;
}

.detail-bio-block h2 {
    margin: 0 0 8px;
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--emerald-900);
}

.detail-bio-block p {
    margin: 0 0 24px;
    color: var(--text-main);
    font-size: 0.96rem;
    line-height: 1.9;
}

.btn-call-internet {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--emerald-800) 0%, var(--emerald-700) 100%);
    color: #fff;
    border: 0;
    border-radius: 18px;
    padding: 16px 24px;
    font-size: 1.06rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(166, 52, 70, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-call-internet:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(166, 52, 70, 0.34);
}

.btn-call-offline {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #E2E8F0;
    color: #64748B;
    border: 0;
    border-radius: 18px;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 700;
    cursor: not-allowed;
}

.media-intro-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 26px;
}

.media-intro-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--emerald-50);
    border: 1.5px solid rgba(166, 52, 70, 0.14);
    border-radius: 18px;
    padding: 14px 18px;
    text-align: right;
    cursor: pointer;
    transition: all 0.2s ease;
}

.media-intro-btn:hover {
    background: var(--emerald-100);
    border-color: var(--emerald-800);
    transform: translateY(-2px);
}

.media-icon-circle {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--emerald-800);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.media-text {
    display: flex;
    flex-direction: column;
}

.media-text strong {
    font-size: 0.98rem;
    color: var(--emerald-900);
}

.media-text small {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Search Panel */
.search-panel-card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 18px;
}

.online-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--emerald-900);
    user-select: none;
}

.online-filter-toggle input {
    display: none;
}

.toggle-track {
    width: 44px;
    height: 24px;
    background: #CBD5E1;
    border-radius: 999px;
    position: relative;
    transition: background 0.2s ease;
}

.toggle-track::after {
    content: "";
    position: absolute;
    top: 3px;
    right: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.online-filter-toggle input:checked + .toggle-track {
    background: var(--emerald-800);
}

.online-filter-toggle input:checked + .toggle-track::after {
    transform: translateX(-20px);
}

.results-count-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.clear-filter-link {
    color: var(--emerald-800);
    font-weight: 700;
}

/* Section Heading */
.section-heading {
    margin-bottom: 18px;
}

.section-heading h1 {
    margin: 0 0 4px;
    font-size: 1.35rem;
    color: var(--emerald-900);
}

.section-heading p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Auth / OTP Attractive Login Page */
.auth-page-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 28px;
}

.auth-hero-card {
    width: 100%;
    max-width: 480px;
    background: var(--surface);
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(200, 159, 93, 0.3);
    box-shadow: var(--shadow-lg);
}

.auth-hero-top {
    position: relative;
    background: linear-gradient(145deg, var(--emerald-900) 0%, var(--emerald-800) 58%, #B84053 100%);
    color: #fff;
    padding: 34px 26px 28px;
    text-align: center;
    overflow: hidden;
}

.auth-glow-orb {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 201, 150, 0.28) 0%, rgba(229, 201, 150, 0) 70%);
    top: -90px;
    left: -40px;
    pointer-events: none;
}

.auth-shield-badge {
    width: 62px;
    height: 62px;
    margin: 0 auto 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(229, 201, 150, 0.45);
    color: var(--gold-300);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.auth-hero-top h1 {
    margin: 0 0 6px;
    font-size: 1.5rem;
    font-weight: 800;
}

.auth-hero-top p {
    margin: 0;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.85);
}

.auth-card-body {
    padding: 26px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.fancy-field label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--emerald-900);
    margin-bottom: 7px;
}

.fancy-input-box {
    display: flex;
    align-items: center;
    background: var(--bg-pearl);
    border: 1.5px solid var(--border-soft);
    border-radius: 16px;
    padding: 0 14px;
    transition: all 0.2s ease;
}

.fancy-input-box:focus-within {
    background: #fff;
    border-color: var(--emerald-800);
    box-shadow: 0 0 0 4px rgba(166, 52, 70, 0.09);
}

.field-icon {
    color: var(--emerald-700);
    display: inline-flex;
    margin-left: 10px;
}

.fancy-input-box input {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 14px 4px;
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-main);
    outline: none;
}

.field-hint {
    display: block;
    margin-top: 5px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.field-hint.is-valid {
    color: #15803D;
}

.field-hint.is-invalid {
    color: #B91C1C;
}

.btn-auth-submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--emerald-800) 0%, var(--emerald-700) 100%);
    color: #fff;
    border: 0;
    border-radius: 16px;
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(166, 52, 70, 0.24);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-auth-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(166, 52, 70, 0.32);
}

.auth-trust-strip {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid var(--border-soft);
    display: flex;
    justify-content: space-around;
    gap: 10px;
    flex-wrap: wrap;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

.trust-item svg {
    color: var(--gold-500);
}

.otp-preview-box {
    text-align: center;
}

.otp-status-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: rgba(22, 163, 74, 0.12);
    color: #15803D;
    display: flex;
    align-items: center;
    justify-content: center;
}

.otp-boxes-demo {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 18px 0;
}

.otp-digit {
    width: 48px;
    height: 54px;
    border-radius: 14px;
    border: 1.5px solid var(--border-soft);
    background: var(--bg-pearl);
    text-align: center;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--emerald-900);
    outline: none;
}

.otp-digit:focus {
    border-color: var(--emerald-800);
    background: #fff;
}

.stage-note {
    font-size: 0.86rem;
    color: var(--text-muted);
    background: var(--emerald-50);
    padding: 12px 14px;
    border-radius: 14px;
    margin: 14px 0 18px;
}

/* Alerts & Empty States */
.alert-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.alert-error {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

.alert-success {
    background: #F0FDF4;
    color: #166534;
    border: 1px solid #BBF7D0;
}

.alert-warn {
    background: #FFFBEB;
    color: #92400E;
    border: 1px solid #FDE68A;
}

.empty-state-card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 24px;
    padding: 40px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.empty-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 14px;
    border-radius: 22px;
    background: var(--emerald-50);
    color: var(--emerald-800);
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-state-card h2 {
    margin: 0 0 6px;
    font-size: 1.15rem;
    color: var(--emerald-900);
}

.empty-state-card p {
    margin: 0 0 18px;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.btn-outline, .btn-primary-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 700;
}

.btn-outline {
    border: 1.5px solid var(--emerald-800);
    color: var(--emerald-800);
}

.btn-primary-inline {
    background: var(--emerald-800);
    color: #fff;
}

/* Modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(126, 34, 50, 0.55);
    backdrop-filter: blur(4px);
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.modal-card {
    width: 100%;
    max-width: 520px;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-soft);
}

.modal-header h3 {
    margin: 0;
    font-size: 1.05rem;
    color: var(--emerald-900);
}

.modal-close {
    background: var(--bg-pearl);
    border: 0;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--text-main);
}

.modal-body {
    padding: 20px;
    text-align: center;
}

.modal-body audio, .modal-body video {
    width: 100%;
    border-radius: 14px;
}

/* Bottom Navigation (4 Exact Menus) */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--border-soft);
    box-shadow: 0 -6px 24px rgba(166, 52, 70, 0.08);
    padding-bottom: env(safe-area-inset-bottom);
}

.bottom-nav-inner {
    max-width: 720px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding: 8px 10px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 7px 6px;
    border-radius: 16px;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.nav-item.active {
    background: var(--emerald-100);
    color: var(--emerald-800);
}

.nav-item:hover:not(.active) {
    color: var(--emerald-800);
}

/* Toast */
.toast {
    position: fixed;
    bottom: 94px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--emerald-900);
    color: #fff;
    padding: 11px 20px;
    border-radius: 14px;
    font-size: 0.88rem;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
    z-index: 90;
    box-shadow: var(--shadow-md);
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Installer Page */
.installer-body {
    padding-bottom: 32px;
}

.installer-wrap {
    max-width: 680px;
    margin: 32px auto;
    padding: 0 16px;
}

.installer-wrap .auth-hero-card {
    max-width: 100%;
}

.installer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

/* Responsive Breakpoints (Tablet & Mobile) */
@media (max-width: 960px) {
    .therapists-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .detail-grid {
        grid-template-columns: 280px 1fr;
        gap: 22px;
    }
}

@media (max-width: 680px) {
    .filter-bar {
        grid-template-columns: 1fr auto;
    }
    .filter-submit-btn {
        grid-column: 1 / -1;
        padding: 12px;
    }
    .therapists-grid {
        grid-template-columns: 1fr;
    }
    .detail-grid {
        grid-template-columns: 1fr;
    }
    .detail-portrait-frame {
        max-width: 280px;
        margin: 0 auto;
    }
    .therapist-detail-card {
        padding: 18px;
        border-radius: 22px;
    }
    .detail-name {
        font-size: 1.45rem;
    }
    .media-intro-grid {
        grid-template-columns: 1fr;
    }
    .installer-grid {
        grid-template-columns: 1fr;
    }
}


/* ================= STAGE 2: PROFILE PANEL & DEDICATED FORMS ================= */
.profile-section {
    max-width: 760px;
}

.guest-profile-card {
    background: var(--surface);
    border: 1px solid rgba(200, 159, 93, 0.3);
    border-radius: 28px;
    padding: 40px 26px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.guest-emblem {
    width: 76px;
    height: 76px;
    margin: 0 auto 16px;
    border-radius: 24px;
    background: var(--emerald-50);
    color: var(--emerald-800);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(166, 52, 70, 0.14);
}

.guest-profile-card h1 {
    margin: 0 0 8px;
    font-size: 1.45rem;
    color: var(--emerald-900);
}

.guest-profile-card p {
    margin: 0 auto 24px;
    max-width: 420px;
    color: var(--text-muted);
    font-size: 0.94rem;
}

.guest-login-btn {
    max-width: 300px;
    margin: 0 auto;
}

.profile-identity-card {
    background: linear-gradient(135deg, var(--emerald-100) 0%, #FCECEF 100%);
    border: 1.5px solid rgba(166, 52, 70, 0.14);
    border-radius: 24px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    box-shadow: var(--shadow-sm);
}

.profile-id-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.profile-avatar-img {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    object-fit: cover;
    border: 2.5px solid #fff;
    box-shadow: var(--shadow-sm);
    background: #fff;
}

.profile-user-name {
    margin: 0 0 6px;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--emerald-900);
}

.profile-sub-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.role-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
}

.badge-approved { background: rgba(22, 163, 74, 0.14); color: #15803D; }
.badge-pending  { background: rgba(217, 119, 6, 0.15); color: #B45309; }
.badge-suspended{ background: rgba(220, 38, 38, 0.13); color: #B91C1C; }
.badge-user     { background: rgba(166, 52, 70, 0.12); color: var(--emerald-800); }

.wallet-mini-pill {
    font-size: 0.8rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.75);
    padding: 3px 10px;
    border-radius: 999px;
}

.wallet-mini-pill strong {
    color: var(--emerald-800);
}

/* Online / Offline Switch */
.online-switch-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    background: #fff;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-sm);
    user-select: none;
}

.online-switch-label input { display: none; }

.switch-slider {
    width: 44px;
    height: 24px;
    border-radius: 999px;
    background: #CBD5E1;
    position: relative;
    transition: background 0.2s ease;
}

.switch-slider::after {
    content: "";
    position: absolute;
    top: 3px;
    right: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.online-switch-label input:checked + .switch-slider {
    background: var(--online);
}

.online-switch-label input:checked + .switch-slider::after {
    transform: translateX(-20px);
}

.switch-text {
    font-size: 0.86rem;
    font-weight: 800;
}

.switch-text.is-on { color: #15803D; }
.switch-text.is-off { color: #64748B; }

/* Profile Menu List */
.profile-menu-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-menu-row {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    padding: 14px 16px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.profile-menu-row:hover {
    transform: translateY(-2px);
    border-color: var(--emerald-800);
    box-shadow: var(--shadow-md);
}

.pm-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: var(--emerald-50);
    color: var(--emerald-800);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pm-title {
    flex: 1;
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--text-main);
}

.pm-arrow {
    color: var(--text-muted);
    display: inline-flex;
}

.profile-menu-row.row-danger .pm-icon {
    background: #FEF2F2;
    color: #B91C1C;
}

.profile-menu-row.row-danger .pm-title {
    color: #B91C1C;
}

/* Dedicated Sub-Page Cards */
.panel-page-wrap {
    max-width: 720px;
}

.panel-form-card {
    background: var(--surface);
    border: 1px solid rgba(200, 159, 93, 0.25);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.panel-form-card h1, .panel-form-card h2 {
    margin: 0 0 6px;
    font-size: 1.25rem;
    color: var(--emerald-900);
}

.panel-subtitle {
    margin: 0 0 18px;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.province-select-wrap.full-w select {
    width: 100%;
}

.fancy-textarea {
    width: 100%;
    border: 1.5px solid var(--border-soft);
    background: var(--bg-pearl);
    border-radius: 16px;
    padding: 13px 14px;
    font-size: 0.95rem;
    color: var(--text-main);
    outline: none;
    resize: vertical;
}

.fancy-textarea:focus {
    background: #fff;
    border-color: var(--emerald-800);
}

.fancy-file-input {
    width: 100%;
    padding: 12px;
    border: 1.5px dashed rgba(166, 52, 70, 0.28);
    border-radius: 14px;
    background: var(--emerald-50);
    font-size: 0.88rem;
}

.uploaded-preview-box {
    margin-top: 10px;
}

.uploaded-preview-box audio, .uploaded-preview-box video {
    width: 100%;
    border-radius: 12px;
}

.avatar-upload-preview {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.avatar-upload-preview img {
    width: 140px;
    height: 140px;
    border-radius: 28px;
    object-fit: cover;
    border: 3px solid var(--emerald-100);
    box-shadow: var(--shadow-sm);
}

.status-banner-inline {
    background: var(--emerald-50);
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.wallet-balance-banner {
    background: linear-gradient(135deg, var(--emerald-900), var(--emerald-700));
    color: #fff;
    border-radius: 22px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    box-shadow: var(--shadow-md);
}

.wallet-balance-banner strong {
    font-size: 1.35rem;
}

.finance-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.fin-stat-card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    padding: 16px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fin-stat-card span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.fin-stat-card strong {
    font-size: 1.1rem;
    color: var(--emerald-900);
}

.records-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.record-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--bg-pearl);
    border: 1px solid var(--border-soft);
}

.record-item strong {
    display: block;
    font-size: 0.92rem;
    color: var(--text-main);
}

.record-item small {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.otp-summary-chip {
    text-align: center;
    background: var(--emerald-50);
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.9rem;
    color: var(--emerald-900);
}

.auth-secondary-row {
    text-align: center;
}

.text-link-emerald {
    color: var(--emerald-800);
    font-weight: 700;
    font-size: 0.88rem;
}


/* ================= STAGE 3: WEBRTC CALL & WALLET CHIPS ================= */
.quick-amounts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip-amount {
    background: var(--emerald-50);
    color: var(--emerald-800);
    border: 1px solid rgba(166, 52, 70, 0.16);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
}

.chip-amount:hover {
    background: var(--emerald-100);
}

.call-stage-card {
    background: linear-gradient(160deg, var(--emerald-900) 0%, var(--emerald-800) 65%, #B84053 100%);
    color: #fff;
    border-radius: 30px;
    padding: 36px 24px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.call-pulse-wrap {
    width: 124px;
    height: 124px;
    margin: 0 auto 18px;
    border-radius: 50%;
    padding: 4px;
    background: rgba(229, 201, 150, 0.35);
    box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.06);
}

.call-peer-avatar {
    width: 116px;
    height: 116px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
}

.call-peer-name {
    margin: 0 0 6px;
    font-size: 1.5rem;
    font-weight: 800;
}

.call-status-label {
    margin: 0 0 18px;
    font-size: 0.94rem;
    color: var(--gold-300);
}

.call-timer-box {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.call-billing-strip {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 16px;
    border-radius: 16px;
    font-size: 0.88rem;
    margin-bottom: 26px;
}

.call-controls-bar {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.call-ctrl-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 96px;
    padding: 14px 18px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
}

.call-ctrl-btn.is-muted {
    background: rgba(229, 201, 150, 0.25);
    color: var(--gold-300);
}

.call-ctrl-btn.btn-hangup {
    background: #DC2626;
    border-color: #DC2626;
}

.incoming-call-banner {
    position: fixed;
    top: 78px;
    left: 50%;
    transform: translateX(-50%);
    width: min(92%, 440px);
    background: var(--emerald-900);
    color: #fff;
    border: 1.5px solid var(--gold-300);
    border-radius: 20px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    z-index: 95;
    box-shadow: var(--shadow-lg);
}

.incoming-call-info strong {
    display: block;
    font-size: 0.92rem;
    color: var(--gold-300);
}

.incoming-call-info span {
    font-size: 0.86rem;
}

.incoming-call-actions {
    display: flex;
    gap: 8px;
}

.btn-accept-call {
    background: #16A34A;
    color: #fff;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
}

.btn-reject-call {
    background: #DC2626;
    color: #fff;
    border: 0;
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
}


/* ================= STAGE 4: SHARE & REPORT BUTTONS ================= */
.detail-top-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.action-icon-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--emerald-900);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.18s ease;
}

.action-icon-pill:hover {
    border-color: var(--emerald-800);
    background: var(--emerald-50);
}

.action-icon-pill.pill-report {
    color: #B91C1C;
    border-color: rgba(185, 28, 28, 0.22);
}

.action-icon-pill.pill-report:hover {
    background: #FEF2F2;
    border-color: #B91C1C;
}


/* ================= STAGE 4 V2: LIVE SEARCH, LOCATION ICON, SHARP FLUSH CARDS & FULL-BLEED THERAPIST HERO ================= */
.live-filter-bar {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 20px;
}

.live-search-box {
    flex: 1;
}

.province-icon-dropdown {
    position: relative;
}

.province-icon-btn {
    height: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 14px;
    background: linear-gradient(135deg, var(--emerald-800), var(--emerald-700));
    color: #fff;
    border: 0;
    border-radius: var(--radius-md);
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.province-icon-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.province-popover {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 220px;
    max-height: 300px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid rgba(166, 52, 70, 0.16);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 6px;
    z-index: 60;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.prov-option {
    width: 100%;
    text-align: right;
    background: transparent;
    border: 0;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
}

.prov-option:hover {
    background: var(--emerald-50);
    color: var(--emerald-800);
}

.prov-option.selected {
    background: var(--emerald-800);
    color: #fff;
}

/* Sharp Rectangular Therapist Cards with Larger Edge-to-Edge Flush Photo (Zero Gap) */
.therapist-card-sharp {
    border-radius: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid rgba(166, 52, 70, 0.14);
}

.therapist-card-sharp::after {
    display: none;
}

.sharp-link {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 0;
    min-height: 136px;
}

.therapist-avatar-flush {
    position: relative;
    width: 126px;
    min-width: 126px;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    background: var(--emerald-50);
}

.therapist-avatar-flush img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 !important;
    border: 0 !important;
    display: block;
}

.flush-status-dot {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 2.5px solid #fff;
}

.flush-status-dot.online {
    background: var(--online);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.25);
}

.flush-status-dot.offline {
    background: var(--offline);
}

.sharp-info {
    padding: 14px 14px 14px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bookmark-btn-sharp {
    border-radius: 0 !important;
    top: 10px;
    left: 10px;
}

/* Full-Bleed Edge-to-Edge Therapist Showcase Page */
.therapist-showcase {
    padding-bottom: 24px;
}

.therapist-fullbleed-hero {
    position: relative;
    width: 100%;
    height: clamp(320px, 50vw, 480px);
    overflow: hidden;
    background: var(--emerald-900);
}

.fullbleed-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
    display: block;
}

.hero-gradient-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(126, 34, 50, 0.22) 0%, rgba(126, 34, 50, 0.08) 42%, rgba(126, 34, 50, 0.88) 100%);
    pointer-events: none;
}

.hero-floating-back {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(126, 34, 50, 0.62);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-overlay-identity {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    z-index: 4;
    color: #fff;
}

.hero-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.hero-status-chip, .hero-verified-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.hero-status-chip.is-online {
    background: rgba(22, 163, 74, 0.28);
    border: 1px solid rgba(134, 239, 172, 0.5);
    color: #DCFCE7;
}

.hero-status-chip.is-offline {
    background: rgba(100, 116, 139, 0.45);
    border: 1px solid rgba(226, 232, 240, 0.35);
    color: #F1F5F9;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.hero-verified-chip {
    background: rgba(229, 201, 150, 0.22);
    border: 1px solid rgba(229, 201, 150, 0.55);
    color: #F8E8C8;
}

.hero-therapist-name {
    margin: 0 0 4px;
    font-size: clamp(1.55rem, 3.5vw, 2.25rem);
    font-weight: 800;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero-therapist-spec {
    margin: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Under-Photo Action Bar (نشان، اشتراک‌گذاری، گزارش تخلف) */
.under-photo-actions-bar {
    background: #fff;
    border-bottom: 1px solid var(--border-soft);
    box-shadow: 0 4px 16px rgba(166, 52, 70, 0.05);
    margin-bottom: 22px;
}

.under-photo-actions-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.under-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 8px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: var(--bg-pearl);
    color: var(--emerald-900);
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s ease;
}

.under-action-btn:hover {
    background: var(--emerald-50);
    border-color: rgba(166, 52, 70, 0.18);
}

.under-action-btn.saved {
    background: var(--emerald-100);
    color: var(--emerald-800);
    border-color: var(--emerald-800);
}

.under-action-btn.saved svg {
    fill: var(--emerald-800);
}

.under-action-report {
    color: #B91C1C;
    background: #FEF2F2;
}

.under-action-report:hover {
    background: #FEE2E2;
    border-color: rgba(185, 28, 28, 0.3);
}

/* Highlights Grid (تعرفه، تاریخ شروع همکاری شمسی، استان) */
.therapist-highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.highlight-tile {
    background: #fff;
    border: 1px solid rgba(200, 159, 93, 0.25);
    border-radius: 18px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-sm);
}

.tile-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: var(--emerald-50);
    color: var(--emerald-800);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-tile small {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.highlight-tile strong {
    font-size: 0.96rem;
    color: var(--emerald-900);
}

.btn-call-lux {
    border-radius: 18px;
    padding: 17px 24px;
    font-size: 1.08rem;
}

.showcase-bio-card {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 22px;
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.showcase-bio-card h2 {
    margin: 0;
    font-size: 1.12rem;
    color: var(--emerald-900);
}

.showcase-bio-card p {
    margin: 0;
    color: var(--text-main);
    font-size: 0.96rem;
    line-height: 1.95;
}

.showcase-extra-meta {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border-soft);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.showcase-extra-meta strong {
    color: var(--emerald-900);
}

@media (max-width: 720px) {
    .therapist-highlights-grid {
        grid-template-columns: 1fr;
    }
    .therapist-avatar-flush {
        width: 118px;
        min-width: 118px;
    }
    .prov-badge-text {
        max-width: 82px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}


/* ================= REALISTIC VOICE CALL BUTTON & VOIP INTERFACE ================= */
.btn-voice-call-real {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: linear-gradient(135deg, #7E2232 0%, #A63446 52%, #C24B5E 100%);
    color: #fff;
    border: 1.5px solid rgba(229, 201, 150, 0.4);
    border-radius: 22px;
    padding: 14px 18px;
    box-shadow: 0 14px 32px rgba(166, 52, 70, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-voice-call-real:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(166, 52, 70, 0.38);
}

.voice-btn-ring {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(22, 163, 74, 0.92);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.25);
    animation: voicePulse 2s infinite;
}

@keyframes voicePulse {
    0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.55); }
    70% { box-shadow: 0 0 0 12px rgba(22, 163, 74, 0); }
    100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

.voice-btn-copy {
    flex: 1;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.voice-btn-copy strong {
    font-size: 1.08rem;
    font-weight: 800;
}

.voice-btn-copy small {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.85);
}

.voice-live-wave {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    height: 24px;
}

.voice-live-wave i {
    display: block;
    width: 3px;
    border-radius: 4px;
    background: #E5C996;
    animation: miniWave 1.1s ease-in-out infinite alternate;
}

.voice-live-wave i:nth-child(1) { height: 10px; animation-delay: 0s; }
.voice-live-wave i:nth-child(2) { height: 20px; animation-delay: 0.18s; }
.voice-live-wave i:nth-child(3) { height: 14px; animation-delay: 0.36s; }
.voice-live-wave i:nth-child(4) { height: 8px; animation-delay: 0.54s; }

@keyframes miniWave {
    from { transform: scaleY(0.45); opacity: 0.65; }
    to { transform: scaleY(1.1); opacity: 1; }
}

.voip-stage-card {
    background: radial-gradient(circle at top center, #B84053 0%, #A63446 45%, #5E1724 100%);
    color: #fff;
    border-radius: 32px;
    padding: 24px 22px 32px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(229, 201, 150, 0.25);
}

.voip-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 0.78rem;
}

.voip-enc-badge, .voip-signal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 11px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.9);
}

.sig-bar {
    display: inline-block;
    width: 3px;
    border-radius: 2px;
    background: #4ADE80;
}
.sig-bar.b1 { height: 6px; }
.sig-bar.b2 { height: 10px; }
.sig-bar.b3 { height: 14px; }

.voip-avatar-stage {
    margin-bottom: 18px;
}

.voip-voice-ring {
    width: 132px;
    height: 132px;
    margin: 0 auto;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, #E5C996, #16A34A);
    box-shadow: 0 0 0 10px rgba(229, 201, 150, 0.18);
    transition: box-shadow 0.08s linear;
}

.voip-peer-sub {
    margin: 0 0 8px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.75);
}

.voip-eq-bars {
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 12px 0 10px;
}

.voip-eq-bars span {
    width: 4px;
    height: 8px;
    border-radius: 999px;
    background: #E5C996;
    transition: height 0.08s linear;
}

.voip-controls-dock {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-top: 8px;
}

.voip-round-btn {
    background: transparent;
    border: 0;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    cursor: pointer;
}

.voip-round-btn .round-ico {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.18s ease, background 0.18s ease;
}

.voip-round-btn.is-active .round-ico {
    background: #E5C996;
    color: #7E2232;
}

.voip-hangup-btn .round-ico {
    width: 68px;
    height: 68px;
    background: #DC2626;
    border-color: #EF4444;
    box-shadow: 0 10px 24px rgba(220, 38, 38, 0.45);
}

.voip-round-btn:hover .round-ico {
    transform: scale(1.06);
}

.round-lbl {
    font-size: 0.8rem;
    font-weight: 700;
}


/* ================= SOFT RED THEME + FLAT GUEST PROFILE + FULL-BLEED LOGIN ================= */
.single-live-search {
    display: block;
}

.btn-sharp {
    border-radius: 0 !important;
}

/* Flat Guest Profile (بدون دایو سفید؛ کل صفحه یک‌رنگ و ریسپانسیو) */
.guest-profile-flat {
    max-width: 480px;
    margin: 36px auto 16px;
    padding: 20px 12px;
    text-align: center;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.guest-emblem-flat {
    width: 82px;
    height: 82px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--emerald-100);
    color: var(--emerald-800);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(166, 52, 70, 0.18);
}

.guest-profile-flat h1 {
    margin: 0 0 10px;
    font-size: clamp(1.35rem, 3.5vw, 1.65rem);
    font-weight: 800;
    color: var(--emerald-900);
}

.guest-profile-flat p {
    margin: 0 auto 26px;
    max-width: 420px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.85;
}

.guest-profile-flat .guest-login-btn {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    border-radius: 0 !important;
}

/* Full-Bleed Login Page (بنر ورود چسبیده از چپ و راست + بدنه یک‌رنگ بدون دایو سفید) */
.auth-fullbleed-page {
    width: 100%;
    padding-bottom: 24px;
}

.auth-fullbleed-banner {
    position: relative;
    width: 100%;
    background: linear-gradient(145deg, var(--emerald-900) 0%, var(--emerald-800) 58%, var(--emerald-700) 100%);
    color: #fff;
    padding: 36px 0 32px;
    text-align: center;
    overflow: hidden;
    border-radius: 0;
}

.auth-banner-inner {
    position: relative;
    z-index: 2;
    max-width: 520px;
}

.auth-fullbleed-banner h1 {
    margin: 0 0 6px;
    font-size: clamp(1.4rem, 3.5vw, 1.75rem);
    font-weight: 800;
}

.auth-fullbleed-banner p {
    margin: 0;
    font-size: 0.93rem;
    color: rgba(255, 255, 255, 0.88);
}

.auth-flat-body {
    max-width: 480px;
    margin: 0 auto;
    padding: 26px 18px 16px;
    background: transparent;
}

.auth-flat-body .fancy-input-box {
    background: #fff;
    border-radius: 0;
}

.auth-flat-body .otp-digit {
    background: #fff;
    border-radius: 0;
}


/* ================= PROFILE FULL-BLEED HERO (LIKE THERAPIST PAGE) ================= */
.profile-fullbleed-hero {
    position: relative;
    width: 100%;
    height: clamp(230px, 38vw, 340px);
    overflow: hidden;
    background: var(--emerald-900);
}

.profile-hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
    display: block;
}

.profile-hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(126, 34, 50, 0.22) 0%, rgba(126, 34, 50, 0.16) 35%, rgba(94, 23, 36, 0.9) 100%);
    pointer-events: none;
}

.profile-hero-overlay {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    z-index: 4;
    color: #fff;
}

.profile-hero-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.profile-hero-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.profile-hero-wallet {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
}

.profile-hero-name {
    margin: 0 0 2px;
    font-size: clamp(1.35rem, 3.2vw, 1.9rem);
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.profile-hero-spec {
    margin: 0;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.88);
}

.profile-hero-switch {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}


/* ================= PROFILE FULL-BLEED SHARP MENUS ================= */
.profile-hero-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.profile-menu-fullbleed {
    width: 100%;
    padding: 0;
    margin: 0;
}

.profile-menu-sharp {
    gap: 0;
    width: 100%;
}

.profile-menu-sharp .profile-menu-row {
    width: 100%;
    border-radius: 0 !important;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    border-bottom: 1px solid var(--border-soft);
    box-shadow: none;
    padding: 15px 18px;
}

.profile-menu-sharp .profile-menu-row:hover {
    transform: none;
    background: var(--emerald-50);
    border-bottom-color: var(--emerald-800);
    box-shadow: none;
}

.profile-menu-sharp .pm-icon {
    border-radius: 0;
}


/* ================= PROFILE STICKY PHOTO HEADER ================= */
.profile-hero-sticky {
    position: sticky;
    top: 68px;
    z-index: 30;
    height: clamp(200px, 34vw, 290px);
    box-shadow: 0 6px 20px rgba(126, 34, 50, 0.16);
}

.profile-hero-switch-float {
    position: absolute;
    bottom: 14px;
    left: 16px;
    z-index: 5;
}


/* ================= INDEX FULL-BLEED SEARCH & SQUARE AVATAR CARDS ================= */
.therapists-fullbleed-page {
    width: 100%;
    padding: 0;
    margin: 0;
}

.fullbleed-search-bar {
    width: 100%;
    margin: 0;
    padding: 0;
}

.fullbleed-search-input {
    width: 100%;
    border-radius: 0 !important;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    border-bottom: 1.5px solid var(--border-soft);
    box-shadow: none;
}

.fullbleed-search-input input {
    padding: 15px 46px 15px 16px;
}

.therapists-grid-fullbleed {
    width: 100%;
    gap: 0;
    margin: 0;
    padding: 0;
}

.therapist-card-fullbleed {
    border-radius: 0 !important;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    border-bottom: 1px solid var(--border-soft);
    box-shadow: none;
}

.therapist-card-fullbleed:hover {
    transform: none;
    box-shadow: none;
    background: var(--emerald-50);
}

.square-card-link {
    min-height: 128px;
    align-items: center;
}

.therapist-avatar-square {
    width: 128px !important;
    height: 128px !important;
    min-width: 128px !important;
    aspect-ratio: 1 / 1;
}

.therapist-avatar-square img {
    width: 128px !important;
    height: 128px !important;
    object-fit: cover;
    border-radius: 0 !important;
}

@media (min-width: 961px) {
    .therapists-grid-fullbleed {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .therapist-card-fullbleed {
        border-left: 1px solid var(--border-soft);
    }
}

@media (min-width: 681px) and (max-width: 960px) {
    .therapists-grid-fullbleed {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .therapist-card-fullbleed {
        border-left: 1px solid var(--border-soft);
    }
}


/* ================= STICKY SHARP SEARCH BAR ================= */
.fullbleed-search-bar {
    position: sticky;
    top: 68px;
    z-index: 35;
    background: var(--surface);
    border-radius: 0 !important;
    box-shadow: 0 4px 12px rgba(126, 34, 50, 0.07);
}

.fullbleed-search-input,
.fullbleed-search-input:focus-within,
.fullbleed-search-input input,
.search-input-wrap,
.search-input-wrap input {
    border-radius: 0 !important;
}

.fullbleed-search-input:focus-within {
    box-shadow: none;
    border-bottom-color: var(--emerald-800);
}


/* ================= ROUNDED OFFSET SQUARE THERAPIST AVATAR ================= */
.therapist-avatar-square {
    width: 112px !important;
    height: 112px !important;
    min-width: 112px !important;
    margin: 12px 14px 12px 0;
    border-radius: 18px !important;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(126, 34, 50, 0.12);
}

.therapist-avatar-square img {
    width: 112px !important;
    height: 112px !important;
    border-radius: 18px !important;
    object-fit: cover;
}


/* ================= FULL-BLEED FLAT PANEL SUBPAGES (BANK ETC.) ================= */
.hero-back-panel-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--emerald-900);
    border: 1px solid rgba(255, 255, 255, 0.45);
    padding: 8px 16px;
    border-radius: 0;
    font-size: 0.86rem;
    font-weight: 800;
    box-shadow: var(--shadow-sm);
    transition: background 0.18s ease, color 0.18s ease;
}

.hero-back-panel-btn:hover {
    background: var(--emerald-800);
    color: #fff;
}

.panel-fullbleed-section {
    width: 100%;
    padding: 0 0 24px;
    margin: 0;
    background: transparent;
}

.panel-flat-head {
    padding: 18px 18px 12px;
    border-bottom: 1px solid var(--border-soft);
    background: var(--surface);
}

.panel-flat-head h1 {
    margin: 0 0 4px;
    font-size: 1.2rem;
    color: var(--emerald-900);
}

.panel-flat-head .panel-subtitle {
    margin: 0;
}

.alert-sharp {
    border-radius: 0 !important;
    border-left: 0;
    border-right: 0;
    margin: 0;
}

.panel-flat-form {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.flat-form-row {
    width: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--border-soft);
    padding: 14px 18px;
}

.flat-form-row label {
    display: block;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--emerald-900);
    margin-bottom: 8px;
}

.flat-form-row input[type="text"],
.flat-form-row input[type="number"],
.flat-form-row input[type="tel"],
.flat-form-row textarea,
.flat-form-row select {
    width: 100%;
    border: 1.5px solid var(--border-soft);
    border-radius: 0 !important;
    background: var(--bg-pearl);
    padding: 13px 14px;
    font-size: 0.96rem;
    font-weight: 600;
    color: var(--text-main);
    outline: none;
}

.flat-form-row input:focus,
.flat-form-row textarea:focus,
.flat-form-row select:focus {
    background: #fff;
    border-color: var(--emerald-800);
}

.sheba-input-group {
    display: flex;
    align-items: stretch;
    width: 100%;
    border: 1.5px solid var(--border-soft);
    background: var(--bg-pearl);
}

.sheba-input-group:focus-within {
    border-color: var(--emerald-800);
    background: #fff;
}

.sheba-prefix {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    background: var(--emerald-100);
    color: var(--emerald-900);
    font-weight: 800;
    font-size: 0.96rem;
    border-right: 1px solid var(--border-soft);
    user-select: none;
}

.sheba-input-group input {
    border: 0 !important;
    background: transparent !important;
    letter-spacing: 1px;
}

.flat-form-submit-wrap {
    padding: 18px;
    background: var(--surface);
}


/* ================= PILL BACK BUTTON MATCHING ONLINE SWITCH ================= */
.hero-back-panel-btn {
    padding: 8px 14px;
    min-height: 42px;
    border-radius: 999px !important;
    font-size: 0.86rem;
    font-weight: 800;
    gap: 8px;
}


/* ================= ZERO HORIZONTAL LAYOUT SHIFT FIX ================= */
html {
    overflow-y: scroll;
    scrollbar-gutter: stable;
    overflow-x: clip;
}

body {
    overflow-x: clip;
    width: 100%;
}

/* ================= INDEX DESKTOP & TABLET EDITORIAL UPGRADE ================= */
.desktop-top-nav,
.desktop-site-footer,
.desktop-hero-banner,
.desktop-quick-chips,
.desktop-list-toolbar,
.desktop-card-footer,
.desktop-steps-strip {
    display: none;
}

.card-rating-pill {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-right: auto;
    background: #FFFBEB;
    color: #B45309;
    border: 1px solid rgba(217, 119, 6, 0.24);
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 800;
}

@media (min-width: 768px) {
    .index-responsive-shell {
        background:
            radial-gradient(circle at 92% 18%, rgba(194, 75, 94, 0.06) 0%, transparent 32%),
            radial-gradient(circle at 8% 72%, rgba(232, 207, 160, 0.14) 0%, transparent 36%),
            #F8F3F4;
        min-height: calc(100vh - 110px);
        padding-bottom: 56px;
    }

    /* هیرو گرافیکی لوکس و گرم با الگوی ظریف و نورپردازی لطیف */
    .desktop-hero-banner {
        display: block;
        width: 100%;
        background:
            radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.16) 0%, transparent 40%),
            radial-gradient(circle at 86% 82%, rgba(232, 207, 160, 0.28) 0%, transparent 44%),
            linear-gradient(135deg, #5E1624 0%, #8E273A 52%, #B84256 100%);
        color: #fff;
        padding: 44px 28px 66px;
        position: relative;
        overflow: hidden;
        border-bottom: 1px solid rgba(232, 207, 160, 0.24);
    }

    .desktop-hero-pattern {
        position: absolute;
        inset: 0;
        background-image:
            linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
        background-size: 36px 36px;
        mask-image: linear-gradient(to bottom, rgba(0,0,0,0.85), rgba(0,0,0,0.1));
        pointer-events: none;
    }

    .desktop-hero-inner {
        position: relative;
        z-index: 2;
        max-width: 1240px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 32px;
    }

    .desktop-hero-copy {
        max-width: 720px;
    }

    .desktop-hero-kicker {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(255, 255, 255, 0.14);
        border: 1px solid rgba(232, 207, 160, 0.36);
        color: #FFF7F0;
        padding: 6px 15px;
        border-radius: 999px;
        font-size: 0.81rem;
        font-weight: 700;
        margin-bottom: 14px;
        backdrop-filter: blur(8px);
    }

    .kicker-spark {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #E8CFA0;
        box-shadow: 0 0 10px #E8CFA0;
    }

    .desktop-hero-copy h1 {
        margin: 0 0 12px;
        font-size: 1.85rem;
        font-weight: 900;
        line-height: 1.45;
        color: #fff;
        letter-spacing: -0.01em;
    }

    .desktop-hero-copy p {
        margin: 0 0 18px;
        font-size: 0.98rem;
        line-height: 1.9;
        color: rgba(255, 245, 247, 0.92);
    }

    .desktop-hero-trust {
        display: flex;
        align-items: center;
        gap: 18px;
        flex-wrap: wrap;
        font-size: 0.82rem;
        font-weight: 700;
        color: #FDECE2;
    }

    .desktop-hero-trust span {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        opacity: 0.95;
    }

    .desktop-hero-trust svg {
        color: #E8CFA0;
        flex-shrink: 0;
    }

    .desktop-hero-stats {
        display: flex;
        flex-direction: column;
        gap: 12px;
        flex-shrink: 0;
    }

    .dh-stat-card {
        background: rgba(255, 255, 255, 0.13);
        border: 1px solid rgba(255, 255, 255, 0.24);
        backdrop-filter: blur(12px);
        padding: 15px 20px;
        border-radius: 16px;
        min-width: 196px;
        display: flex;
        align-items: center;
        gap: 14px;
        box-shadow: 0 10px 28px rgba(45, 8, 16, 0.18);
    }

    .dh-stat-card.is-live-card {
        background: rgba(255, 255, 255, 0.18);
        border-color: rgba(134, 239, 172, 0.42);
    }

    .dh-stat-card strong {
        display: block;
        font-size: 1.5rem;
        font-weight: 900;
        color: #fff;
        line-height: 1.15;
    }

    .dh-stat-card small {
        display: block;
        font-size: 0.78rem;
        color: rgba(255, 245, 247, 0.9);
        margin-top: 2px;
    }

    .dh-stat-dot {
        width: 11px;
        height: 11px;
        border-radius: 50%;
        background: #E8CFA0;
        flex-shrink: 0;
    }

    .dh-stat-dot.is-live {
        background: #4ADE80;
        box-shadow: 0 0 0 6px rgba(74, 222, 128, 0.26);
    }

    /* کانتینر استاندارد وسط‌چین روی تبلت و دسکتاپ */
    .index-desktop-container {
        max-width: 1240px;
        margin: -34px auto 0;
        padding: 0 28px;
        position: relative;
        z-index: 5;
    }

    /* نوار جستجوی زنده شناور با حس متریال مدرن */
    .index-responsive-shell .fullbleed-search-bar {
        position: static;
        background: transparent;
        margin-bottom: 18px;
    }

    .index-responsive-shell .fullbleed-search-input {
        background: #fff;
        border: 1.5px solid rgba(166, 52, 70, 0.16) !important;
        border-radius: 18px !important;
        box-shadow: 0 16px 38px rgba(94, 22, 36, 0.12) !important;
        overflow: hidden;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .index-responsive-shell .fullbleed-search-input:focus-within {
        border-color: var(--emerald-800) !important;
        box-shadow: 0 18px 42px rgba(166, 52, 70, 0.18) !important;
    }

    .index-responsive-shell .fullbleed-search-input input {
        padding: 18px 50px 18px 20px;
        font-size: 1rem;
    }

    /* چیپ‌های فیلتر سریع دسته‌بندی */
    .desktop-quick-chips {
        display: flex;
        align-items: center;
        gap: 9px;
        flex-wrap: wrap;
        margin-bottom: 24px;
    }

    .dq-chip {
        cursor: pointer; font-family: inherit;
        display: inline-flex;
        align-items: center;
        gap: 7px;
        padding: 9px 17px;
        border-radius: 999px;
        background: #fff;
        border: 1px solid rgba(166, 52, 70, 0.15);
        color: var(--emerald-900);
        font-size: 0.85rem;
        font-weight: 700;
        text-decoration: none;
        box-shadow: 0 2px 8px rgba(126, 34, 50, 0.04);
        transition: all 0.18s ease;
    }

    .dq-chip:hover {
        background: var(--emerald-50);
        border-color: var(--emerald-800);
        transform: translateY(-2px);
        box-shadow: 0 6px 14px rgba(126, 34, 50, 0.09);
    }

    .dq-chip.active {
        background: linear-gradient(135deg, #8E273A 0%, #B43F53 100%);
        border-color: transparent;
        color: #fff;
        box-shadow: 0 8px 18px rgba(166, 52, 70, 0.28);
    }

    .dq-chip-adv {
        margin-right: auto;
        background: #FFF9FA;
        border-style: dashed;
        border-color: rgba(166, 52, 70, 0.35);
    }

    .dq-live-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #22C55E;
        box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.22);
    }

    .dq-chip.active .dq-live-dot {
        background: #BBF7D0;
        box-shadow: none;
    }

    /* نوار عنوان لیست و مرتب‌سازی روی تبلت و دسکتاپ */
    .desktop-list-toolbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        flex-wrap: wrap;
        margin-bottom: 16px;
        padding: 0 2px;
    }

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

    .dlt-title h2 {
        margin: 0;
        font-size: 1.15rem;
        font-weight: 900;
        color: var(--emerald-900);
    }

    .dlt-count {
        background: var(--emerald-100);
        color: var(--emerald-900);
        padding: 3px 10px;
        border-radius: 999px;
        font-size: 0.78rem;
        font-weight: 800;
    }

    .dlt-sorts {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 0.82rem;
        color: var(--text-muted);
    }

    .dlt-sorts a, .dlt-sorts button {
        background: transparent; border: 0; cursor: pointer; font-family: inherit;
        padding: 5px 12px;
        border-radius: 8px;
        color: var(--text-main);
        text-decoration: none;
        font-weight: 700;
        transition: background 0.15s ease, color 0.15s ease;
    }

    .dlt-sorts a:hover, .dlt-sorts button:hover {
        background: rgba(166, 52, 70, 0.08);
        color: var(--emerald-900);
    }

    .dlt-sorts a.active, .dlt-sorts button.active {
        background: var(--emerald-800);
        color: #fff;
    }

    /* گرید ۲ ستونه روی تبلت */
    .index-responsive-shell .therapists-grid-fullbleed {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 20px !important;
        background: transparent;
    }

    /* کارت‌های لوکس و متریال با نوار وضعیت آنلاین و دکمه اقدام روی تبلت و دسکتاپ */
    .index-responsive-shell .therapist-card-fullbleed {
        background: #fff;
        border: 1px solid rgba(166, 52, 70, 0.11) !important;
        border-radius: 20px !important;
        box-shadow: 0 6px 22px rgba(126, 34, 50, 0.05) !important;
        overflow: hidden;
        transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    }

    .index-responsive-shell .therapist-card-fullbleed.is-card-online {
        border-top: 3px solid #22C55E !important;
    }

    .index-responsive-shell .therapist-card-fullbleed:hover {
        transform: translateY(-5px);
        box-shadow: 0 18px 38px rgba(126, 34, 50, 0.13) !important;
        border-color: rgba(166, 52, 70, 0.34) !important;
        background: #fff;
    }

    .index-responsive-shell .square-card-link {
        display: grid !important;
        grid-template-columns: 92px minmax(0, 1fr);
        column-gap: 14px;
        row-gap: 14px;
        padding: 18px;
        min-height: 176px;
        align-items: center;
    }

    .index-responsive-shell .therapist-avatar-square {
        margin: 0 !important;
        width: 92px !important;
        height: 92px !important;
        border-radius: 16px;
        overflow: hidden;
        flex-shrink: 0;
        box-shadow: 0 8px 20px rgba(126, 34, 50, 0.14);
    }

    .index-responsive-shell .therapist-avatar-square img {
        width: 92px !important;
        height: 92px !important;
        border-radius: 16px !important;
    }

    .index-responsive-shell .sharp-info {
        padding: 0 0 0 28px !important;
        min-width: 0;
    }

    .index-responsive-shell .therapist-name {
        font-size: 1.04rem;
        margin-bottom: 4px;
    }

    .index-responsive-shell .therapist-specialty {
        white-space: normal !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-height: 1.6;
        margin-bottom: 8px;
    }

    /* در دسکتاپ تعرفه در نوار تمام‌عرض پایین کارت نمایش داده می‌شود */
    .index-responsive-shell .therapist-rate {
        display: none;
    }

    .desktop-card-footer {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding-top: 12px;
        border-top: 1px solid rgba(166, 52, 70, 0.10);
    }

    .dcf-rate small {
        display: block;
        font-size: 0.72rem;
        color: var(--text-muted);
    }

    .dcf-rate strong {
        font-size: 0.92rem;
        font-weight: 900;
        color: var(--emerald-900);
        white-space: nowrap;
    }

    .dcf-rate strong span {
        font-size: 0.74rem;
        font-weight: 600;
        color: var(--text-muted);
    }

    .desktop-card-cta-pill {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        padding: 9px 15px;
        border-radius: 11px;
        background: var(--emerald-50);
        color: var(--emerald-900);
        border: 1px solid rgba(166, 52, 70, 0.22);
        font-size: 0.82rem;
        font-weight: 800;
        white-space: nowrap;
        flex-shrink: 0;
        transition: all 0.2s ease;
    }

    .index-responsive-shell .therapist-card-fullbleed:hover .desktop-card-cta-pill {
        background: var(--emerald-800);
        border-color: var(--emerald-800);
        color: #fff;
    }

    .index-responsive-shell .bookmark-btn-sharp {
        top: 14px;
        left: 14px;
        border-radius: 10px;
        background: rgba(250, 246, 246, 0.9);
    }

    /* نوار راهنمای ۳ مرحله‌ای زیر لیست درمانگران */
    .desktop-steps-strip {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
        margin-top: 34px;
        padding: 24px;
        background: #fff;
        border: 1px solid rgba(166, 52, 70, 0.12);
        border-radius: 20px;
        box-shadow: 0 8px 26px rgba(126, 34, 50, 0.05);
    }

    .ds-step-item {
        display: flex;
        align-items: flex-start;
        gap: 14px;
    }

    .ds-step-num {
        width: 38px;
        height: 38px;
        border-radius: 12px;
        background: linear-gradient(135deg, #8E273A 0%, #B84256 100%);
        color: #fff;
        font-size: 1rem;
        font-weight: 900;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        box-shadow: 0 6px 14px rgba(166, 52, 70, 0.22);
    }

    .ds-step-item h3 {
        margin: 0 0 5px;
        font-size: 0.95rem;
        font-weight: 800;
        color: var(--emerald-900);
    }

    .ds-step-item p {
        margin: 0;
        font-size: 0.83rem;
        line-height: 1.75;
        color: var(--text-muted);
    }
}

@media (min-width: 1120px) {
    .desktop-hero-copy h1 {
        font-size: 2.15rem;
    }

    .desktop-hero-stats {
        flex-direction: row;
    }

    /* گرید ۳ ستونه متوازن روی دسکتاپ */
    .index-responsive-shell .therapists-grid-fullbleed {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 22px !important;
    }
}


/* ================= DESKTOP TOP HEADER NAV & FOOTER (>= 960px) ================= */
@media (min-width: 960px) {
    .app-header .header-inner {
        max-width: 1240px;
        padding-left: 28px;
        padding-right: 28px;
        justify-content: space-between;
    }

    .desktop-top-nav {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-right: auto;
        margin-left: 12px;
    }

    .dtn-link {
        color: rgba(255, 245, 247, 0.92);
        text-decoration: none;
        font-size: 0.88rem;
        font-weight: 700;
        padding: 8px 14px;
        border-radius: 10px;
        transition: background 0.18s ease, color 0.18s ease;
    }

    .dtn-link:hover,
    .dtn-link.active {
        background: rgba(255, 255, 255, 0.16);
        color: #fff;
    }

    .dtn-profile-btn {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        margin-right: 8px;
        padding: 8px 16px;
        border-radius: 999px;
        background: #fff;
        color: #7E2232;
        font-size: 0.85rem;
        font-weight: 800;
        text-decoration: none;
        box-shadow: 0 4px 12px rgba(45, 8, 16, 0.18);
        transition: transform 0.15s ease, background 0.15s ease;
    }

    .dtn-profile-btn:hover,
    .dtn-profile-btn.active {
        background: #FFF4F6;
        transform: translateY(-1px);
    }

    /* مخفی کردن نوار آیکونی موبایل در دسکتاپ برای ظاهر کاملاً حرفه‌ای */
    .bottom-nav {
        display: none !important;
    }

    body {
        padding-bottom: 0 !important;
    }

    .therapist-floating-call-wrap,
    .tweet-bottom-compose-wrap {
        bottom: 0 !important;
    }

    /* فوتر استاندارد دسکتاپ */
    .desktop-site-footer {
        display: block;
        background: #fff;
        border-top: 1px solid rgba(166, 52, 70, 0.14);
        margin-top: 32px;
        color: var(--text-muted);
    }

    .dsf-inner {
        max-width: 1240px;
        margin: 0 auto;
        padding: 28px 28px 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        flex-wrap: wrap;
    }

    .dsf-brand strong {
        display: block;
        font-size: 1.1rem;
        font-weight: 900;
        color: var(--emerald-900);
        margin-bottom: 4px;
    }

    .dsf-brand p {
        margin: 0;
        font-size: 0.84rem;
        max-width: 460px;
        line-height: 1.7;
    }

    .dsf-links {
        display: flex;
        align-items: center;
        gap: 18px;
        flex-wrap: wrap;
    }

    .dsf-links a {
        color: var(--emerald-900);
        text-decoration: none;
        font-size: 0.86rem;
        font-weight: 700;
    }

    .dsf-links a:hover {
        color: var(--emerald-700);
        text-decoration: underline;
    }

    .dsf-bottom {
        max-width: 1240px;
        margin: 0 auto;
        padding: 14px 28px 22px;
        border-top: 1px solid rgba(166, 52, 70, 0.08);
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 0.8rem;
    }
}

/* ================= DESKTOP & TABLET SEO-2026 SOFT LIGHT-BLUE VECTOR SLIDER ================= */
.desktop-hero-slider {
    display: none;
}

@media (min-width: 768px) {
    .desktop-hero-slider {
        display: block;
        width: 100%;
        position: relative;
        overflow: hidden;
        background:
            radial-gradient(circle at 12% 20%, rgba(147, 197, 253, 0.36) 0%, transparent 42%),
            radial-gradient(circle at 86% 80%, rgba(186, 230, 253, 0.48) 0%, transparent 46%),
            linear-gradient(135deg, #F0F7FF 0%, #E0F2FE 52%, #EDF6FF 100%);
        color: #0F2942;
        padding: 38px 28px 62px;
        border-bottom: 1px solid #CBE4FA;
    }

    .desktop-hero-slider .desktop-hero-pattern {
        position: absolute;
        inset: 0;
        background-image:
            linear-gradient(rgba(37, 99, 235, 0.045) 1px, transparent 1px),
            linear-gradient(90deg, rgba(37, 99, 235, 0.045) 1px, transparent 1px);
        background-size: 36px 36px;
        pointer-events: none;
    }

    .dhs-track {
        position: relative;
        max-width: 1240px;
        margin: 0 auto;
        min-height: 268px;
        z-index: 2;
    }

    .dhs-slide {
        position: absolute;
        inset: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateX(-16px);
        transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s ease;
        display: flex;
        align-items: center;
    }

    .dhs-slide.is-active {
        position: relative;
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    .dhs-slide-inner {
        width: 100%;
        display: grid;
        grid-template-columns: minmax(0, 1.3fr) minmax(290px, 0.9fr);
        align-items: center;
        gap: 32px;
    }

    .desktop-hero-slider .desktop-hero-kicker {
        background: rgba(255, 255, 255, 0.85);
        border: 1px solid #BAE6FD;
        color: #0369A1;
        box-shadow: 0 4px 12px rgba(14, 116, 144, 0.06);
    }

    .desktop-hero-slider .kicker-spark {
        background: #0284C7;
        box-shadow: 0 0 8px rgba(2, 132, 199, 0.45);
    }

    .dhs-copy h1,
    .dhs-copy .dhs-heading {
        margin: 0 0 12px;
        font-size: 1.85rem;
        font-weight: 900;
        line-height: 1.45;
        color: #0F2942;
    }

    .dhs-copy p:not(.dhs-heading) {
        margin: 0 0 22px;
        font-size: 0.96rem;
        line-height: 1.9;
        color: #335573;
        max-width: 630px;
    }

    .dhs-actions {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
    }

    .dhs-btn-primary {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 11px 22px;
        border-radius: 12px;
        background: linear-gradient(135deg, #0284C7 0%, #2563EB 100%);
        color: #fff;
        font-size: 0.88rem;
        font-weight: 800;
        text-decoration: none;
        box-shadow: 0 10px 22px rgba(37, 99, 235, 0.22);
        transition: transform 0.18s ease, box-shadow 0.18s ease;
    }

    .dhs-btn-primary:hover {
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 14px 28px rgba(37, 99, 235, 0.28);
    }

    .dhs-btn-ghost {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px 20px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.82);
        border: 1px solid #93C5FD;
        color: #0F2942;
        font-size: 0.88rem;
        font-weight: 700;
        text-decoration: none;
        transition: background 0.18s ease, border-color 0.18s ease;
    }

    .dhs-btn-ghost:hover {
        background: #fff;
        border-color: #2563EB;
        color: #1D4ED8;
    }

    .dhs-vector-card {
        background: rgba(255, 255, 255, 0.78);
        border: 1px solid rgba(147, 197, 253, 0.55);
        backdrop-filter: blur(10px);
        border-radius: 22px;
        padding: 14px 16px 14px;
        box-shadow: 0 16px 36px rgba(15, 41, 66, 0.08);
    }

    .dhs-svg-art {
        width: 100%;
        height: auto;
        max-height: 196px;
        display: block;
        margin: 0 auto;
    }

    .dhs-live-strip {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        flex-wrap: wrap;
        margin-top: 8px;
        padding-top: 10px;
        border-top: 1px solid #E0F2FE;
        font-size: 0.8rem;
        font-weight: 700;
        color: #1E40AF;
    }

    .dhs-live-strip strong {
        font-weight: 900;
        color: #0F2942;
    }

    .dhs-sep {
        color: #93C5FD;
    }

    .dhs-controls {
        position: relative;
        z-index: 3;
        max-width: 1240px;
        margin: 16px auto 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 14px;
    }

    .dhs-arrow {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.85);
        border: 1px solid #BAE6FD;
        color: #0369A1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background 0.18s ease, color 0.18s ease;
    }

    .dhs-arrow:hover {
        background: #0284C7;
        border-color: #0284C7;
        color: #fff;
    }

    .dhs-dots {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .dhs-dot {
        width: 9px;
        height: 9px;
        border-radius: 999px;
        border: 0;
        padding: 0;
        background: #93C5FD;
        cursor: pointer;
        transition: width 0.25s ease, background 0.25s ease;
    }

    .dhs-dot.is-active {
        width: 28px;
        background: #0284C7;
    }
}

@media (min-width: 1120px) {
    .dhs-copy h1,
    .dhs-copy .dhs-heading {
        font-size: 2.1rem;
    }
}


/* ================= INDEX DESKTOP GLASS HEADER, CAT CARDS, TWEETS & FAQ ================= */
.desktop-cat-panel,
.desktop-tweets-showcase,
.desktop-faq-section {
    display: none;
}

@media (min-width: 768px) {
    /* کارت‌های آیکونی دسته‌بندی تخصص‌ها */
    .desktop-cat-panel {
        display: block;
        margin-bottom: 24px;
    }

    .dcp-cards-grid {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 12px;
        margin-bottom: 12px;
    }

    .dcp-card {
        display: flex;
        align-items: center;
        gap: 11px;
        background: #fff;
        border: 1px solid #DCEAF8;
        border-radius: 16px;
        padding: 13px 14px;
        cursor: pointer;
        text-align: right;
        font-family: inherit;
        box-shadow: 0 4px 14px rgba(15, 41, 66, 0.04);
        transition: all 0.2s ease;
    }

    .dcp-card:hover {
        border-color: #38BDF8;
        background: #F8FCFF;
        transform: translateY(-2px);
        box-shadow: 0 10px 22px rgba(2, 132, 199, 0.10);
    }

    .dcp-card.active {
        background: linear-gradient(135deg, #0284C7 0%, #2563EB 100%);
        border-color: transparent;
        box-shadow: 0 10px 24px rgba(37, 99, 235, 0.24);
    }

    .dcp-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        background: #EFF6FF;
        color: #0284C7;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        transition: background 0.2s ease, color 0.2s ease;
    }

    .dcp-card.active .dcp-icon {
        background: rgba(255, 255, 255, 0.22);
        color: #fff;
    }

    .dcp-meta {
        min-width: 0;
    }

    .dcp-meta strong {
        display: block;
        font-size: 0.88rem;
        font-weight: 800;
        color: #0F2942;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .dcp-meta small {
        display: block;
        font-size: 0.74rem;
        color: #64748B;
        margin-top: 2px;
    }

    .dcp-card.active .dcp-meta strong,
    .dcp-card.active .dcp-meta small {
        color: #fff;
    }

    .dcp-sub-bar {
        display: flex;
        align-items: center;
        gap: 9px;
        flex-wrap: wrap;
    }

    /* بخش آخرین توئیت‌های درمانگران */
    .desktop-tweets-showcase {
        display: block;
        margin-top: 34px;
    }

    .dts-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 16px;
    }

    .dts-head h2 {
        margin: 0 0 2px;
        font-size: 1.15rem;
        font-weight: 900;
        color: #0F2942;
    }

    .dts-head small {
        color: #64748B;
        font-size: 0.83rem;
    }

    .dts-all-link {
        color: #0284C7;
        font-size: 0.86rem;
        font-weight: 800;
        text-decoration: none;
        padding: 7px 14px;
        background: #EFF6FF;
        border-radius: 10px;
    }

    .dts-all-link:hover {
        background: #DBEAFE;
    }

    .dts-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }

    .dts-card {
        background: #fff;
        border: 1px solid #E2ECF7;
        border-radius: 18px;
        padding: 18px;
        display: flex;
        flex-direction: column;
        gap: 12px;
        box-shadow: 0 4px 16px rgba(15, 41, 66, 0.04);
    }

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

    .dts-author img {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        object-fit: cover;
        border: 1px solid #E2ECF7;
    }

    .dts-author strong {
        display: block;
        font-size: 0.9rem;
        font-weight: 800;
        color: #0F2942;
    }

    .dts-author small {
        display: block;
        font-size: 0.75rem;
        color: #64748B;
    }

    .dts-body {
        margin: 0;
        font-size: 0.86rem;
        line-height: 1.85;
        color: #334155;
        flex: 1;
        overflow-wrap: anywhere;
    }

    .dts-foot {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-top: 10px;
        border-top: 1px solid #F1F5F9;
        font-size: 0.78rem;
        color: #64748B;
    }

    .dts-foot a {
        color: #0284C7;
        font-weight: 700;
        text-decoration: none;
    }

    /* بخش پرسش‌های متداول آکاردئونی (FAQ) */
    .desktop-faq-section {
        display: block;
        margin-top: 34px;
        background: #fff;
        border: 1px solid #E2ECF7;
        border-radius: 20px;
        padding: 26px 28px;
        box-shadow: 0 6px 22px rgba(15, 41, 66, 0.04);
    }

    .dfaq-head {
        margin-bottom: 18px;
    }

    .dfaq-head h2 {
        margin: 0 0 4px;
        font-size: 1.15rem;
        font-weight: 900;
        color: #0F2942;
    }

    .dfaq-head small {
        color: #64748B;
        font-size: 0.84rem;
    }

    .dfaq-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .dfaq-item {
        border: 1px solid #E2ECF7;
        border-radius: 14px;
        background: #F8FBFF;
        overflow: hidden;
        transition: border-color 0.2s ease, background 0.2s ease;
    }

    .dfaq-item[open] {
        background: #fff;
        border-color: #93C5FD;
    }

    .dfaq-item summary {
        list-style: none;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 14px 18px;
        font-size: 0.92rem;
        font-weight: 800;
        color: #0F2942;
        cursor: pointer;
    }

    .dfaq-item summary::-webkit-details-marker {
        display: none;
    }

    .dfaq-item summary svg {
        color: #0284C7;
        flex-shrink: 0;
        transition: transform 0.2s ease;
    }

    .dfaq-item[open] summary svg {
        transform: rotate(180deg);
    }

    .dfaq-item p {
        margin: 0;
        padding: 0 18px 16px;
        font-size: 0.87rem;
        line-height: 1.85;
        color: #475569;
    }
}

@media (max-width: 1020px) and (min-width: 768px) {
    .dcp-cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .dts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* هدر سفید شیشه‌ای مدرن در دسکتاپ (>= 960px) هماهنگ با اسلایدر آبی ملایم */
@media (min-width: 960px) {
    .app-header {
        background: rgba(255, 255, 255, 0.92) !important;
        backdrop-filter: blur(14px);
        border-bottom: 1px solid #DCEAF8;
        box-shadow: 0 4px 20px rgba(15, 41, 66, 0.05);
    }

    .app-header .header-botanical {
        display: none;
    }

    .app-header .brand-mark {
        background: linear-gradient(135deg, #8E273A 0%, #B84256 100%);
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(166, 52, 70, 0.22);
    }

    .app-header .brand-title {
        color: #7E2232 !important;
    }

    .dtn-link {
        color: #1E3A5F !important;
    }

    .dtn-link:hover,
    .dtn-link.active {
        background: #EFF6FF !important;
        color: #0284C7 !important;
    }

    .dtn-profile-btn {
        background: linear-gradient(135deg, #8E273A 0%, #B84256 100%) !important;
        color: #fff !important;
        box-shadow: 0 6px 16px rgba(166, 52, 70, 0.24) !important;
    }

    .dtn-profile-btn:hover,
    .dtn-profile-btn.active {
        background: linear-gradient(135deg, #7E2232 0%, #A63446 100%) !important;
        color: #fff !important;
    }
}


/* ================= UNIFIED SITE-WIDE DESKTOP & TABLET DESIGN SYSTEM ================= */
.desktop-join-banner,
.therapist-desktop-sidebar {
    display: none;
}

.dtn-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #FDE047;
    color: #7E2232;
    font-size: 0.74rem;
    font-weight: 900;
    line-height: 1;
}

@media (min-width: 768px) {
    /* بنر دعوت به همکاری درمانگران در پایین index.php */
    .desktop-join-banner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        flex-wrap: wrap;
        margin-top: 30px;
        padding: 28px 32px;
        border-radius: 20px;
        background:
            radial-gradient(circle at 10% 20%, rgba(147, 197, 253, 0.35) 0%, transparent 45%),
            linear-gradient(135deg, #EFF6FF 0%, #E0F2FE 100%);
        border: 1px solid #BAE6FD;
        box-shadow: 0 8px 26px rgba(15, 41, 66, 0.05);
    }

    .djb-copy {
        max-width: 640px;
    }

    .djb-kicker {
        display: inline-block;
        padding: 4px 12px;
        border-radius: 999px;
        background: #fff;
        color: #0369A1;
        border: 1px solid #BAE6FD;
        font-size: 0.78rem;
        font-weight: 800;
        margin-bottom: 8px;
    }

    .djb-copy h2 {
        margin: 0 0 6px;
        font-size: 1.25rem;
        font-weight: 900;
        color: #0F2942;
    }

    .djb-copy p {
        margin: 0;
        font-size: 0.9rem;
        line-height: 1.8;
        color: #335573;
    }

    .djb-actions {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
    }
}

@media (min-width: 960px) {
    body {
        background: #F4F8FC;
    }

    /* فوتر سه‌ستونه شکیل دسکتاپ */
    .desktop-site-footer {
        background: #fff;
        border-top: 1px solid #DCEAF8;
        margin-top: 44px;
    }

    .dsf-grid {
        max-width: 1240px;
        margin: 0 auto;
        padding: 36px 28px 26px;
        display: grid;
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 32px;
    }

    .dsf-brand-head {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
    }

    .dsf-brand-dot {
        width: 36px;
        height: 36px;
        border-radius: 11px;
        background: linear-gradient(135deg, #8E273A 0%, #B84256 100%);
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .dsf-brand strong {
        font-size: 1.18rem;
        font-weight: 900;
        color: #7E2232;
    }

    .dsf-brand p {
        margin: 0 0 14px;
        font-size: 0.85rem;
        line-height: 1.85;
        color: #475569;
        max-width: 420px;
    }

    .dsf-trust-pills {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .dsf-trust-pills span {
        background: #EFF6FF;
        color: #0369A1;
        border: 1px solid #BAE6FD;
        padding: 4px 11px;
        border-radius: 999px;
        font-size: 0.76rem;
        font-weight: 700;
    }

    .dsf-col h3 {
        margin: 0 0 12px;
        font-size: 0.94rem;
        font-weight: 800;
        color: #0F2942;
    }

    .dsf-link-list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 9px;
    }

    .dsf-link-list a {
        color: #475569;
        text-decoration: none;
        font-size: 0.85rem;
        font-weight: 600;
        transition: color 0.16s ease;
    }

    .dsf-link-list a:hover {
        color: #0284C7;
    }

    .dsf-bottom {
        border-top: 1px solid #EDF2F7;
        color: #64748B;
    }

    /* ۱) چیدمان دو ستونه حرفه‌ای برای therapist.php روی دسکتاپ */
    .therapist-desktop-layout {
        max-width: 1220px;
        margin: 26px auto 40px;
        padding: 0 28px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 24px;
        align-items: start;
    }

    .therapist-desktop-main {
        background: #fff;
        border: 1px solid #E2ECF7;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 8px 28px rgba(15, 41, 66, 0.05);
        padding-bottom: 0 !important;
    }

    .therapist-desktop-layout .therapist-fullbleed-hero {
        height: 360px;
    }

    .therapist-desktop-sidebar {
        display: block;
    }

    .tds-sticky-card {
        position: sticky;
        top: 86px;
        background: #fff;
        border: 1px solid #DCEAF8;
        border-radius: 20px;
        padding: 22px;
        box-shadow: 0 12px 32px rgba(15, 41, 66, 0.07);
    }

    .tds-status-row {
        margin-bottom: 14px;
    }

    .tds-status-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 6px 13px;
        border-radius: 999px;
        font-size: 0.82rem;
        font-weight: 800;
    }

    .tds-status-badge.is-online {
        background: #DCFCE7;
        color: #166534;
    }

    .tds-status-badge.is-offline {
        background: #F1F5F9;
        color: #64748B;
    }

    .tds-rate-box {
        background: #F8FBFF;
        border: 1px solid #E0F2FE;
        border-radius: 14px;
        padding: 14px 16px;
        margin-bottom: 16px;
    }

    .tds-rate-box small {
        display: block;
        font-size: 0.78rem;
        color: #64748B;
        margin-bottom: 4px;
    }

    .tds-rate-box strong {
        font-size: 1.25rem;
        font-weight: 900;
        color: #0F2942;
    }

    .tds-rate-box strong span {
        font-size: 0.8rem;
        font-weight: 600;
        color: #64748B;
    }

    .tds-meta-rows {
        display: flex;
        flex-direction: column;
        gap: 9px;
        margin-bottom: 18px;
        padding-bottom: 16px;
        border-bottom: 1px solid #EDF2F7;
        font-size: 0.84rem;
    }

    .tds-meta-rows div {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .tds-meta-rows span {
        color: #64748B;
    }

    .tds-meta-rows strong {
        color: #0F2942;
        text-align: left;
    }

    .tds-cta-stack {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .tds-btn-call {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        padding: 13px 16px;
        border-radius: 12px;
        background: linear-gradient(135deg, #A63446 0%, #8E2839 100%);
        color: #fff;
        font-size: 0.92rem;
        font-weight: 800;
        text-decoration: none;
        box-shadow: 0 8px 20px rgba(166, 52, 70, 0.24);
        transition: transform 0.16s ease;
    }

    .tds-btn-call:hover {
        color: #fff;
        transform: translateY(-1px);
    }

    .tds-btn-call.is-offline-call {
        background: #E2E8F0 !important;
        color: #64748B !important;
        box-shadow: none !important;
        pointer-events: none;
        cursor: not-allowed;
    }

    .tds-btn-book {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        padding: 12px 16px;
        border-radius: 12px;
        background: #EFF6FF;
        color: #0369A1;
        border: 1.5px solid #93C5FD;
        font-size: 0.9rem;
        font-weight: 800;
        text-decoration: none;
        transition: background 0.16s ease;
    }

    .tds-btn-book:hover {
        background: #DBEAFE;
        color: #1D4ED8;
    }

    /* در دسکتاپ نوار شناور موبایلی therapist.php مخفی شود چون کارت چسبان کنار صفحه هست */
    .therapist-floating-call-wrap {
        display: none !important;
    }

    /* ۲) یکپارچه‌سازی دسکتاپ برای صفحات پنل، نوبت‌دهی، جستجو، توئیت‌ها، نشان‌ها و ورود */
    .panel-fullbleed-section,
    .profile-menu-fullbleed,
    .profile-fullbleed-hero {
        max-width: 900px;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .profile-fullbleed-hero {
        margin-top: 22px !important;
        border-radius: 20px 20px 0 0;
        overflow: hidden;
        position: relative !important;
        top: 0 !important;
    }

    .panel-fullbleed-section,
    .profile-menu-fullbleed {
        background: #fff;
        border: 1px solid #E2ECF7;
        border-radius: 0 0 20px 20px;
        box-shadow: 0 8px 28px rgba(15, 41, 66, 0.05);
        margin-bottom: 32px !important;
        overflow: hidden;
    }

    /* وقتی صفحه پنل هدر عکس ندارد (مثل tweets.php، search.php، bookmarks.php) */
    main.app-main > .panel-fullbleed-section:first-child {
        margin-top: 24px !important;
        border-radius: 20px;
    }

    /* کادر ارسال توئیت در دسکتاپ دقیقاً هم‌عرض ستون توئیت‌ها */
    .tweet-bottom-compose-wrap {
        max-width: 900px;
        margin: 0 auto;
        border-top: 1px solid #DCEAF8 !important;
        border-left: 1px solid #DCEAF8 !important;
        border-right: 1px solid #DCEAF8 !important;
        border-radius: 16px 16px 0 0 !important;
    }
}


/* ================= ALL REMAINING PAGES UNIFIED DESKTOP & TABLET POLISH ================= */
.desktop-subpage-hero {
    display: none;
}

@media (min-width: 768px) {
    /* نوار معرفی آبی ملایم یکدست برای صفحات داخلی در تبلت و دسکتاپ */
    .desktop-subpage-hero {
        display: block;
        width: 100%;
        background:
            radial-gradient(circle at 12% 20%, rgba(147, 197, 253, 0.34) 0%, transparent 45%),
            linear-gradient(135deg, #F0F7FF 0%, #E0F2FE 55%, #EDF6FF 100%);
        border-bottom: 1px solid #CBE4FA;
        padding: 28px 28px 34px;
        margin-bottom: 24px;
    }

    .desktop-subpage-hero .dsh-inner {
        max-width: 1200px;
        margin: 0 auto;
    }

    .tweets-page-shell .desktop-subpage-hero .dsh-inner {
        max-width: 860px;
    }

    .desktop-subpage-hero h1 {
        margin: 0 0 6px;
        font-size: 1.5rem;
        font-weight: 900;
        color: #0F2942;
    }

    .desktop-subpage-hero p {
        margin: 0;
        font-size: 0.92rem;
        color: #335573;
    }

    /* ۱) صفحه bookmarks.php: گرید ۲ ستونه تبلت و ۳ ستونه دسکتاپ هم‌سبک index.php */
    .bookmarks-page-shell {
        background: #F4F8FC;
        min-height: calc(100vh - 120px);
        padding-bottom: 48px;
    }

    .bookmarks-page-shell .therapists-grid-fullbleed {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 28px;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 20px !important;
    }

    .bookmarks-page-shell .therapist-card-fullbleed {
        background: #fff;
        border: 1px solid #E2ECF7 !important;
        border-radius: 20px !important;
        box-shadow: 0 6px 22px rgba(15, 41, 66, 0.05) !important;
        overflow: hidden;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .bookmarks-page-shell .therapist-card-fullbleed:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 34px rgba(15, 41, 66, 0.10) !important;
    }

    .bookmarks-page-shell .square-card-link {
        padding: 16px;
        gap: 14px;
    }

    .bookmarks-page-shell .therapist-avatar-square,
    .bookmarks-page-shell .therapist-avatar-square img {
        width: 96px !important;
        height: 96px !important;
        border-radius: 14px !important;
        margin: 0 !important;
    }

    .bookmarks-page-shell .guest-profile-flat {
        max-width: 620px;
        margin: 28px auto;
        background: #fff;
        border: 1px solid #E2ECF7;
        border-radius: 20px;
        box-shadow: 0 8px 26px rgba(15, 41, 66, 0.05);
    }

    /* ۲) صفحه tweets.php: ستون وسط‌چین خوش‌خوان با کارت‌های سفید یکدست */
    .tweets-page-shell {
        background: #F4F8FC;
        min-height: calc(100vh - 120px);
        padding-bottom: 40px;
    }

    .tweets-page-shell .fullbleed-search-bar {
        max-width: 860px;
        margin: 0 auto 16px;
        padding: 0 20px;
        position: static;
        background: transparent;
    }

    .tweets-page-shell .fullbleed-search-input {
        background: #fff;
        border: 1.5px solid #CBE4FA !important;
        border-radius: 14px !important;
        box-shadow: 0 8px 22px rgba(15, 41, 66, 0.05) !important;
    }

    .tweets-page-shell .tweet-feed-list,
    .tweets-page-shell .alert-box,
    .tweets-page-shell .guest-profile-flat,
    .tweets-page-shell .tweets-pager {
        max-width: 860px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }

    .tweets-page-shell .tweet-card-flat {
        border: 1px solid #E2ECF7 !important;
        border-radius: 18px;
        margin-bottom: 14px;
        box-shadow: 0 4px 16px rgba(15, 41, 66, 0.04);
    }

    /* ۳) صفحه login.php: کارت وسط‌چین شکیل با بنر آبی ملایم هماهنگ با index.php */
    .auth-fullbleed-page {
        background: #F4F8FC;
        min-height: calc(100vh - 120px);
        padding: 36px 20px 56px;
    }

    .auth-fullbleed-banner {
        max-width: 520px;
        margin: 0 auto;
        border-radius: 22px 22px 0 0;
        background:
            radial-gradient(circle at 14% 20%, rgba(147, 197, 253, 0.42) 0%, transparent 45%),
            linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%) !important;
        color: #0F2942 !important;
        border: 1px solid #BAE6FD;
        border-bottom: 0;
        padding: 28px 24px 22px !important;
    }

    .auth-fullbleed-banner h1,
    .auth-fullbleed-banner p {
        color: #0F2942 !important;
    }

    .auth-fullbleed-banner p {
        color: #335573 !important;
    }

    .auth-fullbleed-page .auth-form-card,
    .auth-fullbleed-page .auth-flat-body,
    .auth-fullbleed-page .panel-flat-form {
        max-width: 520px;
        margin: 0 auto !important;
        background: #fff;
        border: 1px solid #E2ECF7;
        border-top: 0;
        border-radius: 0 0 22px 22px !important;
        box-shadow: 0 14px 36px rgba(15, 41, 66, 0.07) !important;
        padding: 24px 26px 28px !important;
    }

    /* ۴) صفحه call.php و profile.php مهمان در تبلت و دسکتاپ */
    .profile-section .guest-profile-flat {
        max-width: 560px;
        margin: 34px auto;
        background: #fff;
        border: 1px solid #E2ECF7;
        border-radius: 22px;
        padding: 36px 28px;
        box-shadow: 0 12px 32px rgba(15, 41, 66, 0.06);
    }

    .panel-page-wrap .voip-stage-card {
        max-width: 520px;
        margin: 26px auto;
        border-radius: 24px;
        box-shadow: 0 16px 42px rgba(15, 41, 66, 0.12);
    }

    /* ۵) تبلت (768px تا 959px): کانتینر مرتب با فاصله کناری برای صفحات پنل، نوبت و جستجو */
    .panel-fullbleed-section,
    .profile-menu-fullbleed,
    .profile-fullbleed-hero {
        max-width: 900px;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .profile-fullbleed-hero {
        margin-top: 20px !important;
        border-radius: 20px 20px 0 0;
        overflow: hidden;
    }

    .panel-fullbleed-section,
    .profile-menu-fullbleed {
        background: #fff;
        border: 1px solid #E2ECF7;
        border-radius: 0 0 20px 20px;
        box-shadow: 0 8px 28px rgba(15, 41, 66, 0.05);
        margin-bottom: 32px !important;
        overflow: hidden;
    }

    main.app-main > .panel-fullbleed-section:first-child {
        margin-top: 24px !important;
        border-radius: 20px;
    }
}

@media (min-width: 1120px) {
    .bookmarks-page-shell .therapists-grid-fullbleed {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}
