/* ========================================
   therapists.css - Glass + Stars (blog style)
   Preserves all 3D card stacking, filters, modals
   Desktop menu: single line (nowrap)
   Mobile menu: slide-in from right with overlay
   ======================================== */

/* ---------- CSS Variables (extended with glass) ---------- */
:root {
    /* Primary Colors */
    --primary: #667eea;
    --primary-dark: #5a67d8;
    --primary-light: #7f9cf5;
    --secondary: #764ba2;
    --secondary-dark: #6b46a0;      /* added missing variable */
    --secondary-light: #9f7aea;
    --accent: #f687b3;
    --success: #48bb78;
    --warning: #ecc94b;
    --danger: #f56565;
    --info: #4299e1;

    /* Glass additions (blog style) */
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-highlight: rgba(255, 255, 255, 0.6);
    --bg-deep: #0b0f14;

    /* Original variables preserved */
    --bg-primary: #ffffff;
    --bg-secondary: #f7fafc;
    --bg-tertiary: #edf2f7;
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --border-color: #e2e8f0;
    --card-bg: #ffffff;
    --card-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1), 0 5px 15px -5px rgba(0, 0, 0, 0.05);
    --header-bg: rgba(255, 255, 255, 0.95);
    --footer-bg: #2d3748;
    --footer-text: #e2e8f0;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-hover: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.05) 100%);

    /* Shadows */
    --shadow-sm: 0 2px 5px rgba(0,0,0,0.05);
    --shadow-md: 0 5px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
    --shadow-glow: 0 0 30px rgba(102, 126, 234, 0.4);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    /* Z-Index */
    --z-negative: -1;
    --z-normal: 1;
    --z-dropdown: 10;
    --z-sticky: 100;
    --z-fixed: 200;
    --z-modal: 300;
    --z-popover: 400;
    --z-tooltip: 500;
    --z-toast: 600;

    /* Therapists page specific variables (preserved) */
    --primary-bg: #f8fafc;
    --card-bg-odd: #ffffff;
    --card-bg-even: #f1f5f9;
    --scale-level-1: 1.1;
    --scale-level-2: 1;
    --scale-level-3: 0.9;
    --rotate-level-1: 0deg;
    --rotate-level-2: 5deg;
    --rotate-level-3: 10deg;
    --position-x-level-1: 0;
    --position-x-level-2: 1rem;
    --position-x-level-3: 2rem;
    --position-y-level-1: 0;
    --position-y-level-2: 1rem;
    --position-y-level-3: 2rem;
    --transition-duration: 0.3s;
}

/* Dark Theme Variables (glass dark) */
body.dark-theme {
    --glass-bg: rgba(0, 0, 0, 0.2);
    --glass-border: rgba(255, 255, 255, 0.1);
    --bg-primary: #1a202c;
    --bg-secondary: #2d3748;
    --bg-tertiary: #4a5568;
    --text-primary: #f7fafc;
    --text-secondary: #e2e8f0;
    --text-muted: #cbd5e0;
    --border-color: #4a5568;
    --card-bg: #2d3748;
    --card-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
    --header-bg: rgba(26, 32, 44, 0.95);
    --footer-bg: #1a202c;
    --footer-text: #e2e8f0;
    --primary-bg: #0f172a;
    --card-bg-odd: #1e293b;
    --card-bg-even: #334155;
}

/* ---------- Reset & Base (with stars background) ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Cairo', 'Tajawal', sans-serif;
    background: radial-gradient(1200px 800px at 80% 10%, rgba(124, 58, 237, 0.35), transparent 60%),
                radial-gradient(1000px 700px at 10% 90%, rgba(6, 182, 212, 0.25), transparent 55%),
                var(--bg-deep);
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
    direction: rtl;
    min-height: 100vh;
    position: relative;
}

body.dark-theme {
    background: radial-gradient(1200px 800px at 80% 10%, rgba(124, 58, 237, 0.45), transparent 60%),
                radial-gradient(1000px 700px at 10% 90%, rgba(6, 182, 212, 0.35), transparent 55%),
                #0a0c12;
}

/* ========== Stars Background ========== */
#star-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0.8;
    animation: twinkle var(--duration, 3s) infinite ease-in-out;
    will-change: transform, opacity;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Ensure main content above stars */
.container,
.header,
.therapists-hero,
.therapists-filter,
.therapists-section,
.footer,
.modal {
    position: relative;
    z-index: 2;
}

