@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800&family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;600;800&family=Tajawal:wght@300;400;500;700&display=swap');
/* --- SUB-LOGO TAGLINE TEXT --- */
.logo-tagline {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-main);
    margin-top: 0.4rem;
    max-width: 280px;
    line-height: 1.3;
    display: block;
    overflow-wrap: anywhere;
    word-break: break-word;
}

[dir="rtl"] .logo-tagline {
    font-family: 'Tajawal', sans-serif;
    letter-spacing: 0;
}

/* --- FORCE REMOVAL OF NAV LINK UNDERLINES --- */
.nav-link-custom,
.footer-links-list a,
.feature-card-link {
    text-decoration: none !important;
    border-bottom: none !important;
}

/* --- GOLDEN GLOW EFFECTS --- */
.utility-glow {
    color: #EAB308 !important; /* Premium Balanced Gold */
    font-weight: 600;
    transition: all 0.3s ease-in-out;
    text-shadow: 0 0 8px rgba(234, 179, 8, 0.4);
}

    .utility-glow:hover {
        color: #facc15 !important;
        text-shadow: 0 0 15px rgba(234, 179, 8, 0.8);
    }

/* --- GOLDEN GLOW CAROUSEL INDICATORS --- */
.carousel-indicators button {
    background-color: #EAB308 !important;
    opacity: 0.4;
    width: 12px;
    height: 12px;
    /*border-radius: 0%;
    border: 2px solid transparent;*/
    transition: all 0.3s ease;
}

    .carousel-indicators button.active {
        opacity: 1 !important;
        background-color: #EAB308 !important;
        /*box-shadow: 0 0 12px #EAB308, 0 0 4px #EAB308;*/
        transform: scale(1.2);
    }

/* --- OFFCANVAS HAMBURGER RESPONSIVENESS --- */
.navbar-toggler {
    border: none !important;
    padding: 0;
}

    .navbar-toggler:focus {
        box-shadow: none !important;
    }

.hamburger-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(77, 127, 178, 0.08);
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

    .hamburger-btn:hover,
    .hamburger-btn.is-open {
        background: rgba(77, 127, 178, 0.15);
        box-shadow: var(--teal-glow);
    }

.hamburger-icon {
    width: 22px;
    height: 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .hamburger-icon span {
        display: block;
        height: 2.5px;
        width: 100%;
        background: var(--primary-dark);
        border-radius: 2px;
        transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
    }

.hamburger-btn.is-open .hamburger-icon span:nth-child(1) {
    transform: translateY(6.75px) rotate(45deg);
    background: var(--primary-teal);
}

.hamburger-btn.is-open .hamburger-icon span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.is-open .hamburger-icon span:nth-child(3) {
    transform: translateY(-6.75px) rotate(-45deg);
    background: var(--primary-teal);
}

.mobile-offcanvas {
    width: min(320px, 88vw) !important;
    max-width: 320px;
    border: none !important;
    box-shadow: -8px 0 40px rgba(15, 23, 42, 0.18);
    z-index: 1055;
}

[dir="rtl"] .mobile-offcanvas {
    box-shadow: 8px 0 40px rgba(15, 23, 42, 0.18);
}

.mobile-offcanvas-header {
    background: linear-gradient(135deg, var(--primary-teal) 0%, #3b6b99 60%, #2d5580 100%);
    color: #fff;
    padding: 1.6rem 1.4rem;
    border-bottom: 3px solid var(--accent-gold);
}

.mobile-offcanvas-subtitle {
    font-size: 1.2rem;
    opacity: 0.85;
    color: rgba(255, 255, 255, 0.9);
}

.mobile-offcanvas .offcanvas-body {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1.4rem;
}

.mobile-nav-link {
    display: block;
    padding: 1rem 1.2rem !important;
    border-radius: 10px;
    font-size: 1.55rem !important;
    border-inline-start: 3px solid transparent;
    transition: all 0.25s ease;
}

    .mobile-nav-link:hover {
        background: rgba(77, 127, 178, 0.08);
        border-inline-start-color: var(--primary-teal-light);
    }

    .mobile-nav-link.active {
        background: linear-gradient(90deg, rgba(77, 127, 178, 0.12) 0%, rgba(234, 179, 8, 0.08) 100%);
        border-inline-start-color: var(--accent-gold);
        color: var(--primary-teal) !important;
        font-weight: 600;
    }

.mobile-contact-link {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: color 0.2s ease;
}

    .mobile-contact-link:hover {
        color: var(--primary-teal);
    }

.mobile-social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(77, 127, 178, 0.1);
    color: var(--primary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

    .mobile-social-icons a:hover {
        background: var(--primary-teal);
        color: #fff;
        transform: translateY(-2px);
        box-shadow: var(--teal-glow);
    }

.mobile-menu-footer {
    border-top: 1px solid rgba(77, 127, 178, 0.12);
}

.offcanvas-backdrop {
    z-index: 1050;
}
:root {
    --primary-teal: #4d7fb2;
    --primary-teal-light: #6b9fd4;
    --primary-dark: #0f172a;
    --navy: #000035;
    --accent-gold: #EAB308;
    --accent-gold-light: #facc15;
    --accent-emerald: #EAB308;
    --accent-blue: #3b82f6;
    --text-main: #000035;
    --text-light: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(255, 255, 255, 0.35);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 53, 0.06);
    --bg-gradient: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    --gold-glow: 0 0 20px rgba(234, 179, 8, 0.35);
    --teal-glow: 0 8px 30px rgba(77, 127, 178, 0.25);
    --font-big: 3rem;
    --font-medium: 1.9rem;
    --font-small: 1.45rem;
    --font-xs: 1.2rem;
    --dash-control-font: 1.35rem;
    --dash-control-min-height: 3rem;
    --dash-control-padding-y: 0.625rem;
    --dash-control-padding-x: 1.15rem;
}

.text-big, .section-title, .glass-caption h2 { color: var(--navy); font-size: var(--font-big); font-weight: 700; line-height: 1.3; }
.text-medium, .feature-card h3, .news-title, h4.fw-bold { color: var(--navy); font-size: var(--font-medium); font-weight: 600; line-height: 1.35; }
.text-small, body, .feature-card p, .news-excerpt, .page-hero-lead { color: var(--text-main); font-size: var(--font-small); line-height: 1.6; }
.text-xs, .news-date, .logo-tagline, small, .text-muted { font-size: var(--font-xs); }
.text-navy { color: var(--navy) !important; }

/* STICKY SITE CHROME */
.site-chrome {
    position: sticky;
    top: 0;
    z-index: 1040;
    width: 100%;
}

.top-utility-bar {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0, 0, 53, 0.06);
    font-size: var(--font-xs);
    padding: 0.45rem 0;
}

.utility-location {
    color: var(--navy);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.utility-location:hover { color: var(--primary-teal); }
.utility-location .bi-geo-alt-fill { color: #dc2626; }

.custom-header {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.navbar-brand-corner {
    min-width: 0;
    max-width: min(68vw, 320px);
}

.navbar-brand-corner img {
    height: 46px;
    width: auto;
    max-width: 100%;
}

/* FULLSCREEN MOBILE MENU */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.is-open {
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
}

.mobile-menu-overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 53, 0.55);
    backdrop-filter: blur(6px);
}

.mobile-menu-overlay-panel {
    position: relative;
    z-index: 2;
    height: 100%;
    width: 100%;
    background: linear-gradient(160deg, rgba(255,255,255,0.97) 0%, rgba(241,245,249,0.98) 100%);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-user-chip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: rgba(77, 127, 178, 0.08);
    border-radius: 12px;
    border-inline-start: 4px solid var(--accent-gold);
    margin-top: 0.5rem;
}

.mobile-user-chip .bi-person-circle { font-size: 2.4rem; color: var(--primary-teal); }

.mobile-menu-close {
    border: none;
    background: rgba(0,0,53,0.06);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--navy);
}

.mobile-menu-overlay .mobile-nav-link {
    font-size: 1.7rem !important;
    padding: 1rem 0.5rem !important;
    border-bottom: 1px solid rgba(0,0,53,0.06);
    border-radius: 0;
    border-inline-start: none;
}

.mobile-menu-actions { margin-top: auto; padding-top: 1.5rem; }

body.menu-open { overflow: hidden; }

/* DASHBOARD */
.dashboard-grid .value-card { cursor: pointer; text-decoration: none; color: inherit; display: block; }
.dashboard-grid .value-card:hover { transform: translateY(-4px); }

.pager-bar { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.pager-bar a, .pager-bar span {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: var(--font-small);
    border: 1px solid rgba(77,127,178,0.2);
    color: var(--navy);
}
.pager-bar a:hover, .pager-bar span.active {
    background: var(--primary-teal);
    color: #fff;
    border-color: var(--primary-teal);
}

.section-title { color: var(--navy); }
.glass-caption h2, .glass-caption p { color: var(--navy); }
.feature-card h3 { color: var(--navy); }
.feature-card p { color: var(--text-main); }
.value-card h4 { color: var(--navy); }

@media (max-width: 991.98px) {
    :root {
        --font-big: 2.2rem;
        --font-medium: 1.65rem;
        --font-small: 1.35rem;
        --font-xs: 1.1rem;
    }
    .navbar-brand-corner { max-width: calc(100% - 56px); }
    .navbar-brand-corner img { height: 40px; }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    overflow-x: clip;
    width: 100%;
}

body, .tamakani-body {
    font-family: 'Inter', 'Cairo', sans-serif;
    font-size: 1.6rem;
    color: var(--text-main);
    background: var(--bg-gradient) !important;
    min-height: 100vh;
    overflow-x: clip;
    width: 100%;
    position: relative;
}

.site-main {
    overflow-x: clip;
    width: 100%;
}

#mainForm {
    width: 100%;
    overflow-x: clip;
}

/* Typography Overrides based on direction */
[dir="rtl"] body {
    font-family: 'Cairo', 'Tajawal', sans-serif;
}

.brand-font {
    font-family: 'Outfit', 'Cairo', sans-serif;
}

/* --- TOP INFORMATION UTILITY STRIP --- */
.top-utility-bar {
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 1.3rem;
    padding: 0.6rem 0;
    color: var(--text-main);
}

    .top-utility-bar a {
        color: var(--text-main);
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .top-utility-bar a:hover {
            color: var(--primary-teal);
        }

    .top-utility-bar .utility-item {
        display: inline-flex;
        align-items: center;
        gap: 0.6rem;
    }

/* --- NAVIGATION HEADER --- */
.custom-header {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    z-index: 1040;
    box-shadow: var(--glass-shadow);
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

    .custom-header.header-scrolled {
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 4px 24px rgba(77, 127, 178, 0.12);
    }

.header-accent-bar {
    height: 3px;
    background: linear-gradient(90deg, var(--primary-teal) 0%, var(--accent-gold) 50%, var(--primary-teal) 100%);
    background-size: 200% 100%;
    animation: shimmerBar 4s ease-in-out infinite;
}

@keyframes shimmerBar {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.header-container {
    max-width: 100%;
    gap: 1rem;
}

.navbar-brand {
    min-width: 0;
    max-width: calc(100% - 60px);
}

.navbar-brand img {
    height: 50px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.nav-link-custom {
    font-weight: 500;
    color: var(--text-main);
    padding: 0.8rem 1.4rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    position: relative;
}

    .nav-link-custom::after {
        content: '';
        position: absolute;
        bottom: 4px;
        left: 50%;
        transform: translateX(-50%) scaleX(0);
        width: 60%;
        height: 2px;
        background: linear-gradient(90deg, var(--primary-teal), var(--accent-gold));
        border-radius: 2px;
        transition: transform 0.3s ease;
    }

    .nav-link-custom:hover {
        color: var(--primary-teal);
        background: rgba(77, 127, 178, 0.08);
    }

    .nav-link-custom.active {
        color: var(--primary-teal);
        background: rgba(77, 127, 178, 0.1);
        font-weight: 600;
    }

        .nav-link-custom.active::after {
            transform: translateX(-50%) scaleX(1);
        }

.nav-link-custom--soon {
    opacity: 0.65;
}

.btn-outline-custom {
    border: 1px solid var(--primary-teal);
    color: var(--primary-teal);
    font-size: 1.4rem;
    font-weight: 600;
    padding: 0.6rem 1.6rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .btn-outline-custom:hover {
        background: var(--primary-teal);
        color: #ffffff;
    }

.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-teal) 0%, #3b6b99 100%);
    color: #ffffff !important;
    font-size: 1.4rem;
    font-weight: 600;
    padding: 0.6rem 2rem;
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 12px rgba(77, 127, 178, 0.25);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

    .btn-primary-custom::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(234, 179, 8, 0.25), transparent);
        transition: left 0.5s ease;
    }

    .btn-primary-custom:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(77, 127, 178, 0.4), var(--gold-glow);
    }

        .btn-primary-custom:hover::before {
            left: 100%;
        }

/* --- HERO PREMIUM CAROUSEL --- */
.hero-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

#heroCarousel {
    max-width: 100%;
    overflow: hidden;
}

.carousel-item {
    min-height: 420px;
    max-height: 580px;
    background-color: var(--primary-dark);
}

.carousel-inner {
    max-width: 100%;
}

.carousel-img-placeholder {
    width: 100%;
    height: 580px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

    .carousel-img-placeholder::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(
            135deg,
            rgba(15, 23, 42, 0.25) 0%,
            rgba(77, 127, 178, 0.15) 50%,
            rgba(234, 179, 8, 0.08) 100%
        );
        pointer-events: none;
    }

.glass-caption {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    transform: none;
    width: 100%;
    max-width: none;
    margin: 0;
    background: rgba(255, 255, 255, 0.58);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-inline-start: 4px solid var(--accent-gold);
    padding: 2rem 2.5rem;
    border-radius: 0;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.12);
    z-index: 2;
}