/* ---------- Typography (light text on glass) ---------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #fff;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.85);
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}
a:hover {
    color: #fff;
}

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

ul, ol {
    list-style: none;
}

/* ---------- Container ---------- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }

.px-1 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2 { padding-left: 1rem; padding-right: 1rem; }
.px-3 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-4 { padding-left: 2rem; padding-right: 2rem; }
.px-5 { padding-left: 3rem; padding-right: 3rem; }

/* ---------- Buttons (glass) ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: var(--z-normal);
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    color: #fff;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: var(--z-negative);
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}
.btn-primary:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}
.btn-secondary:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border-color: rgba(255,255,255,0.3);
    color: #fff;
}
.btn-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.btn-danger {
    background: var(--danger);
    color: white;
}
.btn-danger:hover {
    background: #e53e3e;
    transform: translateY(-2px);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}
.btn-block {
    display: flex;
    width: 100%;
}
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ---------- Forms (glass) ---------- */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #fff;
}

input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: inherit;
    font-size: 1rem;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    color: #fff;
    transition: all var(--transition-fast);
}
input::placeholder,
textarea::placeholder {
    color: rgba(255,255,255,0.6);
}
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255,255,255,0.2);
    box-shadow: 0 0 0 3px rgba(102,126,234,0.2);
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.form-checkbox input {
    width: auto;
}
.form-checkbox label {
    margin-bottom: 0;
    font-weight: normal;
}
.error-message {
    color: var(--danger);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}
.form-note {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    margin-top: 1rem;
}

/* ---------- Header & Navigation (glass, single line desktop) ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
    z-index: var(--z-fixed);
    transition: all var(--transition-normal);
}

.header.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}
.logo i {
    font-size: 2rem;
    color: var(--primary);
}
.logo-highlight {
    color: var(--primary);
}

/* Desktop menu: single line, no wrap */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    flex-wrap: nowrap;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    padding: 8px 14px;
    border-radius: 30px;
    white-space: nowrap;
    transition: all var(--transition-fast);
}
.nav-link:hover,
.nav-link.active {
    background: rgba(255,255,255,0.15);
    color: #fff;
}
.nav-link::after {
    display: none; /* remove underline, background hover is cleaner */
}

.booking-btn {
    background: var(--primary) !important;
    color: white !important;
    padding: 8px 20px;
    border-radius: 40px;
    box-shadow: 0 0 15px rgba(102,126,234,0.4);
}
.booking-btn:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px);
}

.nav-extra {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle,
.language-select {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 40px;
    padding: 6px 14px;
    cursor: pointer;
    font-weight: 500;
    color: #fff;
    transition: var(--transition);
}
.theme-toggle:hover,
.language-select:hover {
    border-color: var(--primary);
    background: rgba(255,255,255,0.2);
}
.language-select option {
    background: #1e1e2f;
    color: #fff;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}
.bar {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

/* ---------- Mobile Menu (slide-in from right for RTL) ---------- */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(11, 15, 20, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 80px 20px 30px;
        transition: right 0.35s ease;
        z-index: 1000;
        gap: 10px;
        overflow-y: auto;
        border-left: 1px solid rgba(255,255,255,0.1);
    }
    .nav-menu.show {
        right: 0;
    }
    .nav-link {
        width: 100%;
        justify-content: flex-start;
        font-size: 1rem;
        padding: 12px 16px;
        white-space: nowrap;
    }
    .booking-btn {
        margin-top: 10px;
        justify-content: center;
    }
    .hamburger {
        display: flex;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    .nav-extra {
        margin-right: auto;
    }
}

/* ---------- Page Loader (glass) ---------- */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11,15,20,0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-toast);
    transition: opacity var(--transition-slow);
}
.page-loader.fade-out {
    opacity: 0;
    pointer-events: none;
}
.loader-content {
    text-align: center;
    color: white;
}
.loader-spinner {
    width: 80px;
    height: 80px;
    border: 5px solid rgba(255,255,255,0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.loader-text {
    font-size: 1.25rem;
    font-weight: 600;
}

/* ---------- Therapists Hero (glass) ---------- */
.therapists-hero {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.therapists-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.therapists-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}
.search-therapists {
    display: flex;
    max-width: 600px;
    margin: 0 auto 2rem;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.search-therapists input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 1rem;
    outline: none;
}
.search-therapists input::placeholder {
    color: rgba(255,255,255,0.7);
}
.search-therapists button {
    width: 60px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s;
}
.search-therapists button:hover {
    background: rgba(255,255,255,0.2);
}
.specialties-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}
.specialty-btn {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}
.specialty-btn:hover,
.specialty-btn.active {
    background: white;
    color: var(--primary);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ---------- Therapists Filter (glass) ---------- */
.therapists-filter {
    padding: 2rem 0;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}
.filter-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #fff;
}
.filter-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    color: #fff;
    font-family: inherit;
    transition: border-color 0.3s;
}
.filter-group select option {
    background: #1e1e2f;
    color: #fff;
}
.filter-group select:focus {
    outline: none;
    border-color: var(--primary);
}

/* ---------- 3D Card Stacking (therapists grid) - PRESERVED ---------- */
.therapists-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 3rem 0;
}
.card {
    width: 350px;
    height: 450px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    position: relative;
    transition: all var(--transition-duration) ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}