[dir="rtl"] .glass-caption {
    text-align: right;
}

[dir="ltr"] .glass-caption {
    text-align: left;
}

.glass-caption h2 {
    font-size: 2.8rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.35;
}

.glass-caption p {
    font-size: 1.5rem;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 0;
}

/* --- HOME SECTIONS STYLING --- */
.section-padding {
    padding: 7rem 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

    .section-title::after {
        content: '';
        display: block;
        width: 60px;
        height: 4px;
        margin-top: 0.8rem;
        border-radius: 2px;
        background: linear-gradient(90deg, var(--primary-teal), var(--accent-gold));
    }

.text-center .section-title::after {
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-size: 1.6rem;
    color: var(--text-light);
    margin-bottom: 4.5rem;
}

/* --- CLINICAL ADVISORY CLICKABLE CARDS --- */
.feature-card-link {
    text-decoration: none !important;
    color: inherit;
    display: block;
}

.feature-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 3rem 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

    .feature-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07), 0 0 0 1px rgba(234, 179, 8, 0.15);
    }

/* Custom Palette Card Tints */
.card-eco {
    background-color: #f0fdfa !important; /* light greenish blue */
    border-inline-start: 5px solid #0d9488;
}

.card-legal {
    background-color: #fefce8 !important; /* light golden color */
    border-inline-start: 5px solid var(--accent-emerald);
}

.card-psycho {
    background-color: #eff6ff !important; /* light blue */
    border-inline-start: 5px solid var(--primary-teal);
}

.feature-icon {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    margin-bottom: 2rem;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

.card-eco .feature-icon {
    color: #0d9488;
}

.card-legal .feature-icon {
    color: #d97706;
}

.card-psycho .feature-icon {
    color: #2563eb;
}

.feature-card h3 {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1.2rem;
}

.feature-card p {
    font-size: 1.45rem;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 0;
}

/* --- VALUES CARDS BLOCK (Mission, Vision, Objectives) --- */
.value-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 2.5rem;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: all 0.25s ease;
    height: 100%;
}

    .value-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(77, 127, 178, 0.08);
        border-color: rgba(77, 127, 178, 0.2);
    }

.value-icon-wrapper {
    font-size: 2.8rem;
    color: var(--primary-teal);
    margin-bottom: 1.5rem;
}

/* --- LATEST NEWS RESERVED REGION --- */
.news-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.04);
    height: 100%;
    transition: transform 0.2s ease;
}

    .news-card:hover {
        transform: translateY(-2px);
    }

/*.news-img-box {
    width: 100%;
    height: 180px;
    background-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.3rem;
}*/

/* 1. THE PRERENDERED CONTAINER BOX */
.news-img-box {
    width: 100%;
    height: 200px; /* Forces a locked, uniform height across all cards */
    background-color: #e2e8f0; /* Clean fallback color before the image loads */
    position: relative;
    overflow: hidden; /* Crucial: clips image corners to the card's borders */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 2. THE TARGET HTML IMAGE ELEMENT */
.news-card-img,
.news-img-box img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.news-content {
    padding: 1.8rem;
}

.news-date {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 0.6rem;
    display: block;
}

.news-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-excerpt {
    font-size: 1.35rem;
    color: var(--text-main);
    line-height: 1.5;
}

/* --- PREMIUM FOOTER OVERHAUL --- */
.custom-footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 5rem 0 2.5rem 0;
    font-size: 1.45rem;
}

    .custom-footer h5 {
        color: #ffffff;
        font-size: 1.7rem;
        font-weight: 600;
        margin-bottom: 1.5rem;
    }

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links-list li {
        margin-bottom: 1rem;
    }

    .footer-links-list a {
        color: #94a3b8;
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .footer-links-list a:hover {
            color: var(--accent-gold-light);
        }

.footer-social-icons {
    display: flex;
    gap: 1.5rem;
}

    .footer-social-icons a {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: rgba(255,255,255,0.06);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ffffff;
        font-size: 1.6rem;
        text-decoration: none;
        transition: all 0.25s ease;
    }

        .footer-social-icons a:hover {
            background: var(--primary-teal);
            color: #ffffff;
            transform: translateY(-2px);
        }

.footer-bottom-bar {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 2rem;
    margin-top: 4rem;
    font-size: 1.35rem;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (min-width: 992px) {
    .carousel-img-placeholder {
        display: block;
    }

    .glass-caption {
        position: absolute;
        bottom: 10%;
        left: 5%;
        right: auto;
        width: min(90%, 750px);
        margin: 0;
        padding: 2.5rem;
        border-radius: 20px;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), var(--gold-glow);
    }

    [dir="rtl"] .glass-caption {
        left: auto;
        right: 5%;
        text-align: right;
    }

    [dir="ltr"] .glass-caption {
        left: 5%;
        right: auto;
        text-align: left;
    }
}

/* --- PAGE HERO BANNER (inner pages) --- */
.page-hero {
    background: var(--bg-gradient);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 5rem 0 4rem;
}

.page-hero .section-title {
    margin-bottom: 1rem;
}

.page-hero-lead {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 1.7rem;
    line-height: 1.6;
}

/* --- CONTACT FORM --- */
.contact-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.contact-form-card .form-label {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 1.4rem;
}

    .contact-form-card .form-control,
    .contact-form-card .form-select {
        height: 40px;
        font-size: 1.45rem;
        padding-block: 0.75rem;
        padding-inline-start: 1rem;
        padding-inline-end: 2.25rem;
        border-radius: 8px;
        border: 1px solid rgba(77, 127, 178, 0.2);
    }

    .contact-form-card .form-select {
        background-position: right 1rem center;
        background-size: 16px 12px;
    }

[dir="rtl"] .contact-form-card .form-select {
    background-position: left 1rem center;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(77, 127, 178, 0.15);
}

.contact-info-card {
    background: linear-gradient(135deg, var(--primary-teal) 0%, #3b6b99 100%);
    color: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    height: 100%;
}

.contact-info-card a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
}

.contact-info-card a:hover {
    color: var(--accent-gold-light);
}

.story-card {
    background: #fff;
    border-radius: 14px;
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    height: 100%;
}

.story-card .story-quote {
    font-size: 3rem;
    line-height: 0;
    color: var(--accent-gold);
    opacity: 0.5;
}

.project-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(77, 127, 178, 0.12);
}