.card.active {
    transform: scale(var(--scale-level-1)) translateX(var(--position-x-level-1)) translateY(var(--position-y-level-1)) rotate(var(--rotate-level-1));
    z-index: 10;
    box-shadow: var(--shadow-lg);
}
.card:not(.active):not(.not-active) {
    transform: scale(var(--scale-level-2)) translateX(var(--position-x-level-2)) translateY(var(--position-y-level-2)) rotate(var(--rotate-level-2));
    z-index: 5;
}
.card.not-active {
    transform: scale(var(--scale-level-3)) translateX(var(--position-x-level-3)) translateY(var(--position-y-level-3)) rotate(var(--rotate-level-3));
    z-index: 1;
    filter: blur(1px);
}
@media (max-width: 768px) {
    .therapists-grid { gap: 1rem; }
    .card { width: 280px; height: 400px; }
}
/* Inner card structure (glass) */
.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(102,126,234,0.3), transparent);
    border-bottom: 1px solid rgba(255,255,255,0.2);
}
.header-text {
    display: flex;
    flex-direction: column;
}
.text-main {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}
.text-sub {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}
.header-icon-btn {
    background: transparent;
    border: none;
    color: #ff6b6b;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.2s;
}
.header-icon-btn:hover {
    transform: scale(1.1);
}
.avatar-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}
.therapist-details {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.therapist-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}
.therapist-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.therapist-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.skill-tag {
    background: rgba(255,255,255,0.15);
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}
.skill-tag.available {
    background: var(--success);
    color: white;
    border-color: transparent;
}
.skill-tag.soon {
    background: var(--warning);
    color: var(--text-primary);
    border-color: transparent;
}
.therapist-bio {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.75rem;
    flex: 1;
}
.therapist-contact {
    margin-top: auto;
}
.therapist-contact .btn {
    width: 100%;
    padding: 0.5rem;
    font-size: 0.9rem;
}

/* ---------- Empty State (glass) ---------- */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
}
.empty-state i {
    font-size: 5rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 1.5rem;
}
.empty-state h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.empty-state p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 2rem;
}

/* ---------- Load More Button ---------- */
#loadMoreContainer {
    margin-top: 3rem;
    text-align: center;
}

/* ---------- Notifications (glass) ---------- */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}
.notification {
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    border-right: 4px solid;
    animation: slideIn 0.3s ease;
    direction: rtl;
    color: #fff;
}
.notification.success { border-right-color: var(--success); }
.notification.error { border-right-color: var(--danger); }
.notification.warning { border-right-color: var(--warning); }
.notification.info { border-right-color: var(--info); }
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ---------- Scroll Top Button (glass) ---------- */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    z-index: var(--z-fixed);
    opacity: 0;
    visibility: hidden;
}
.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}
.scroll-top:hover {
    background: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ---------- Cookie Settings Modal (glass) ---------- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    padding: 1rem;
}
.modal.show {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    color: #fff;
    transform: scale(0.9);
    transition: transform var(--transition-normal);
}
.modal.show .modal-content {
    transform: scale(1);
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}
.modal-header h3 {
    font-size: 1.5rem;
    color: #fff;
}
.modal-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: rgba(255,255,255,0.7);
    transition: color var(--transition-fast);
}
.modal-close:hover {
    color: var(--danger);
}
.cookie-option {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-md);
}
.cookie-option label {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}
.cookie-option input {
    width: auto;
}
.small-text {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    margin-top: 0.25rem;
    margin-right: 1.5rem;
}
.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: flex-end;
}

/* ---------- Footer (glass) ---------- */
.footer {
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-logo {
    color: #fff;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
}
.footer-description {
    color: rgba(255,255,255,0.7);
    margin-bottom: 1rem;
    line-height: 1.8;
}
.footer-title {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background: var(--primary);
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.footer-links a {
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-fast);
    text-decoration: none;
}
.footer-links a:hover {
    color: white;
    transform: translateX(-5px);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.copyright {
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
}
.footer-extra {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.footer-link {
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
}
.footer-link:hover {
    color: white;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
}
@media (max-width: 768px) {
    .filter-container {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .modal-content {
        padding: 1.5rem;
    }
    .notification-container {
        top: auto;
        bottom: 20px;
        right: 20px;
        left: 20px;
        max-width: none;
    }
}
@media (max-width: 480px) {
    .therapists-hero h1 {
        font-size: 1.8rem;
    }
    .specialty-btn {
        padding: 0.3rem 1rem;
        font-size: 0.8rem;
    }
    .card {
        width: 260px;
        height: 380px;
    }
    .btn {
        width: 100%;
    }
}