.project-card-header {
    padding: 1.5rem 2rem;
    color: #fff;
}

.project-card-header--legal { background: linear-gradient(135deg, #d97706, var(--accent-gold)); }
.project-card-header--psycho { background: linear-gradient(135deg, var(--primary-teal), #3b6b99); }
.project-card-header--eco { background: linear-gradient(135deg, #0d9488, #14b8a6); }

.project-card-body {
    padding: 2rem;
}

.auth-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 8px 30px rgba(77, 127, 178, 0.08);
}

.auth-card .form-control {
    font-size: 1.45rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(77, 127, 178, 0.2);
}

.auth-card .form-control:focus {
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(77, 127, 178, 0.15);
}

.register-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.otp-input {
    letter-spacing: 0.35rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
}

/* Dashboard unified control sizing (height + font only — colors unchanged) */
.dashboard-ui .form-control {
    font-size: var(--dash-control-font);
    min-height: var(--dash-control-min-height);
    padding: var(--dash-control-padding-y) var(--dash-control-padding-x);
    line-height: 1.4;
    border-radius: 8px;
}

.dashboard-ui .form-select,
.dashboard-ui select.form-select {
    font-size: var(--dash-control-font);
    min-height: var(--dash-control-min-height);
    padding-block: var(--dash-control-padding-y);
    padding-inline-start: var(--dash-control-padding-x);
    padding-inline-end: 2.5rem;
    line-height: 1.4;
    border-radius: 8px;
    background-position: right var(--dash-control-padding-x) center;
    background-size: 16px 12px;
}

[dir="rtl"] .dashboard-ui .form-select,
[dir="rtl"] .dashboard-ui select.form-select {
    background-position: left var(--dash-control-padding-x) center;
}

.dashboard-ui textarea.form-control {
    min-height: 7.5rem;
}

.dashboard-ui input[type="file"].form-control {
    padding: 0.55rem var(--dash-control-padding-x);
}

.dashboard-ui .btn-primary-custom,
.dashboard-ui .btn-outline-custom,
.dashboard-ui .btn-logout-custom,
.dashboard-ui a.btn-primary-custom,
.dashboard-ui a.btn-outline-custom,
.dashboard-ui input[type="submit"].btn-primary-custom,
.dashboard-ui input[type="submit"].btn-outline-custom,
.dashboard-ui button.btn-primary-custom,
.dashboard-ui button.btn-outline-custom {
    font-size: var(--dash-control-font);
    font-weight: 600;
    min-height: var(--dash-control-min-height);
    padding: var(--dash-control-padding-y) var(--dash-control-padding-x);
    line-height: 1.4;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dashboard-ui .btn-sm.btn-primary-custom,
.dashboard-ui .btn-sm.btn-outline-custom,
.dashboard-ui a.btn.btn-sm {
    font-size: var(--dash-control-font);
    min-height: var(--dash-control-min-height);
    padding: var(--dash-control-padding-y) var(--dash-control-padding-x);
}

.contact-map {
    border-radius: 16px;
    overflow: hidden;
    height: 380px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@media (max-width: 991.98px) {
    .logo-tagline {
        font-size: 0.95rem;
        max-width: 100%;
        line-height: 1.25;
    }

    .navbar-brand img {
        height: 42px;
    }

    .section-padding {
        padding: 4.5rem 0;
    }

    .section-title {
        font-size: 2.4rem;
    }

    .glass-caption {
        padding: 1.2rem 1rem;
    }

        .glass-caption h2 {
            font-size: 1.6rem;
            margin-bottom: 0.5rem;
        }

        .glass-caption p {
            font-size: 1.2rem;
            line-height: 1.5;
        }

    .carousel-item {
        min-height: auto;
        max-height: none;
    }

    .carousel-img-placeholder {
        min-height: 280px;
        height: auto;
    }

    .feature-card {
        padding: 2rem 1.6rem;
    }

    .news-excerpt {
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .page-hero {
        padding: 3.5rem 0 3rem;
    }
}

@media (max-width: 575.98px) {
    .glass-caption h2 {
        font-size: 1.4rem;
    }

    .glass-caption p {
        font-size: 1.1rem;
    }

    .header-container {
        padding-top: 0.8rem;
        padding-bottom: 0.8rem;
    }
}
/* --- PARTNER LOGO COMPONENTS STYLE PROPERTIES --- */
.partner-logo-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 12px;
    padding: 1.5rem;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.01);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

    .partner-logo-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.05);
        border-color: rgba(0,0,0,0.08);
    }

.partner-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(70%); /* Modern soft aesthetic grayscale */
    transition: filter 0.3s ease;
    z-index: 2;
}

.partner-logo-card:hover .partner-img {
    filter: grayscale(0%) opacity(100%); /* Full rich color accent on hover positioning */
}

/* Fallback badge text style hidden behind the image until real file tracks load */
.partner-fallback-badge {
    position: absolute;
    font-size: 1.15rem;
    font-weight: 600;
    color: #94a3b8;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- v2.1 LOGOUT BUTTON --- */
.btn-logout-custom {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff !important;
    font-size: 1.4rem;
    font-weight: 600;
    padding: 0.6rem 2rem;
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-logout-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.35);
    color: #ffffff !important;
}

/* --- v2.1 HERO CAROUSEL STACK --- */
.hero-slide-stack {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.hero-slide-image {
    width: 100%;
    min-height: 240px;
    height: 42vw;
    max-height: 360px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-slide-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.25) 0%, rgba(77, 127, 178, 0.15) 50%, rgba(234, 179, 8, 0.08) 100%);
    pointer-events: none;
}

#heroCarousel .hero-carousel-indicators {
    position: relative;
    margin: 0;
    padding: 0.75rem 0 0.35rem;
    justify-content: center;
    bottom: auto;
    top: auto;
    z-index: 3;
}

.glass-caption {
    background: rgba(255, 255, 255, 0.58) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.42);
    box-shadow: 0 8px 32px rgba(0, 0, 53, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

/* --- v2.1 CASE STATUS COLORS --- */
.status-pending, .case-stat-card.status-pending { background: #fefce8; color: #b45309; border-color: #EAB308; }
.status-assigned, .case-stat-card.status-assigned { background: #eff6ff; color: #1d4ed8; border-color: #2563eb; }
.status-inprogress, .case-stat-card.status-inprogress { background: #f5f3ff; color: #6d28d9; border-color: #7c3aed; }
.status-closed, .case-stat-card.status-closed { background: #f1f5f9; color: #475569; border-color: #94a3b8; }
.status-cancelled, .case-stat-card.status-cancelled { background: #fef2f2; color: #b91c1c; border-color: #dc2626; }

.case-clinic-legal { border-inline-start-color: #d97706; }
.case-clinic-psycho { border-inline-start-color: #2563eb; }
.case-clinic-eco { border-inline-start-color: #0d9488; }
.case-clinic-general { border-inline-start-color: var(--primary-teal); }

.case-stat-card {
    border: 1px solid rgba(0, 0, 53, 0.08);
    border-radius: 14px;
    padding: 1rem;
    text-align: center;
    background: #fff;
}

.case-stat-value {
    display: block;
    font-size: var(--font-big);
    font-weight: 800;
    line-height: 1.1;
}

.case-stat-label {
    display: block;
    font-size: var(--font-xs);
    font-weight: 600;
    margin-top: 0.25rem;
}

.case-search-panel {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px);
}


.case-card {
    display: block;
    position: relative;
    border-radius: 16px;
    padding: 1.25rem 1.1rem 1rem;
    text-decoration: none;
    color: var(--navy);
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(0, 0, 53, 0.08);
    border-inline-start-width: 5px;
    box-shadow: 0 8px 24px rgba(0, 0, 53, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    min-height: 170px;
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 0, 53, 0.1);
    color: var(--navy);
}

.case-card-corner {
    position: absolute;
    top: 0.75rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: var(--font-xs);
    font-weight: 700;
    line-height: 1.2;
}

.case-card-corner-start { inset-inline-start: 0.75rem; }
.case-card-corner-end { inset-inline-end: 0.75rem; }

.case-card-corner-inline {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: var(--font-xs);
    font-weight: 700;
    margin-inline-end: 0.35rem;
}

.case-card-body {
    padding-top: 2.2rem;
}

[dir="ltr"] .case-card-body { text-align: left; }
[dir="rtl"] .case-card-body { text-align: right; }

.case-card-title {
    font-size: var(--font-medium);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.case-card-summary {
    color: #475569;
    margin-bottom: 0.75rem;
    min-height: 2.8em;
}

.case-card-id {
    display: block;
    font-size: var(--font-small);
    font-weight: 700;
    color: var(--primary-teal);
}

.case-card-date {
    display: block;
    margin-top: 0.25rem;
    color: #64748b;
}

/* --- v2.1 CONSULTATION CHAT --- */
.consultation-chat-thread {
    max-height: 520px;
    overflow-y: auto;
    padding: 1rem;
    background: rgba(248, 250, 252, 0.85);
}

.chat-row {
    display: flex;
    align-items: flex-end;
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.chat-row-user { justify-content: flex-start; }
.chat-row-consultant { justify-content: flex-end; }

[dir="rtl"] .chat-row-user { justify-content: flex-end; }
[dir="rtl"] .chat-row-consultant { justify-content: flex-start; }

.chat-avatar {
    flex-shrink: 0;
}

.user-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    object-fit: cover;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    color: #475569;
    font-weight: 700;
    font-size: 0.72rem;
    overflow: hidden;
    flex-shrink: 0;
}

.user-avatar-sm {
    width: 1.85rem;
    height: 1.85rem;
    font-size: 0.68rem;
}

.user-avatar-md {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0.82rem;
}

.user-avatar-lg {
    width: 6rem;
    height: 6rem;
    font-size: 1.35rem;
}

.user-avatar-initials {
    background: linear-gradient(135deg, #c4b5fd, #7c3aed);
    color: #fff;
}

.header-user-chip {
    max-width: 14rem;
}

.profile-photo-section {
    text-align: center;
}

.profile-photo-preview-wrap {
    display: inline-flex;
    margin-bottom: 0.5rem;
}

.profile-photo-preview {
    border: 3px solid #f1f5f9;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.dashboard-welcome {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dashboard-welcome-text {
    flex: 1;
    min-width: 0;
}

.profile-card-avatar {
    background: transparent;
    box-shadow: none;
}

.profile-card-avatar .user-avatar {
    width: 3rem;
    height: 3rem;
    font-size: 1rem;
}

[dir="rtl"] .dashboard-welcome {
    flex-direction: row-reverse;
    text-align: right;
}

.chat-bubble {
    max-width: min(88%, 640px);
    border-radius: 16px;
    padding: 0.85rem 1rem;
    box-shadow: 0 4px 14px rgba(0, 0, 53, 0.06);
}

.chat-bubble-user {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(77, 127, 178, 0.18);
}

.chat-bubble-consultant {
    background: rgba(239, 246, 255, 0.95);
    border: 1px solid rgba(37, 99, 235, 0.18);
}

.chat-bubble-meta {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.45rem;
    color: #64748b;
}

.chat-bubble-body {
    white-space: pre-wrap;
    word-break: break-word;
    font-size: var(--font-small);
}

.chat-attachments {
    margin-top: 0.65rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.chat-attachment-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 53, 0.08);
    font-size: var(--font-xs);
    text-decoration: none;
    color: var(--navy);
}

.chat-attachment-link:hover { color: var(--primary-teal); }

@media (min-width: 992px) {
    .hero-slide-stack {
        display: block;
        position: relative;
        min-height: 580px;
    }

    .hero-slide-image {
        position: absolute;
        inset: 0;
        height: 100%;
        max-height: none;
        min-height: 580px;
    }

    #heroCarousel .hero-carousel-indicators {
        position: absolute;
        /*bottom: calc(10% + 140px);*/
        bottom: 25px;
        left: 0;
        right: 0;
        padding: 0;
        z-index: 5;
    }

    .glass-caption {
        position: absolute;
        bottom: 10%;
        left: 5%;
        right: auto;
        width: min(90%, 750px);
        margin: 0;
        padding: 2.5rem;
        border-radius: 20px;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), var(--gold-glow);
    }

    [dir="rtl"] .glass-caption { left: auto; right: 5%; text-align: right; }
    [dir="ltr"] .glass-caption { left: 5%; right: auto; text-align: left; }
}

@media (max-width: 991.98px) {
    .header-container {
        justify-content: space-between;
        gap: 0.65rem;
    }

    .navbar-brand-corner {
        max-width: calc(100% - 52px);
        flex: 1 1 auto;
        min-width: 0;
    }

    .header-actions {
        margin-inline-start: auto;
        flex: 0 0 auto;
    }

    .hamburger-btn {
        margin-inline-start: 0;
    }

    #heroCarousel {
        position: relative;
    }

    .hero-slide-image {
        min-height: 220px;
        height: 38vw;
        max-height: 360px;
    }

    #heroCarousel .hero-carousel-indicators {
        position: absolute;
        top: clamp(220px, 38vw, 360px);
        left: 0;
        right: 0;
        transform: translateY(-50%);
        margin: 0;
        padding: 0.35rem 0;
        z-index: 4;
        background: rgba(255, 255, 255, 0.35);
        backdrop-filter: blur(8px);
    }

    .glass-caption {
        border-radius: 0;
        padding: 1.35rem 1rem 1.25rem;
        margin-top: 0.75rem;
    }
}

/* --- NOTIFICATIONS BELL --- */
.notification-bell-wrap {
    position: relative;
}

.notification-bell-btn {
    position: relative;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 1px solid rgba(77, 127, 178, 0.25);
    background: rgba(255, 255, 255, 0.9);
    color: var(--navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.notification-bell-btn:hover {
    background: rgba(77, 127, 178, 0.08);
    color: var(--primary-teal);
}

.notification-badge {
    position: absolute;
    top: -0.15rem;
    inset-inline-end: -0.15rem;
    min-width: 1.1rem;
    height: 1.1rem;
    padding: 0 0.25rem;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1.1rem;
    text-align: center;
}

.notification-dropdown {
    width: min(22rem, 92vw);
    max-height: 24rem;
    overflow: hidden;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 53, 0.12);
}

.notification-dropdown-header {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 53, 0.08);
}

.notification-list {
    max-height: 18rem;
    overflow-y: auto;
}

.notification-item {
    display: block;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--navy);
    border-bottom: 1px solid rgba(0, 0, 53, 0.05);
}

.notification-item:hover {
    background: rgba(77, 127, 178, 0.06);
    color: var(--navy);
}

.notification-item-unread {
    background: rgba(77, 127, 178, 0.08);
    border-inline-start: 3px solid var(--primary-teal);
}

/* --- MEDIA PREVIEW MODAL --- */
.media-preview-modal-content {
    border-radius: 14px;
    overflow: hidden;
}

.media-preview-image {
    max-height: 70vh;
    object-fit: contain;
}

.media-preview-video {
    max-height: 70vh;
    background: #000;
}

.media-preview-audio {
    width: 100%;
    margin: 1rem 0;
}

.chat-attachment-preview {
    cursor: pointer;
}

/* --- WHATSAPP FAB --- */
.whatsapp-fab {
    position: fixed;
    bottom: 1.5rem;
    z-index: 1040;
    width: 6.25rem;
    height: 6.25rem;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 3.65rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-fab:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}

[dir="ltr"] .whatsapp-fab {
    left: 1.5rem;
    right: auto;
}

[dir="rtl"] .whatsapp-fab {
    right: 1.5rem;
    left: auto;
}

/* --- PASSWORD REQUIREMENTS CHECKLIST --- */
.password-requirements li {
    color: #64748b;
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.password-requirements li i {
    font-size: 0.85rem;
    color: #94a3b8;
}

.password-requirements li.met {
    color: #15803d;
}

.password-requirements li.met i {
    color: #16a34a;
}

.password-field-wrap {
    position: relative;
    display: block;
    width: 100%;
}

.password-field-wrap .form-control {
    width: 100%;
    padding-inline-end: 2.75rem;
}

.password-toggle-btn {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    left: auto;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #64748b;
    padding: 0.25rem 0.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 4;
}

[dir="rtl"] .password-toggle-btn {
    right: auto;
    left: 0.5rem;
}

.password-toggle-btn:hover {
    color: var(--primary-color, #7c3aed);
}

.password-toggle-btn i {
    pointer-events: none;
}

.date-field-wrap {
    width: 100%;
}

.date-field-wrap .date-picker-btn i {
    pointer-events: none;
}