﻿/* =========================================================
FONT
========================================================= */

@font-face {
    font-family: 'Shabnam';
    src: url('/Font/Shabnam-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

/* =========================================================
ROOT
========================================================= */

:root {
    --clinic-sage-soft: #e8efeb;
    --clinic-blue-gray-soft: #e9eef1;
    --clinic-bg: #fbfcfa;
    --clinic-surface: #ffffff;
    --clinic-text: #34443e;
    --clinic-muted: #74817b;
    --clinic-border: #e2e9e4;
    --clinic-shadow: 0 16px 45px rgba(55, 79, 68, .09);
    --clinic-sage: #789487;
    --clinic-sage-dark: #526f63;
    --clinic-sage-light: #e8efeb;
    --clinic-blue-gray: #718695;
}

body {
    background: var(--clinic-bg);
    color: var(--clinic-text);
    transition: background .25s ease, color .25s ease;
    font-family: 'Shabnam', sans-serif !important;
}
.clinic-navbar .container {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
}

.clinic-logo {
    flex: 0 1 auto;
    min-width: 0;
}

.navbar-mobile-actions {
    display: flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
    margin-inline-start: auto;
}

.clinic-navbar .theme-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--clinic-sage);
    border-radius: 50%;
    background: var(--clinic-sage-light);
    color: var(--clinic-sage-dark);
    box-shadow: none;
    cursor: pointer;
    z-index: 5;
}

    .clinic-navbar .theme-toggle i {
        font-size: 1.05rem;
        line-height: 1;
    }

.clinic-navbar .navbar-toggler {
    flex: 0 0 auto;
    border-color: var(--clinic-sage);
    padding: 7px 9px;
}

    .clinic-navbar .navbar-toggler:focus {
        box-shadow: 0 0 0 .18rem rgba(120, 148, 135, .22);
    }

[data-theme="dark"] .clinic-navbar .theme-toggle {
    background: #34483f;
    color: #e7eeea;
    border-color: #718b7e;
}

[data-theme="dark"] .clinic-navbar {
    background-color: #293634;
}

@media (max-width: 991.98px) {
    .clinic-navbar .container {
        flex-wrap: wrap;
    }

    .clinic-navbar .navbar-brand {
        max-width: calc(100% - 105px);
    }

    .navbar-mobile-actions {
        margin-inline-start: auto;
        order: 2;
    }

    .clinic-navbar .navbar-collapse {
        flex-basis: 100%;
        order: 3;
        width: 100%;
    }

    .clinic-navbar .navbar-nav {
        padding-top: 12px;
    }

    .clinic-navbar .theme-toggle {
        display: inline-flex !important;
    }
}

@media (max-width: 380px) {
    .clinic-logo img {
        max-width: 42px;
        height: auto;
    }

    .clinic-logo-text span {
        font-size: .9rem;
    }

    .clinic-logo-text small {
        font-size: .7rem;
    }
}

.hero-section, .services-section, .about-section, .articles-section,
.reviews-section, .suitability-section, .credentials-section {
    background-color: var(--clinic-bg);
    color: var(--clinic-text);
}

.hero-section {
    background: linear-gradient(135deg, #f0f5f1 0%, #edf2f4 100%);
}

.service-card, .article-card, .about-box, .review-placeholder,
.suitability-card, .credentials-card {
    background: var(--clinic-surface);
    color: var(--clinic-text);
    border: 1px solid var(--clinic-border);
    border-radius: 22px;
    box-shadow: var(--clinic-shadow);
}

.hero-badge, .section-heading > span, .section-label,
.article-body > span, .suitability-content > .section-label {
    color: var(--clinic-sage-dark);
}

.hero-section h1 span {
    color: var(--clinic-sage-dark);
}

.btn-clinic {
    background: var(--clinic-sage-dark);
    border-color: var(--clinic-sage-dark);
    color: #fff;
}

    .btn-clinic:hover {
        background: #405d51;
        border-color: #405d51;
        color: #fff;
    }

.btn-outline-clinic {
    color: var(--clinic-sage-dark);
    border-color: var(--clinic-sage);
}

    .btn-outline-clinic:hover {
        background: var(--clinic-sage-soft);
        color: var(--clinic-sage-dark);
    }

.service-icon {
    background: var(--clinic-sage-soft);
    color: var(--clinic-sage-dark);
}

.assessment-box, .cta-section {
    background: linear-gradient(120deg, #607f72, #718695);
    border-radius: 24px;
}

.article-placeholder {
    background: var(--clinic-blue-gray-soft);
    color: var(--clinic-blue-gray);
}

.service-card p, .article-body h3, .section-heading p,
.about-section p, .suitability-card p {
    color: var(--clinic-muted);
}

.theme-toggle {
    position: fixed;
    z-index: 1050;
    top: 18px;
    left: 18px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--clinic-border);
    border-radius: 50%;
    background: var(--clinic-surface);
    color: var(--clinic-text);
    box-shadow: 0 5px 18px rgba(0,0,0,.10);
    font-size: 1.15rem;
}

.suitability-section, .credentials-section {
    padding: 85px 0;
}

.suitability-card {
    display: grid;
    grid-template-columns: 1.5fr .8fr;
    gap: 35px;
    padding: clamp(25px, 5vw, 55px);
    align-items: center;
}

.suitability-content h2, .credentials-card h2 {
    color: var(--clinic-text);
    font-weight: 800;
    margin: 14px 0;
}

.fit-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

    .fit-list li {
        display: flex;
        gap: 10px;
        align-items: flex-start;
        margin: 13px 0;
        color: var(--clinic-text);
    }

    .fit-list i {
        color: var(--clinic-sage-dark);
        margin-top: 4px;
    }

.fit-note {
    font-size: .9rem;
    padding: 13px 16px;
    background: var(--clinic-sage-soft);
    border-radius: 12px;
}

.suitability-visual {
    text-align: center;
    padding: 35px 25px;
    background: var(--clinic-blue-gray-soft);
    border-radius: 20px;
}

    .suitability-visual h3 {
        color: var(--clinic-text);
        font-size: 1.2rem;
        margin: 18px 0 10px;
    }

.fit-icon {
    width: 100px;
    height: 100px;
    margin: auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--clinic-surface);
    color: var(--clinic-blue-gray);
    font-size: 3rem;
}

.credentials-card {
    padding: clamp(22px, 4vw, 45px);
}

    .credentials-card .section-heading {
        text-align: right;
        margin-bottom: 30px;
    }

.credentials-form .form-label {
    color: var(--clinic-text);
    font-weight: 600;
}

.credentials-form .form-control {
    background: var(--clinic-bg);
    color: var(--clinic-text);
    border-color: var(--clinic-border);
    border-radius: 12px;
    padding: 11px 13px;
}

.form-text {
    color: var(--clinic-muted);
}

.whatsapp-float {
    position: fixed;
    z-index: 1040;
    right: 22px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #258b62;
    color: #fff;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37,139,98,.3);
}

    .whatsapp-float:hover {
        color: #fff;
        transform: translateY(-3px);
    }

body.dark-theme {
    --clinic-bg: #202a29;
    --clinic-surface: #293634;
    --clinic-text: #e7eeea;
    --clinic-muted: #b4c1bb;
    --clinic-border: #3b4b46;
    --clinic-sage-soft: #34483f;
    --clinic-blue-gray-soft: #34434a;
    --clinic-shadow: 0 16px 45px rgba(0,0,0,.16);
}

    body.dark-theme .hero-section {
        background: linear-gradient(135deg, #293a34, #2b3940);
    }

        body.dark-theme .hero-section h1, body.dark-theme .hero-section p,
        body.dark-theme .section-heading h2, body.dark-theme .service-card h3,
        body.dark-theme .article-body h3, body.dark-theme .about-section h2,
        body.dark-theme .suitability-content h2, body.dark-theme .suitability-visual h3,
        body.dark-theme .credentials-card h2 {
            color: var(--clinic-text);
        }

    body.dark-theme .accordion-item, body.dark-theme .accordion-button,
    body.dark-theme .accordion-body {
        background: var(--clinic-surface);
        color: var(--clinic-text);
    }

        body.dark-theme .accordion-button::after {
            filter: invert(1);
        }

    body.dark-theme .theme-toggle {
        background: var(--clinic-surface);
        color: var(--clinic-text);
    }

    body.dark-theme .assessment-box, body.dark-theme .cta-section {
        color: #fff;
    }

@media (max-width: 767.98px) {
    .suitability-section, .credentials-section {
        padding: 55px 0;
    }

    .suitability-card {
        grid-template-columns: 1fr;
    }

    .suitability-visual {
        order: -1;
    }

    .theme-toggle {
        top: 12px;
        left: 12px;
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        right: 15px;
        bottom: 15px;
    }
}

/* =========================================================
NAVBAR
========================================================= */

.clinic-navbar {
    background-color: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border-color);
    min-height: 82px;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
}

.clinic-logo {
    display: flex;
    flex-direction: column;
    color: var(--primary-color) !important;
    line-height: 1.4;
}

    .clinic-logo span {
        font-size: 1.25rem;
        font-weight: bold;
    }

    .clinic-logo small {
        font-size: 0.72rem;
        color: var(--text-light);
        margin-top: 2px;
    }

.clinic-navbar .navbar-nav {
    gap: 8px;
}

.clinic-navbar .nav-link {
    color: var(--text-color) !important;
    padding: 10px 14px !important;
    font-size: 0.92rem;
    border-radius: 10px;
    transition: all 0.25s ease;
}

    .clinic-navbar .nav-link:hover {
        color: var(--primary-color) !important;
        background-color: var(--primary-light);
    }

.btn-clinic {
    background-color: var(--primary-color);
    color: var(--white) !important;
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    padding: 10px 20px;
    font-weight: bold;
    transition: all 0.25s ease;
}

    .btn-clinic:hover {
        background-color: var(--primary-dark);
        border-color: var(--primary-dark);
        color: var(--white) !important;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(74, 107, 93, 0.2);
    }

.btn-outline-clinic {
    color: var(--primary-color) !important;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    padding: 9px 18px;
    font-weight: bold;
    transition: all 0.25s ease;
}

    .btn-outline-clinic:hover {
        background-color: var(--primary-color);
        color: var(--white) !important;
        transform: translateY(-2px);
    }

/* =========================================================
HERO
========================================================= */

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0 110px;
    background: radial-gradient( circle at 85% 20%, rgba(217, 167, 106, 0.10), transparent 30% ), linear-gradient( 135deg, #EDF2EF 0%, #F8FAF8 55%, #F2F6F3 100% );
}

    .hero-section::before {
        content: "";
        position: absolute;
        width: 320px;
        height: 320px;
        border-radius: 50%;
        background-color: rgba(74, 107, 93, 0.04);
        top: -160px;
        left: -100px;
    }

    .hero-section h1 {
        color: var(--text-color);
        font-size: clamp(2.2rem, 4vw, 3.6rem);
        font-weight: bold;
        line-height: 1.5;
        margin: 18px 0 22px;
        max-width: 650px;
    }

        .hero-section h1 span {
            color: var(--primary-color);
        }

    .hero-section p {
        color: var(--text-light);
        font-size: 1.05rem;
        max-width: 600px;
        margin-bottom: 32px;
    }

.hero-badge {
    display: inline-flex;
    align-items: center;
    background-color: var(--white);
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 7px 16px;
    font-size: 0.82rem;
    box-shadow: var(--shadow-sm);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* =========================================================
THERAPIST IMAGE
========================================================= */

.therapist-image-wrapper {
    position: relative;
    width: 390px;
    height: 390px;
    max-width: 90vw;
    max-height: 90vw;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .therapist-image-wrapper::before {
        content: "";
        position: absolute;
        width: 330px;
        height: 330px;
        border-radius: 50%;
        background-color: var(--primary-light);
        border: 1px solid rgba(74, 107, 93, 0.12);
    }

.image-decoration {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 2px dashed rgba(217, 167, 106, 0.55);
    transform: rotate(-12deg);
}

.therapist-image {
    position: relative;
    z-index: 2;
    width: 310px;
    height: 310px;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid var(--white);
    box-shadow: var(--shadow-lg);
}

/* =========================================================
GENERAL SECTIONS
========================================================= */

.services-section,
.articles-section,
.reviews-section {
    padding: 95px 0;
    background-color: var(--white);
}

.about-section {
    padding: 95px 0;
    background-color: var(--secondary-color);
}

.section-heading {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 55px;
}

    .section-heading > span,
    .section-label {
        display: inline-block;
        color: var(--accent-color);
        font-size: 0.85rem;
        font-weight: bold;
        margin-bottom: 8px;
    }

    .section-heading h2,
    .about-section h2 {
        color: var(--text-color);
        font-size: 2rem;
        font-weight: bold;
        margin-bottom: 15px;
    }

    .section-heading p {
        color: var(--text-light);
        margin: 0;
    }

/* =========================================================
SERVICE CARDS
========================================================= */

.service-card {
    height: 100%;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 35px 30px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

    .service-card:hover {
        transform: translateY(-7px);
        border-color: rgba(74, 107, 93, 0.2);
        box-shadow: var(--shadow-md);
    }

.service-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 16px;
    font-size: 1.5rem;
    margin-bottom: 22px;
}

.service-card h3 {
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 22px;
}

.service-card a,
.article-card a {
    color: var(--primary-color);
    font-size: 0.88rem;
    font-weight: bold;
    transition: all 0.2s ease;
}

    .service-card a:hover,
    .article-card a:hover {
        color: var(--accent-color);
    }

    .service-card a i,
    .article-card a i {
        margin-right: 5px;
    }

/* =========================================================
ABOUT
========================================================= */

.about-section h2 {
    font-size: 2.2rem;
    line-height: 1.6;
}

.about-section p {
    color: var(--text-light);
    font-size: 1rem;
    max-width: 580px;
    margin-bottom: 25px;
}

.about-box {
    position: relative;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px;
    min-height: 230px;
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

    .about-box::before {
        content: "";
        position: absolute;
        width: 180px;
        height: 180px;
        border-radius: 50%;
        background-color: var(--primary-light);
        left: -70px;
        bottom: -80px;
    }

    .about-box i {
        position: absolute;
        top: 20px;
        right: 25px;
        color: var(--accent-color);
        font-size: 2.5rem;
    }

    .about-box p {
        position: relative;
        color: var(--text-color);
        font-size: 1.2rem;
        font-weight: bold;
        margin: 0;
        max-width: 100%;
    }

/* =========================================================
ARTICLES
========================================================= */

.article-card {
    height: 100%;
    overflow: hidden;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

    .article-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-md);
    }

.article-placeholder {
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient( 135deg, var(--primary-light), #F4F7F5 );
    color: var(--primary-color);
    font-size: 3rem;
}

.article-body {
    padding: 25px;
}

    .article-body > span {
        color: var(--accent-color);
        font-size: 0.78rem;
        font-weight: bold;
    }

    .article-body h3 {
        color: var(--text-color);
        font-size: 1.1rem;
        line-height: 1.7;
        margin: 10px 0 18px;
    }

/* =========================================================
ASSESSMENT
========================================================= */

.assessment-section {
    padding: 85px 0;
    background-color: var(--secondary-color);
}

.assessment-box {
    position: relative;
    overflow: hidden;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 55px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

    .assessment-box::before {
        content: "";
        position: absolute;
        width: 280px;
        height: 280px;
        border-radius: 50%;
        background-color: rgba(255,255,255,0.05);
        left: -100px;
        top: -120px;
    }

    .assessment-box > div {
        position: relative;
        z-index: 1;
    }

    .assessment-box span {
        color: #E9C99C;
        font-size: 0.85rem;
        font-weight: bold;
    }

    .assessment-box h2 {
        font-size: 1.8rem;
        margin: 10px 0 12px;
        line-height: 1.6;
    }

    .assessment-box p {
        color: rgba(255,255,255,0.78);
        margin: 0;
        max-width: 650px;
    }

    .assessment-box .btn {
        position: relative;
        z-index: 1;
        color: var(--primary-color);
        border-radius: 12px;
        padding: 12px 25px;
        font-weight: bold;
        white-space: nowrap;
    }

/* =========================================================
REVIEWS
========================================================= */

.review-placeholder {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    text-align: center;
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    background-color: var(--secondary-color);
    color: var(--text-light);
}

    .review-placeholder i {
        display: block;
        color: var(--accent-color);
        font-size: 2.3rem;
        margin-bottom: 12px;
    }

    .review-placeholder p {
        margin: 0;
    }

/* =========================================================
CTA
========================================================= */

.cta-section {
    padding: 85px 0;
    background: linear-gradient( 135deg, var(--primary-dark), var(--primary-color) );
    color: var(--white);
    text-align: center;
}

    .cta-section h2 {
        font-size: 2rem;
        margin-bottom: 12px;
    }

    .cta-section p {
        color: rgba(255,255,255,0.8);
        margin-bottom: 25px;
    }

    .cta-section .btn {
        color: var(--primary-color);
        border-radius: 12px;
        padding: 12px 28px;
        font-weight: bold;
    }

/* =========================================================
FOOTER
========================================================= */

.clinic-footer {
    background-color: #263A31;
    color: var(--white);
    padding: 65px 0 20px;
}

    .clinic-footer h4 {
        font-size: 1.25rem;
        margin-bottom: 8px;
    }

    .clinic-footer h5 {
        font-size: 1rem;
        margin-bottom: 18px;
    }

    .clinic-footer p {
        color: rgba(255,255,255,0.7);
        font-size: 0.88rem;
    }

.footer-description {
    max-width: 400px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 9px;
    }

    .footer-links a {
        color: rgba(255,255,255,0.72);
        font-size: 0.88rem;
        transition: color 0.2s ease;
    }

        .footer-links a:hover {
            color: var(--white);
        }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    color: rgba(255,255,255,0.55);
    font-size: 0.78rem;
}

.clinic-logo {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 12px;
    color: var(--primary-color) !important;
    text-decoration: none;
    margin: 0;
    padding: 0;
}

    .clinic-logo img {
        width: 58px;
        height: 58px;
        object-fit: contain;
        flex-shrink: 0;
    }

.clinic-logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: right;
    line-height: 1.4;
}

    .clinic-logo-text span {
        display: block;
        font-size: 1.35rem;
        font-weight: bold;
        color: var(--primary-color);
        white-space: nowrap;
    }

    .clinic-logo-text small {
        display: block;
        font-size: 0.9rem;
        color: var(--text-light);
        white-space: nowrap;
    }

/* ==========================================
LOGIN
========================================== */

.login-wrapper {
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: #f4f7f5;
}

/* Main Box */

.login-box {
    width: 100%;
    max-width: 900px;
    min-height: 520px;
    display: grid;
    grid-template-columns: 42% 58%;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(44, 62, 53, 0.10);
}

/* ==========================================
INFO
========================================== */

.login-info {
    background: #4A6B5D;
    color: white;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.login-logo {
    width: 105px;
    height: 105px;
    object-fit: contain;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    padding: 12px;
}

.login-info h1 {
    margin: 0 0 5px;
    font-size: 1.7rem;
    font-weight: bold;
}

.login-info h3 {
    margin: 0 0 25px;
    font-size: 1rem;
    font-weight: normal;
    opacity: 0.9;
}

.login-info p {
    max-width: 290px;
    margin: 0;
    font-size: 0.9rem;
    line-height: 2;
    opacity: 0.9;
}

/* ==========================================
FORM
========================================== */

.login-form {
    padding: 60px 65px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-title {
    margin-bottom: 35px;
}

    .login-title h2 {
        margin: 0 0 10px;
        color: #2C3E35;
        font-size: 1.7rem;
        font-weight: bold;
    }

    .login-title p {
        margin: 0;
        color: #8a948f;
        font-size: 0.85rem;
    }

/* ==========================================
INPUT
========================================== */

.login-input-group {
    margin-bottom: 22px;
}

    .login-input-group label {
        display: block;
        margin-bottom: 8px;
        color: #37473f;
        font-size: 0.85rem;
        font-weight: bold;
    }

.login-input {
    height: 52px;
    position: relative;
    display: flex;
    align-items: center;
}

    .login-input > i {
        position: absolute;
        right: 16px;
        color: #4A6B5D;
        font-size: 1rem;
        pointer-events: none;
    }

    .login-input input {
        width: 100%;
        height: 100%;
        padding: 0 45px;
        border: 1px solid #dfe6e2;
        border-radius: 11px;
        background: #fafcfb;
        color: #2C3E35;
        outline: none;
        font-family: 'Shabnam', Tahoma, sans-serif;
        transition: 0.2s;
    }

        .login-input input:focus {
            border-color: #4A6B5D;
            background: #ffffff;
            box-shadow: 0 0 0 3px rgba(74, 107, 93, 0.08);
        }

        .login-input input::placeholder {
            color: #a4ada8;
        }

/* ==========================================
PASSWORD
========================================== */

.login-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .login-label-row label {
        margin-bottom: 8px;
    }

    .login-label-row a {
        margin-bottom: 8px;
        font-size: 0.75rem;
        color: #4A6B5D;
        text-decoration: none;
    }

        .login-label-row a:hover {
            text-decoration: underline;
        }

.show-password {
    position: absolute;
    left: 14px;
    border: none;
    background: transparent;
    color: #929b96;
    cursor: pointer;
    padding: 5px;
}

    .show-password:hover {
        color: #4A6B5D;
    }

/* ==========================================
REMEMBER
========================================== */

.login-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
}

    .login-remember input {
        width: 16px;
        height: 16px;
        accent-color: #4A6B5D;
        cursor: pointer;
    }

    .login-remember label {
        margin: 0;
        color: #727d77;
        font-size: 0.8rem;
        cursor: pointer;
    }

/* ==========================================
BUTTON
========================================== */

.login-button {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 11px;
    background: #4A6B5D;
    color: #ffffff;
    font-family: 'Shabnam', Tahoma, sans-serif;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.25s;
}

    .login-button:hover {
        background: #3b5549;
        transform: translateY(-1px);
        box-shadow: 0 7px 18px rgba(74, 107, 93, 0.20);
    }

/* ==========================================
REGISTER
========================================== */

.login-register {
    margin-top: 25px;
    text-align: center;
    font-size: 0.8rem;
    color: #8a948f;
}

    .login-register a {
        color: #4A6B5D;
        font-weight: bold;
        text-decoration: none;
        margin-right: 5px;
    }

        .login-register a:hover {
            text-decoration: underline;
        }

/* ==========================================
ERRORS
========================================== */

.login-error {
    display: block;
    margin-top: 5px;
    color: #c65d5d;
    font-size: 0.72rem;
}

.login-validation {
    color: #c65d5d;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

/* ==========================================
RESPONSIVE
========================================== */

@media (max-width: 800px) {

    .login-box {
        max-width: 520px;
        grid-template-columns: 1fr;
    }

    .login-info {
        padding: 35px 25px;
    }

    .login-logo {
        width: 75px;
        height: 75px;
        margin-bottom: 15px;
    }

    .login-info h1 {
        font-size: 1.4rem;
    }

    .login-info h3 {
        margin-bottom: 10px;
    }

    .login-info p {
        display: none;
    }

    .login-form {
        padding: 40px 35px;
    }
}

@media (max-width: 500px) {

    .login-wrapper {
        padding: 25px 15px;
    }

    .login-box {
        border-radius: 18px;
    }

    .login-form {
        padding: 35px 22px;
    }

    .login-title h2 {
        font-size: 1.4rem;
    }
}
/* =========================================================
RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .clinic-navbar .navbar-nav {
        margin-top: 15px;
        margin-bottom: 10px;
    }

    .clinic-navbar .d-flex {
        padding-bottom: 15px;
    }

    .hero-section {
        padding: 70px 0 80px;
    }

        .hero-section h1 {
            font-size: 2.4rem;
        }

    .therapist-image-wrapper {
        width: 340px;
        height: 340px;
    }

    .therapist-image {
        width: 270px;
        height: 270px;
    }

    .therapist-image-wrapper::before {
        width: 290px;
        height: 290px;
    }

    .image-decoration {
        width: 310px;
        height: 310px;
    }

    .assessment-box {
        padding: 45px;
    }
}

@media (max-width: 767px) {

    .clinic-navbar {
        min-height: 70px;
    }

    .clinic-logo span {
        font-size: 1.05rem;
    }

    .hero-section {
        text-align: center;
        padding: 60px 20px 70px;
    }

        .hero-section h1 {
            font-size: 2rem;
        }

        .hero-section p {
            font-size: 0.95rem;
            margin-left: auto;
            margin-right: auto;
        }

    .hero-actions {
        justify-content: center;
    }

    .therapist-image-wrapper {
        width: 290px;
        height: 290px;
        margin-top: 25px;
    }

    .therapist-image {
        width: 230px;
        height: 230px;
    }

    .therapist-image-wrapper::before {
        width: 250px;
        height: 250px;
    }

    .image-decoration {
        width: 270px;
        height: 270px;
    }

    .services-section,
    .articles-section,
    .reviews-section,
    .about-section {
        padding: 65px 20px;
    }

    .section-heading {
        margin-bottom: 35px;
    }

        .section-heading h2,
        .about-section h2 {
            font-size: 1.7rem;
        }

    .about-box {
        padding: 35px;
        min-height: 190px;
    }

    .assessment-section {
        padding: 65px 20px;
    }

    .assessment-box {
        padding: 35px 25px;
        flex-direction: column;
        align-items: flex-start;
    }

        .assessment-box h2 {
            font-size: 1.45rem;
        }

    .cta-section {
        padding: 65px 20px;
    }

        .cta-section h2 {
            font-size: 1.6rem;
        }

    .clinic-footer {
        padding: 50px 20px 20px;
    }

    .clinic-logo img {
        width: 48px;
        height: 48px;
    }

    .clinic-logo-text span {
        font-size: 1.1rem;
    }

    .clinic-logo-text small {
        font-size: 0.72rem;
    }
}
/* ==========================================
REGISTER
========================================== */

.register-wrapper {
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 55px 20px;
    background: #f4f7f5;
}

/* Main Box */

.register-box {
    width: 100%;
    max-width: 1000px;
    display: grid;
    grid-template-columns: 38% 62%;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(44, 62, 53, 0.10);
}

/* ==========================================
INFO
========================================== */

.register-info {
    background: #4A6B5D;
    color: #ffffff;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.register-logo {
    width: 95px;
    height: 95px;
    object-fit: contain;
    padding: 10px;
    margin-bottom: 22px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
}

.register-info h1 {
    margin: 0 0 5px;
    font-size: 1.7rem;
    font-weight: bold;
}

.register-info h3 {
    margin: 0 0 22px;
    font-size: 1rem;
    font-weight: normal;
    opacity: 0.9;
}

.register-info > p {
    max-width: 280px;
    margin: 0 0 30px;
    font-size: 0.88rem;
    line-height: 2;
    opacity: 0.9;
}

/* Features */

.register-features {
    width: 100%;
    max-width: 290px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

    .register-features div {
        display: flex;
        align-items: center;
        gap: 12px;
        text-align: right;
        font-size: 0.82rem;
    }

    .register-features i {
        min-width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.12);
        border-radius: 10px;
        font-size: 1rem;
    }

/* ==========================================
FORM
========================================== */

.register-form {
    padding: 50px 60px;
}

.register-title {
    margin-bottom: 28px;
}

    .register-title h2 {
        margin: 0 0 8px;
        color: #2C3E35;
        font-size: 1.65rem;
        font-weight: bold;
    }

    .register-title p {
        margin: 0;
        color: #8a948f;
        font-size: 0.83rem;
    }

/* ==========================================
ROW
========================================== */

.register-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

/* ==========================================
INPUT
========================================== */

.register-input-group {
    margin-bottom: 18px;
}

    .register-input-group label {
        display: block;
        margin-bottom: 7px;
        color: #37473f;
        font-size: 0.82rem;
        font-weight: bold;
    }

.register-input {
    height: 48px;
    position: relative;
    display: flex;
    align-items: center;
}

    .register-input > i {
        position: absolute;
        right: 15px;
        color: #4A6B5D;
        font-size: 0.95rem;
        pointer-events: none;
    }

    .register-input input {
        width: 100%;
        height: 100%;
        padding: 0 42px;
        border: 1px solid #dfe6e2;
        border-radius: 10px;
        background: #fafcfb;
        color: #2C3E35;
        outline: none;
        font-family: 'Shabnam', Tahoma, sans-serif;
        font-size: 0.82rem;
        transition: 0.2s;
    }

        .register-input input:focus {
            border-color: #4A6B5D;
            background: #ffffff;
            box-shadow: 0 0 0 3px rgba(74, 107, 93, 0.08);
        }

        .register-input input::placeholder {
            color: #a4ada8;
        }

/* ==========================================
PASSWORD
========================================== */

.register-show-password {
    position: absolute;
    left: 11px;
    border: none;
    background: transparent;
    color: #929b96;
    cursor: pointer;
    padding: 4px;
}

    .register-show-password:hover {
        color: #4A6B5D;
    }

/* ==========================================
BUTTON
========================================== */

.register-button {
    width: 100%;
    height: 50px;
    margin-top: 5px;
    border: none;
    border-radius: 10px;
    background: #4A6B5D;
    color: #ffffff;
    font-family: 'Shabnam', Tahoma, sans-serif;
    font-size: 0.88rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.25s;
}

    .register-button:hover {
        background: #3b5549;
        transform: translateY(-1px);
        box-shadow: 0 7px 18px rgba(74, 107, 93, 0.20);
    }

/* ==========================================
LOGIN LINK
========================================== */

.register-login {
    margin-top: 20px;
    text-align: center;
    color: #8a948f;
    font-size: 0.78rem;
}

    .register-login a {
        color: #4A6B5D;
        font-weight: bold;
        text-decoration: none;
        margin-right: 5px;
    }

        .register-login a:hover {
            text-decoration: underline;
        }

/* ==========================================
ERRORS
========================================== */

.register-error {
    display: block;
    margin-top: 4px;
    color: #c65d5d;
    font-size: 0.7rem;
}

.register-validation {
    color: #c65d5d;
    font-size: 0.78rem;
    margin-bottom: 12px;
}

/* ==========================================
TABLET
========================================== */

@media (max-width: 850px) {

    .register-box {
        max-width: 600px;
        grid-template-columns: 1fr;
    }

    .register-info {
        padding: 35px 25px;
    }

    .register-logo {
        width: 75px;
        height: 75px;
        margin-bottom: 15px;
    }

    .register-info h1 {
        font-size: 1.4rem;
    }

    .register-info h3 {
        margin-bottom: 8px;
    }

    .register-info > p {
        margin-bottom: 20px;
    }

    .register-features {
        display: none;
    }

    .register-form {
        padding: 40px 40px;
    }
}

/* ==========================================
MOBILE
========================================== */

@media (max-width: 550px) {

    .register-wrapper {
        padding: 25px 15px;
    }

    .register-box {
        border-radius: 18px;
    }

    .register-form {
        padding: 35px 22px;
    }

    .register-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .register-title h2 {
        font-size: 1.4rem;
    }

    .register-title p {
        font-size: 0.78rem;
    }

    .register-input-group {
        margin-bottom: 16px;
    }
}
/* ==========================================
CLIENT DASHBOARD
========================================== */

/* =========================================
   RavanYab - Client Dashboard
   ========================================= */

.ry-dashboard {
    --ry-green: #39745f;
    --ry-green-dark: #285644;
    --ry-green-light: #e9f5ef;
    --ry-gold: #d9a76a;
    --ry-blue: #4e80cb;
    --ry-purple: #8170cf;
    --ry-text: #263b35;
    --ry-muted: #82918b;
    --ry-border: #e7eee9;
    --ry-bg: #f7faf8;
    min-height: 100vh;
    padding: 0 0 48px;
    color: var(--ry-text);
    background: var(--ry-bg);
    font-family: inherit;
}

    .ry-dashboard *,
    .ry-dashboard *::before,
    .ry-dashboard *::after {
        box-sizing: border-box;
    }

    .ry-dashboard a {
        text-decoration: none;
    }

    .ry-dashboard .container {
        max-width: 1240px;
    }

/* Header */

.ry-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--ry-border);
}

.ry-brand,
.ry-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.ry-brand {
    color: var(--ry-green);
    font-size: 21px;
    font-weight: 800;
}

    .ry-brand img {
        width: 38px;
        height: 38px;
        object-fit: contain;
    }

.ry-profile-link {
    color: var(--ry-text);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 15px;
    border: 1px solid var(--ry-border);
    background: #fff;
    border-radius: 14px;
    transition: .2s ease;
}

    .ry-profile-link > i:first-child {
        font-size: 20px;
        color: var(--ry-green);
    }

    .ry-profile-link:hover {
        border-color: var(--ry-green);
        color: var(--ry-green);
    }

/* Welcome */

.ry-welcome {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 220px;
    overflow: hidden;
    padding: 34px 38px;
    margin-bottom: 24px;
    border: 1px solid #d9ece2;
    border-radius: 24px;
    background: radial-gradient(circle at 10% 20%, #d6ede2 0, transparent 32%), linear-gradient(110deg, #f0f9f4, #e4f3ec);
}

.ry-welcome-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.ry-eyebrow {
    display: block;
    color: var(--ry-green);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 9px;
}

.ry-welcome h1 {
    font-size: clamp(23px, 3vw, 32px);
    line-height: 1.8;
    font-weight: 800;
    margin: 0 0 8px;
}

    .ry-welcome h1 span {
        font-size: 24px;
    }

.ry-welcome p {
    max-width: 570px;
    color: #687d74;
    font-size: 14px;
    line-height: 2;
    margin: 0 0 20px;
}

.ry-welcome-illustration {
    position: relative;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    margin-left: 25px;
    border-radius: 50%;
    color: #70ad91;
    background: rgba(255, 255, 255, .55);
}

    .ry-welcome-illustration .bi-flower1 {
        font-size: 94px;
    }

    .ry-welcome-illustration .bi-heart {
        position: absolute;
        top: 15px;
        right: 15px;
        font-size: 25px;
        color: var(--ry-gold);
    }

    .ry-welcome-illustration .bi-stars {
        position: absolute;
        bottom: 15px;
        left: 13px;
        font-size: 25px;
        color: var(--ry-green);
    }

/* Buttons */

.ry-primary-btn,
.ry-secondary-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 11px 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    transition: .2s ease;
}

.ry-primary-btn {
    color: #fff;
    background: var(--ry-green);
    border: 1px solid var(--ry-green);
}

    .ry-primary-btn:hover {
        color: #fff;
        background: var(--ry-green-dark);
        border-color: var(--ry-green-dark);
        transform: translateY(-1px);
    }

.ry-secondary-btn {
    color: var(--ry-green);
    background: #f2f8f4;
    border: 1px solid #deece3;
}

    .ry-secondary-btn:hover {
        color: var(--ry-green-dark);
        background: #e5f2e9;
    }

/* Statistics */

.ry-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.ry-stat-card {
    display: flex;
    align-items: center;
    gap: 17px;
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--ry-border);
    border-radius: 19px;
    background: #fff;
    transition: .2s ease;
}

    .ry-stat-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 24px rgba(45, 85, 66, .06);
    }

.ry-stat-icon,
.ry-heading-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    border-radius: 17px;
    font-size: 25px;
}

.stat-green .ry-stat-icon,
.green-icon {
    color: #26865f;
    background: #e0f3e8;
}

.stat-blue .ry-stat-icon,
.blue-icon {
    color: #427ed2;
    background: #e7f1ff;
}

.stat-purple .ry-stat-icon {
    color: #7960ce;
    background: #eee9ff;
}

.ry-stat-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

    .ry-stat-content > span {
        font-size: 12px;
        color: #66776e;
    }

    .ry-stat-content strong {
        font-size: 28px;
        font-weight: 800;
        line-height: 1.5;
        color: var(--ry-text);
    }

    .ry-stat-content small {
        font-size: 11px;
        color: var(--ry-green);
    }

/* Panels */

.ry-panel {
    min-width: 0;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--ry-border);
    border-radius: 20px;
    box-shadow: 0 5px 22px rgba(42, 74, 57, .025);
}

.ry-panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 23px;
}

    .ry-panel-heading h2,
    .ry-section-heading h2 {
        margin: 0;
        color: var(--ry-text);
        font-size: 19px;
        line-height: 1.7;
        font-weight: 800;
    }

    .ry-panel-heading .ry-eyebrow {
        margin-bottom: 3px;
    }

.ry-heading-icon {
    width: 48px;
    height: 48px;
    font-size: 23px;
    border-radius: 15px;
}

.ry-text-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
    color: var(--ry-green);
    font-size: 12px;
    font-weight: 700;
}

/* Appointments */

.ry-appointments-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 22px;
    align-items: start;
    margin-bottom: 24px;
}

.ry-next-panel {
    background: linear-gradient(155deg, #f0f8f3 0%, #fff 65%);
    border-color: #dcece2;
}

.ry-next-body {
    padding: 22px;
    border: 1px solid #e5eee8;
    border-radius: 17px;
    background: rgba(255, 255, 255, .94);
}

.ry-next-date,
.ry-next-time {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 19px;
    margin-bottom: 18px;
    border-bottom: 1px solid #edf1ee;
}

.ry-date-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    color: var(--ry-green);
    background: var(--ry-green-light);
    border-radius: 14px;
    font-size: 22px;
}

.ry-next-date > div:last-child,
.ry-next-time > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ry-next-date span,
.ry-next-time span {
    color: var(--ry-muted);
    font-size: 12px;
}

.ry-next-date strong,
.ry-next-time strong {
    font-size: 15px;
    line-height: 1.8;
    font-weight: 800;
    color: var(--ry-text);
    overflow-wrap: anywhere;
}

.ry-next-status {
    margin: 2px 0 18px;
}

.ry-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    max-width: 100%;
    padding: 7px 11px;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.7;
}

.status-confirmed {
    color: #25805b;
    background: #e4f5eb;
}

.status-pending {
    color: #9b6b14;
    background: #fff3d8;
}

.status-other {
    color: #65716a;
    background: #eef1ef;
}

.ry-appointment-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px;
    margin-bottom: 20px;
    border-radius: 12px;
    background: #f5f8f6;
}

    .ry-appointment-note i {
        color: var(--ry-green);
        font-size: 19px;
    }

    .ry-appointment-note p {
        margin: 0;
        color: #708078;
        font-size: 12px;
        line-height: 2;
    }

.ry-full-btn {
    display: flex;
    width: 100%;
}

/* Empty appointment state */

.ry-empty-appointments,
.ry-list-empty {
    text-align: center;
    padding: 28px 15px;
}

.ry-empty-icon {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 16px;
    color: var(--ry-green);
    background: var(--ry-green-light);
    border-radius: 22px;
    font-size: 31px;
}

.ry-empty-appointments h3 {
    font-size: 17px;
    font-weight: 800;
    margin: 0 0 10px;
}

.ry-empty-appointments p {
    color: var(--ry-muted);
    font-size: 13px;
    line-height: 2;
    margin-bottom: 20px;
}

.ry-list-empty {
    color: var(--ry-muted);
}

    .ry-list-empty i {
        font-size: 32px;
        color: #9eafa5;
    }

    .ry-list-empty p {
        margin: 12px 0 0;
        font-size: 13px;
    }

/* Appointment list */

.ry-appointment-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ry-appointment-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 16px 13px;
    border: 1px solid #e8eee9;
    border-radius: 15px;
    background: #fff;
    transition: .2s ease;
}

    .ry-appointment-item:hover {
        border-color: #b8d8c5;
        background: #fcfefc;
    }

.ry-item-calendar {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 43px;
    height: 43px;
    color: var(--ry-green);
    background: #eaf5ee;
    border-radius: 13px;
    font-size: 21px;
}

.ry-item-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    min-width: 0;
}

    .ry-item-info strong {
        font-size: 13px;
        font-weight: 800;
    }

    .ry-item-info span {
        display: flex;
        align-items: center;
        gap: 6px;
        color: var(--ry-muted);
        font-size: 11px;
        line-height: 1.8;
    }

.ry-item-side {
    flex-shrink: 0;
    max-width: 46%;
    text-align: left;
}

    .ry-item-side .ry-status {
        white-space: normal;
        text-align: center;
    }

.ry-upcoming-panel > .ry-secondary-btn {
    display: flex;
    width: 100%;
    margin-top: 17px;
}

/* Messages */

.ry-message-panel {
    margin-bottom: 28px;
}

.ry-message-content {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 18px;
    background: #f7faff;
    border: 1px solid #e8effa;
    border-radius: 16px;
}

.ry-doctor-avatar {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 58px;
    height: 58px;
    padding: 8px;
    background: #fff;
    border: 1px solid #e5edf8;
    border-radius: 50%;
}

    .ry-doctor-avatar img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.ry-message-text {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

    .ry-message-text strong {
        font-size: 14px;
    }

    .ry-message-text > span {
        color: var(--ry-muted);
        font-size: 11px;
    }

    .ry-message-text p {
        color: #64766d;
        font-size: 12px;
        line-height: 2;
        margin: 3px 0 0;
    }

/* Quick access */

.ry-quick-section {
    padding: 25px;
    margin-bottom: 26px;
    border: 1px solid var(--ry-border);
    border-radius: 20px;
    background: #f4f8f6;
}

.ry-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

    .ry-section-heading p {
        margin: 5px 0 0;
        color: var(--ry-muted);
        font-size: 12px;
    }

    .ry-section-heading > i {
        color: var(--ry-green);
        font-size: 27px;
    }

.ry-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.ry-quick-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 20px;
    border: 1px solid #e7eee9;
    border-radius: 16px;
    background: #fff;
    color: var(--ry-text);
    transition: .2s ease;
}

    .ry-quick-card:hover {
        transform: translateY(-3px);
        border-color: #b8d8c5;
        color: var(--ry-green);
        box-shadow: 0 7px 20px rgba(40, 75, 56, .05);
    }

.ry-quick-icon {
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    margin-bottom: 14px;
    border-radius: 14px;
    font-size: 22px;
}

.quick-green {
    color: #27865e;
    background: #e2f4e9;
}

.quick-blue {
    color: #477fd0;
    background: #e7f1ff;
}

.quick-purple {
    color: #7d68d0;
    background: #eee9ff;
}

.quick-orange {
    color: #b9823f;
    background: #fff0df;
}

.ry-quick-card strong {
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 5px;
}

.ry-quick-card span {
    color: var(--ry-muted);
    font-size: 11px;
    line-height: 1.8;
}

.ry-quick-arrow {
    align-self: flex-end;
    margin-top: 12px;
    color: var(--ry-green);
}

/* Tests */

.ry-tests-panel {
    margin-bottom: 26px;
}

.ry-test-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 0;
}

    .ry-test-item + .ry-test-item {
        border-top: 1px solid #edf1ee;
    }

.ry-test-icon {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    flex-shrink: 0;
    border-radius: 13px;
    color: var(--ry-purple);
    background: #eee9ff;
    font-size: 21px;
}

.ry-test-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

    .ry-test-info strong {
        font-size: 13px;
    }

    .ry-test-info span {
        font-size: 11px;
        color: var(--ry-muted);
    }

.ry-test-link {
    padding: 8px 12px;
    color: var(--ry-green);
    background: #edf7f0;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

/* Footer */

.ry-footer-quote {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 17px;
    padding: 24px;
    text-align: center;
    border: 1px solid #e1eee6;
    border-radius: 18px;
    background: linear-gradient(100deg, #eff8f2, #f9fbf9);
}

    .ry-footer-quote > i {
        color: #69a989;
        font-size: 29px;
    }

    .ry-footer-quote strong {
        font-size: 14px;
        line-height: 2;
    }

    .ry-footer-quote p {
        color: var(--ry-muted);
        font-size: 12px;
        margin: 5px 0 0;
    }

/* Responsive */

@media (max-width: 991.98px) {
    .ry-appointments-layout {
        grid-template-columns: 1fr;
    }

    .ry-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ry-welcome-illustration {
        width: 115px;
        height: 115px;
    }

        .ry-welcome-illustration .bi-flower1 {
            font-size: 72px;
        }
}

@media (max-width: 767.98px) {
    .ry-dashboard {
        padding-bottom: 25px;
    }

    .ry-header {
        padding: 15px 0;
    }

    .ry-brand {
        font-size: 18px;
    }

        .ry-brand img {
            width: 32px;
            height: 32px;
        }

    .ry-profile-link {
        padding: 9px 11px;
        font-size: 12px;
    }

    .ry-welcome {
        min-height: auto;
        padding: 25px 21px;
        border-radius: 19px;
    }

        .ry-welcome h1 {
            font-size: 23px;
        }

        .ry-welcome p {
            font-size: 12px;
        }

    .ry-welcome-illustration {
        width: 75px;
        height: 75px;
        margin-left: 0;
    }

        .ry-welcome-illustration .bi-flower1 {
            font-size: 48px;
        }

        .ry-welcome-illustration .bi-heart {
            top: 4px;
            right: 4px;
            font-size: 17px;
        }

        .ry-welcome-illustration .bi-stars {
            bottom: 4px;
            left: 4px;
            font-size: 16px;
        }

    .ry-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ry-stat-card {
        padding: 16px;
    }

    .ry-stat-icon {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }

    .ry-stat-content strong {
        font-size: 23px;
    }

    .ry-panel {
        padding: 17px;
        border-radius: 17px;
    }

    .ry-panel-heading {
        margin-bottom: 17px;
    }

        .ry-panel-heading h2,
        .ry-section-heading h2 {
            font-size: 17px;
        }

    .ry-next-body {
        padding: 15px;
    }

    .ry-appointment-item {
        flex-wrap: wrap;
        gap: 10px;
        padding: 13px 10px;
    }

    .ry-item-info {
        flex-basis: calc(100% - 60px);
    }

    .ry-item-side {
        width: 100%;
        max-width: none;
        padding-right: 53px;
        text-align: right;
    }

        .ry-item-side .ry-status {
            justify-content: flex-start;
        }

    .ry-message-content {
        flex-wrap: wrap;
        padding: 14px;
    }

    .ry-message-text {
        flex-basis: calc(100% - 80px);
    }

    .ry-message-content > .ry-secondary-btn {
        width: 100%;
    }

    .ry-quick-section {
        padding: 17px;
    }

    .ry-quick-grid {
        gap: 10px;
    }

    .ry-quick-card {
        padding: 14px;
    }

        .ry-quick-card strong {
            font-size: 12px;
        }

    .ry-test-item {
        flex-wrap: wrap;
    }

    .ry-test-link {
        margin-right: 57px;
    }

    .ry-footer-quote {
        gap: 10px;
        padding: 19px 12px;
    }

        .ry-footer-quote > i {
            font-size: 22px;
        }

        .ry-footer-quote strong {
            font-size: 12px;
        }
}

@media (max-width: 380px) {
    .ry-welcome-illustration {
        display: none;
    }

    .ry-quick-card {
        padding: 11px;
    }

    .ry-panel-heading {
        flex-wrap: wrap;
    }

    .ry-next-date strong,
    .ry-next-time strong {
        font-size: 13px;
    }
}
/* ==========================================
PROFILE
========================================== */

.profile-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

    .profile-page-header h1 {
        margin: 6px 0;
        color: #2C3E35;
        font-size: 1.8rem;
        font-weight: bold;
    }

    .profile-page-header p {
        margin: 0;
        color: #7b8781;
        font-size: 0.82rem;
    }

/* Profile Card */

.profile-card {
    background: #ffffff;
    border: 1px solid #e5ebe7;
    border-radius: 18px;
    padding: 30px;
    margin-bottom: 22px;
    box-shadow: 0 5px 20px rgba(44, 62, 53, 0.04);
}

.profile-card-header {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-bottom: 22px;
    margin-bottom: 25px;
    border-bottom: 1px solid #edf0ee;
}

.profile-section-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #edf3ef;
    color: #4A6B5D;
    font-size: 1.1rem;
}

.profile-card-header h2 {
    margin: 0 0 3px;
    color: #37473f;
    font-size: 1rem;
}

.profile-card-header p {
    margin: 0;
    color: #929b96;
    font-size: 0.7rem;
}

/* Form Grid */

.profile-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.profile-input-group {
    display: flex;
    flex-direction: column;
}

    .profile-input-group label {
        margin-bottom: 7px;
        color: #37473f;
        font-size: 0.78rem;
        font-weight: bold;
    }

.profile-input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #dfe6e2;
    border-radius: 10px;
    background: #fafcfb;
    color: #37473f;
    font-family: 'Shabnam', Tahoma, sans-serif;
    font-size: 0.8rem;
    outline: none;
}

    .profile-input:focus,
    .profile-textarea:focus {
        border-color: #4A6B5D;
        background: #ffffff;
        box-shadow: 0 0 0 3px rgba(74, 107, 93, 0.07);
    }

    .profile-input[readonly] {
        background: #f1f4f2;
        color: #8b9690;
    }

.profile-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #dfe6e2;
    border-radius: 10px;
    background: #fafcfb;
    color: #37473f;
    font-family: 'Shabnam', Tahoma, sans-serif;
    font-size: 0.8rem;
    line-height: 1.8;
    resize: vertical;
    outline: none;
}

.profile-full {
    grid-column: 1 / -1;
}

.profile-error {
    margin-top: 4px;
    color: #c65d5d;
    font-size: 0.68rem;
}

/* Save */

.profile-save {
    display: flex;
    justify-content: flex-end;
}

.profile-save-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 170px;
    height: 48px;
    border: none;
    border-radius: 10px;
    background: #4A6B5D;
    color: #ffffff;
    font-family: 'Shabnam', Tahoma, sans-serif;
    font-size: 0.82rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

    .profile-save-button:hover {
        background: #3b5549;
        transform: translateY(-1px);
    }

/* ==========================================
RESPONSIVE
========================================== */

@media (max-width: 900px) {

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .quick-actions {
        grid-template-columns: 1fr 1fr;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .register-form,
    .profile-card {
        padding: 25px;
    }
}

@media (max-width: 650px) {

    .client-dashboard,
    .client-profile {
        padding: 30px 0 60px;
    }

    .dashboard-header,
    .profile-page-header {
        flex-direction: column;
        align-items: flex-start;
    }

        .dashboard-header h1,
        .profile-page-header h1 {
            font-size: 1.45rem;
        }

    .dashboard-profile-button,
    .back-dashboard {
        width: 100%;
        justify-content: center;
    }

    .quick-actions {
        grid-template-columns: 1fr;
    }

    .profile-form-grid {
        grid-template-columns: 1fr;
    }

    .profile-full {
        grid-column: auto;
    }

    .appointment-info {
        flex-direction: column;
        gap: 15px;
    }

    .test-item {
        padding: 15px;
    }

    .test-result {
        display: none;
    }
}
/* =========================
Client Panel Dropdown
========================= */

.client-panel-dropdown {
    position: relative;
}

/* دکمه پنل من */

.client-panel-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    background-color: transparent;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.25s ease;
}

    .client-panel-button:hover,
    .client-panel-button:focus {
        background-color: var(--primary-color);
        color: var(--white);
        box-shadow: 0 5px 15px rgba(74, 107, 93, 0.18);
    }

    .client-panel-button::after {
        margin-right: 5px;
    }

/* آیکون دکمه */

.client-panel-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--secondary-color);
    font-size: 16px;
    transition: all 0.25s ease;
}

.client-panel-button:hover .client-panel-icon {
    background-color: rgba(255, 255, 255, 0.2);
}

/* =========================
Dropdown
========================= */

.client-panel-menu {
    min-width: 220px;
    margin-top: 10px !important;
    padding: 8px;
    border: none;
    border-radius: 16px;
    background-color: var(--white);
    box-shadow: 0 12px 35px rgba(44, 62, 53, 0.15);
    animation: clientMenuShow 0.2s ease;
}

@keyframes clientMenuShow {

    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
Menu Items
========================= */

.client-panel-item {
    display: flex !important;
    align-items: center;
    gap: 11px;
    padding: 10px 12px !important;
    margin-bottom: 2px;
    border-radius: 10px;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

    .client-panel-item:hover {
        background-color: var(--secondary-color);
        color: var(--primary-color);
        transform: translateX(-3px);
    }

/* =========================
Menu Icons
========================= */

.client-menu-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-size: 16px;
    transition: all 0.2s ease;
}

.client-panel-item:hover .client-menu-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

/* =========================
Divider
========================= */

.client-panel-divider {
    margin: 7px 4px;
    opacity: 0.12;
}

/* =========================
Logout
========================= */

.client-logout {
    color: #b84a4a !important;
}

    .client-logout .client-menu-icon {
        background-color: #fdf0f0;
        color: #b84a4a;
    }

    .client-logout:hover {
        background-color: #fff3f3 !important;
        color: #b84a4a !important;
    }

        .client-logout:hover .client-menu-icon {
            background-color: #b84a4a;
            color: var(--white);
        }

/* =========================
Mobile
========================= */

@media (max-width: 768px) {

    .client-panel-button {
        width: 100%;
        justify-content: center;
    }

    .client-panel-menu {
        width: 100%;
        min-width: 0;
    }

    .client-panel-dropdown {
        display: block;
        width: 100%;
        margin-top: 10px;
    }

    .client-panel-button {
        width: 100%;
        justify-content: center;
    }

    .client-panel-menu {
        position: static !important;
        width: 100%;
        min-width: 0;
        margin-top: 8px !important;
    }

    .client-panel-item {
        width: 100%;
    }
}
/* ==========================================
   MOBILE NAVBAR - CLIENT PANEL
========================================== */

@media (max-width: 991.98px) {

    /* خود بخش بازشونده Navbar */
    .clinic-navbar .navbar-collapse {
        padding: 15px 0;
    }

    /* منوی اصلی */
    .clinic-navbar .navbar-nav {
        width: 100%;
        margin: 0 !important;
        padding: 10px 0;
    }

        .clinic-navbar .navbar-nav .nav-item {
            width: 100%;
        }

        .clinic-navbar .navbar-nav .nav-link {
            width: 100%;
            padding: 11px 15px;
        }

    /* بخش دکمه‌های سمت راست */
    .clinic-navbar .navbar-collapse > .container {
        width: 100%;
    }

    /* کانتینر دکمه پنل */
    .clinic-navbar .navbar-collapse .d-flex {
        width: 100%;
        margin-top: 10px;
        justify-content: center;
    }

    /* پنل من */
    .clinic-navbar .client-panel-dropdown {
        display: block !important;
        width: 100%;
    }

    .clinic-navbar .client-panel-button {
        width: 100%;
        justify-content: center;
    }

    /* Dropdown پنل من */
    .clinic-navbar .client-panel-menu {
        position: static !important;
        width: 100%;
        min-width: 0;
        margin-top: 8px !important;
        box-shadow: none;
        border: 1px solid #e5ebe7;
    }
}

@media (max-width: 991.98px) {

    .clinic-navbar .navbar-collapse.show {
        display: block !important;
    }
}
/* رنگ آیکون Hamburger در موبایل */
.clinic-navbar .navbar-toggler-icon {
    background-image: none;
    position: relative;
    width: 24px;
    height: 18px;
}

    .clinic-navbar .navbar-toggler-icon::before,
    .clinic-navbar .navbar-toggler-icon::after {
        content: "";
        position: absolute;
        right: 0;
        width: 24px;
        height: 2px;
        background-color: #4A6B5D;
        border-radius: 2px;
    }

    .clinic-navbar .navbar-toggler-icon::before {
        top: 0;
        box-shadow: 0 8px 0 #4A6B5D, 0 16px 0 #4A6B5D;
    }

    .clinic-navbar .navbar-toggler-icon::after {
        display: none;
    }

.navbar-toggler,
.navbar-toggler:hover,
.navbar-toggler:focus,
.navbar-toggler:active {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}
/* ================================
   Appointment
================================ */

.appointment-page {
    min-height: 100vh;
    padding: 60px 20px;
    background: var(--secondary-color);
}

.appointment-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Header */

.appointment-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}

.appointment-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
}

.appointment-header h1 {
    margin: 0 0 5px;
    color: var(--text-color);
    font-size: 28px;
}

.appointment-header p {
    margin: 0;
    color: #718078;
}


/* Calendar */

.calendar-card {
    background: var(--white);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

    .calendar-header h2 {
        margin: 0;
        color: var(--text-color);
        font-size: 21px;
    }

.calendar-nav {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 12px;
    background: var(--secondary-color);
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

    .calendar-nav:hover {
        background: var(--primary-color);
        color: var(--white);
    }


/* Weekdays */

.calendar-weekdays,
.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-weekdays {
    margin-bottom: 10px;
}

    .calendar-weekdays div {
        text-align: center;
        color: #7a8780;
        font-size: 14px;
        font-weight: bold;
        padding: 10px 0;
    }


/* Days */

.calendar-day {
    aspect-ratio: 1;
    border: none;
    border-radius: 14px;
    background: #f7f9f7;
    color: var(--text-color);
    font-family: inherit;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

    .calendar-day:hover:not(.disabled) {
        background: #e9efeb;
        transform: translateY(-2px);
    }

    .calendar-day.today {
        border: 2px solid var(--primary-color);
    }

    .calendar-day.selected {
        background: var(--primary-color);
        color: var(--white);
    }

    .calendar-day.disabled {
        background: #f1f1f1;
        color: #b8b8b8;
        cursor: not-allowed;
    }


/* Selected date */

.selected-date-card {
    margin-top: 20px;
    background: var(--white);
    border-radius: 18px;
    padding: 20px;
    display: none;
}

    .selected-date-card.show {
        display: block;
    }

.selected-date-title {
    display: flex;
    align-items: center;
    gap: 14px;
}

    .selected-date-title i {
        font-size: 25px;
        color: var(--primary-color);
    }

    .selected-date-title span {
        display: block;
        color: #7a8780;
        font-size: 13px;
        margin-bottom: 4px;
    }

    .selected-date-title strong {
        color: var(--text-color);
        font-size: 17px;
    }


/* Available hours */

.available-hours-card {
    margin-top: 20px;
    background: var(--white);
    border-radius: 18px;
    padding: 25px;
    display: none;
}

    .available-hours-card.show {
        display: block;
    }

.hours-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

    .hours-header i {
        font-size: 25px;
        color: var(--primary-color);
    }

    .hours-header h3 {
        margin: 0 0 5px;
        color: var(--text-color);
        font-size: 19px;
    }

    .hours-header p {
        margin: 0;
        color: #7a8780;
        font-size: 13px;
    }


/* Hours */

.hours-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.hour-button {
    border: 1px solid #dfe6e1;
    background: var(--white);
    border-radius: 12px;
    padding: 13px;
    color: var(--primary-color);
    font-family: inherit;
    font-size: 15px;
    cursor: pointer;
    transition: 0.2s;
}

    .hour-button:hover {
        background: var(--primary-color);
        color: var(--white);
    }

    .hour-button.booked {
        background: #f1f1f1;
        color: #aaa;
        border-color: #e5e5e5;
        cursor: not-allowed;
    }


/* Mobile */

@media (max-width: 650px) {

    .appointment-page {
        padding: 30px 12px;
    }

    .calendar-card {
        padding: 15px;
    }

    .calendar-weekdays,
    .calendar-days {
        gap: 4px;
    }

        .calendar-weekdays div {
            font-size: 11px;
        }

    .calendar-day {
        border-radius: 9px;
        font-size: 13px;
    }

    .hours-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .appointment-header h1 {
        font-size: 23px;
    }
}
/* =====================================
   Therapist Dashboard
===================================== */

.therapist-dashboard {
    min-height: 100vh;
    background: var(--secondary-color);
    padding: 45px 20px 70px;
}

.therapist-dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
}


/* Header */

.therapist-dashboard .dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.dashboard-welcome {
    display: block;
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 5px;
}

.therapist-dashboard .dashboard-header h1 {
    color: var(--text-color);
    margin: 0 0 8px;
    font-size: 28px;
}

.therapist-dashboard .dashboard-header p {
    color: #75817b;
    margin: 0;
}

.dashboard-header-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
}


/* Statistics */

.therapist-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 25px;
}

.therapist-stat-card {
    background: var(--white);
    border-radius: 18px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

    .therapist-stat-card .stat-icon {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        background: #eef3ef;
        color: var(--primary-color);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
    }

    .therapist-stat-card span {
        display: block;
        color: #7a8780;
        font-size: 13px;
        margin-bottom: 5px;
    }

    .therapist-stat-card strong {
        color: var(--text-color);
        font-size: 25px;
    }


/* Main Grid */

.therapist-dashboard-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.therapist-dashboard-card {
    background: var(--white);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

.dashboard-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.card-label {
    color: var(--primary-color);
    font-size: 12px;
}

.dashboard-card-header h2 {
    margin: 5px 0 0;
    color: var(--text-color);
    font-size: 19px;
}

.dashboard-card-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 13px;
}

    .dashboard-card-link:hover {
        color: var(--primary-hover);
    }


/* Appointments */

.appointment-list {
    display: flex;
    flex-direction: column;
}

.therapist-appointment {
    display: grid;
    grid-template-columns: 70px 1fr auto 35px;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #edf1ee;
}

    .therapist-appointment:last-child {
        border-bottom: none;
    }

.appointment-time strong {
    color: var(--primary-color);
}

.appointment-person strong {
    display: block;
    color: var(--text-color);
    font-size: 14px;
}

.appointment-person span {
    display: block;
    color: #89938e;
    font-size: 12px;
    margin-top: 3px;
}

.appointment-status {
    font-size: 11px;
    padding: 6px 10px;
    border-radius: 8px;
}

    .appointment-status.confirmed {
        background: #e9f2eb;
        color: #4A6B5D;
    }

    .appointment-status.pending {
        background: #f7f0e4;
        color: #a27538;
    }

.appointment-view {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 9px;
    background: #f4f7f4;
    color: var(--primary-color);
    cursor: pointer;
}


/* Quick Actions */

.therapist-quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.therapist-action {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-radius: 13px;
    background: #f7f9f7;
    color: var(--text-color);
    text-decoration: none;
    transition: 0.2s;
}

    .therapist-action i {
        color: var(--primary-color);
        font-size: 19px;
    }

    .therapist-action span {
        font-size: 13px;
    }

    .therapist-action:hover {
        background: #edf2ee;
        color: var(--primary-color);
    }


/* Bottom Grid */

.therapist-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}


/* Pending */

.pending-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #edf1ee;
}

    .pending-item:last-child {
        border-bottom: none;
    }

.pending-info strong {
    display: block;
    color: var(--text-color);
    font-size: 14px;
}

.pending-info span {
    display: block;
    color: #89938e;
    font-size: 12px;
    margin-top: 4px;
}

.pending-actions {
    display: flex;
    gap: 6px;
}

    .pending-actions button {
        border: none;
        border-radius: 8px;
        padding: 7px 10px;
        font-family: inherit;
        font-size: 11px;
        cursor: pointer;
    }

.confirm-btn {
    background: #e9f2eb;
    color: var(--primary-color);
}

.cancel-btn {
    background: #f7eeee;
    color: #a85c5c;
}


/* Suggestions */

.suggestion-item {
    display: flex;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid #edf1ee;
}

    .suggestion-item:last-child {
        border-bottom: none;
    }

.suggestion-icon {
    min-width: 38px;
    height: 38px;
    border-radius: 11px;
    background: #f5eee4;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.suggestion-item strong {
    color: var(--text-color);
    font-size: 13px;
}

.suggestion-item p {
    margin: 5px 0 0;
    color: #89938e;
    font-size: 12px;
}


/* Responsive */

@media (max-width: 900px) {

    .therapist-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .therapist-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .therapist-bottom-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 600px) {

    .therapist-dashboard {
        padding: 30px 12px 50px;
    }

        .therapist-dashboard .dashboard-header h1 {
            font-size: 22px;
        }

    .dashboard-header-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .therapist-stats {
        grid-template-columns: 1fr;
    }

    .therapist-dashboard-card {
        padding: 18px;
    }

    .therapist-appointment {
        grid-template-columns: 55px 1fr auto;
    }

    .appointment-view {
        display: none;
    }

    .appointment-status {
        font-size: 10px;
    }

    .pending-item {
        align-items: flex-start;
        gap: 10px;
        flex-direction: column;
    }

    .pending-actions {
        width: 100%;
    }

        .pending-actions button {
            flex: 1;
        }
}
/* =====================================
   Therapist Working Hours
===================================== */

.working-hours-page {
    min-height: 100vh;
    background: var(--secondary-color);
    padding: 45px 20px 70px;
}

.working-hours-container {
    max-width: 1000px;
    margin: 0 auto;
}


/* Header */

.working-hours-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 25px;
}

.working-hours-header-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
}

.working-hours-header span {
    color: var(--primary-color);
    font-size: 13px;
}

.working-hours-header h1 {
    margin: 5px 0 7px;
    color: var(--text-color);
    font-size: 27px;
}

.working-hours-header p {
    margin: 0;
    color: #7a8780;
    font-size: 13px;
    max-width: 700px;
    line-height: 1.8;
}


/* Info */

.working-hours-info {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #edf3ef;
    border-radius: 14px;
    padding: 15px 18px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

    .working-hours-info i {
        font-size: 20px;
    }

    .working-hours-info p {
        margin: 0;
        font-size: 13px;
        line-height: 1.8;
    }


/* Card */

.working-hours-card {
    background: var(--white);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

.working-hours-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

    .working-hours-card-header span {
        color: var(--primary-color);
        font-size: 12px;
    }

    .working-hours-card-header h2 {
        margin: 5px 0 0;
        color: var(--text-color);
        font-size: 20px;
    }

    .working-hours-card-header > i {
        font-size: 25px;
        color: var(--primary-color);
    }


/* Days */

.working-days-list {
    border-top: 1px solid #edf1ee;
}

.working-day-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 25px;
    padding: 22px 5px;
    border-bottom: 1px solid #edf1ee;
}


/* Day */

.day-info {
    display: flex;
    align-items: center;
    gap: 13px;
}

    .day-info strong {
        display: block;
        color: var(--text-color);
        font-size: 15px;
    }

    .day-info small {
        display: block;
        color: #9aa39f;
        font-size: 11px;
        margin-top: 4px;
    }

.working-day-row.active .day-info small {
    color: var(--primary-color);
}


/* Switch */

.day-switch {
    position: relative;
    width: 42px;
    height: 23px;
    display: inline-block;
    flex-shrink: 0;
}

    .day-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.switch-slider {
    position: absolute;
    inset: 0;
    background: #d9dfdb;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.25s;
}

    .switch-slider::before {
        content: "";
        position: absolute;
        width: 17px;
        height: 17px;
        right: 3px;
        top: 3px;
        background: white;
        border-radius: 50%;
        transition: 0.25s;
    }

.day-switch input:checked + .switch-slider {
    background: var(--primary-color);
}

    .day-switch input:checked + .switch-slider::before {
        transform: translateX(-19px);
    }


/* Time ranges */

.time-ranges {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.time-range {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .time-range > span {
        color: #89938e;
        font-size: 12px;
    }

.time-input {
    width: 125px;
    border: 1px solid #dfe6e1;
    border-radius: 10px;
    padding: 10px 12px;
    color: var(--text-color);
    background: #fbfcfb;
    font-family: inherit;
    direction: ltr;
    text-align: center;
    outline: none;
}

    .time-input:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(74, 107, 93, 0.08);
    }


/* Remove */

.remove-time {
    width: 35px;
    height: 35px;
    border: none;
    border-radius: 9px;
    background: #faf0f0;
    color: #ad6565;
    cursor: pointer;
    transition: 0.2s;
}

    .remove-time:hover {
        background: #f5dddd;
    }


/* Add */

.add-time {
    border: none;
    background: transparent;
    color: var(--primary-color);
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
    padding: 3px 0;
}

    .add-time:hover {
        color: var(--primary-hover);
    }

    .add-time i {
        margin-left: 4px;
    }


/* Day Off */

.time-ranges.disabled {
    justify-content: center;
}

.day-off-text {
    color: #a5ada9;
    font-size: 13px;
}


/* Footer */

.working-hours-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 22px;
}

    .working-hours-footer > span {
        color: #89938e;
        font-size: 11px;
    }

        .working-hours-footer > span i {
            color: var(--primary-color);
            margin-left: 4px;
        }

.save-working-hours {
    border: none;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 11px;
    padding: 12px 20px;
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s;
}

    .save-working-hours:hover {
        background: var(--primary-hover);
    }


/* Responsive */

@media (max-width: 750px) {

    .working-hours-page {
        padding: 30px 12px 50px;
    }

    .working-hours-card {
        padding: 18px;
    }

    .working-day-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .day-info {
        border-bottom: 1px solid #edf1ee;
        padding-bottom: 12px;
    }

    .working-hours-footer {
        flex-direction: column;
        align-items: stretch;
    }

        .working-hours-footer > span {
            text-align: center;
        }

    .save-working-hours {
        width: 100%;
    }
}


@media (max-width: 500px) {

    .working-hours-header {
        align-items: flex-start;
    }

    .working-hours-header-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .working-hours-header h1 {
        font-size: 22px;
    }

    .time-range {
        width: 100%;
    }

    .time-input {
        width: 100%;
    }

    .remove-time {
        flex-shrink: 0;
    }
}

/* =========================================================
       ROOT
    ========================================================= */
.working-hours-page {
    min-height: calc(100vh - 80px);
    padding: 35px 20px 60px;
    background: var(--secondary-color);
}

.working-hours-container {
    max-width: 1050px;
    margin: 0 auto;
}


/* =========================================================
       HEADER
    ========================================================= */

.working-hours-header {
    margin-bottom: 25px;
}

    .working-hours-header h2 {
        margin: 0 0 7px;
        color: var(--text-color);
        font-size: 1.7rem;
        font-weight: 700;
    }

        .working-hours-header h2 i {
            margin-left: 8px;
            color: var(--primary-color);
        }

    .working-hours-header p {
        margin: 0;
        color: #7a8781;
        font-size: .9rem;
    }


/* =========================================================
       INFO
    ========================================================= */

.working-hours-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 17px 20px;
    margin-bottom: 22px;
    background: #eef4f0;
    border: 1px solid #dbe7df;
    border-radius: 13px;
    color: var(--text-color);
}

    .working-hours-info > i {
        margin-top: 2px;
        color: var(--primary-color);
        font-size: 1.2rem;
    }

    .working-hours-info strong {
        display: block;
        margin-bottom: 4px;
        font-size: .9rem;
    }

    .working-hours-info p {
        margin: 0;
        color: #6d7973;
        font-size: .8rem;
        line-height: 1.8;
    }


/* =========================================================
       MAIN CARD
    ========================================================= */

.working-hours-card {
    overflow: hidden;
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(44, 62, 53, .07);
}


/* =========================================================
       CALENDAR
    ========================================================= */

.calendar-section {
    padding: 25px;
    border-bottom: 1px solid #edf0ee;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.calendar-title {
    text-align: center;
}

    .calendar-title h3 {
        margin: 0 0 3px;
        color: var(--text-color);
        font-size: 1.2rem;
        font-weight: 700;
    }

    .calendar-title span {
        color: #89938e;
        font-size: .75rem;
    }


/* Navigation */

.calendar-nav-button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e6e2;
    border-radius: 10px;
    background: #fafcfb;
    color: var(--primary-color);
    cursor: pointer;
    transition: .2s;
}

    .calendar-nav-button:hover {
        background: #eef4f0;
        border-color: #d4e0d9;
    }


/* Weekdays */

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin-bottom: 8px;
}

    .calendar-weekdays div {
        padding: 9px 3px;
        text-align: center;
        color: #8a958f;
        font-size: .72rem;
        font-weight: 600;
    }


/* Days */

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 7px;
}

.calendar-day {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid transparent;
    border-radius: 11px;
    background: #fafcfb;
    color: var(--text-color);
    font-family: inherit;
    font-size: .85rem;
    cursor: pointer;
    transition: .2s;
}

    .calendar-day:hover:not(.disabled) {
        background: #eef4f0;
        border-color: #dce7e0;
    }

    .calendar-day.empty {
        background: transparent;
        cursor: default;
    }

    .calendar-day.disabled {
        color: #c5cbc7;
        background: #f7f8f7;
        cursor: not-allowed;
    }

    .calendar-day.today {
        border-color: var(--accent-color);
        font-weight: 700;
    }

    .calendar-day.selected {
        background: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
        box-shadow: 0 4px 10px rgba(74, 107, 93, .18);
    }

    .calendar-day.working {
        background: #eef4f0;
        border-color: #d6e4dc;
    }

        .calendar-day.working.selected {
            background: var(--primary-color);
            color: white;
        }

    .calendar-day .day-number {
        position: relative;
        z-index: 2;
    }

    .calendar-day .working-dot {
        position: absolute;
        width: 5px;
        height: 5px;
        bottom: 7px;
        border-radius: 50%;
        background: var(--primary-color);
    }

    .calendar-day.selected .working-dot {
        background: white;
    }


/* Today */

.today-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 18px auto 0;
    padding: 8px 14px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--primary-color);
    font-family: inherit;
    font-size: .75rem;
    cursor: pointer;
    transition: .2s;
}

    .today-button:hover {
        background: #eef4f0;
    }


/* =========================================================
       SELECTED DAY
    ========================================================= */

.selected-day-section {
    padding: 25px;
}

.selected-day-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.section-label {
    display: block;
    margin-bottom: 5px;
    color: #909a95;
    font-size: .72rem;
}

.selected-day-header h3 {
    margin: 0;
    color: var(--text-color);
    font-size: 1.15rem;
}


/* Status */

.selected-day-status {
    padding: 7px 13px;
    border-radius: 20px;
    font-size: .72rem;
    font-weight: 600;
    white-space: nowrap;
}

    .selected-day-status.holiday {
        background: #f4f5f4;
        color: #8b948f;
    }

    .selected-day-status.working {
        background: #e9f2ed;
        color: var(--primary-color);
    }


/* =========================================================
       DAY SETTING
    ========================================================= */

.day-setting {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px 18px;
    border: 1px solid #e5eae7;
    border-radius: 13px;
    background: #fafcfb;
    margin-bottom: 20px;
}

.day-setting-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.day-setting-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #eef4f0;
    color: var(--primary-color);
}

.day-setting-info strong {
    display: block;
    margin-bottom: 3px;
    color: var(--text-color);
    font-size: .82rem;
}

.day-setting-info span {
    display: block;
    color: #8a958f;
    font-size: .72rem;
}


/* =========================================================
       TOGGLE
    ========================================================= */

.day-switch {
    position: relative;
    width: 52px;
    height: 28px;
    display: inline-block;
    flex-shrink: 0;
    cursor: pointer;
}

    .day-switch input {
        width: 0;
        height: 0;
        opacity: 0;
    }

.switch-slider {
    position: absolute;
    inset: 0;
    background: #d7ded9;
    border-radius: 50px;
    transition: .25s;
}

    .switch-slider::before {
        content: "";
        position: absolute;
        width: 22px;
        height: 22px;
        right: 3px;
        top: 3px;
        border-radius: 50%;
        background: white;
        box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
        transition: .25s;
    }

.day-switch input:checked + .switch-slider {
    background: var(--primary-color);
}

    .day-switch input:checked + .switch-slider::before {
        transform: translateX(-24px);
    }


/* =========================================================
       TIME SETTINGS
    ========================================================= */

.time-settings {
    padding: 20px;
    border: 1px solid #e6ebe8;
    border-radius: 13px;
    background: white;
}

.time-settings-header {
    margin-bottom: 17px;
}

    .time-settings-header h4 {
        margin: 0 0 4px;
        color: var(--text-color);
        font-size: .9rem;
    }

    .time-settings-header span {
        color: #929b96;
        font-size: .7rem;
    }


/* =========================================================
       TIME RANGE
    ========================================================= */

.time-ranges {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.time-range {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 12px;
    background: #fafcfb;
    border: 1px solid #e6ebe8;
    border-radius: 11px;
    animation: rangeIn .2s ease;
}

@keyframes rangeIn {

    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.time-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

    .time-field label {
        color: #858f8a;
        font-size: .68rem;
    }

.time-input {
    width: 135px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid #dfe5e1;
    border-radius: 8px;
    background: white;
    color: var(--text-color);
    font-family: inherit;
    font-size: .82rem;
    outline: none;
    transition: .2s;
}

    .time-input:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(74, 107, 93, .08);
    }

.time-separator {
    padding-bottom: 11px;
    color: #8b958f;
    font-size: .75rem;
}


/* =========================================================
       REMOVE
    ========================================================= */

.remove-time {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 8px;
    background: #fff1f0;
    color: #c36c67;
    cursor: pointer;
    transition: .2s;
}

    .remove-time:hover {
        background: #fce1df;
        color: #b85550;
    }


/* =========================================================
       ADD
    ========================================================= */

.add-time-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    padding: 9px 13px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--primary-color);
    font-family: inherit;
    font-size: .76rem;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
}

    .add-time-button:hover {
        background: #eef4f0;
    }


/* =========================================================
       HOLIDAY MESSAGE
    ========================================================= */

.holiday-message {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 18px;
    border-radius: 12px;
    background: #fafafa;
    border: 1px solid #e9ecea;
}

.holiday-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 10px;
    background: #f1f3f2;
    color: #89938e;
}

.holiday-message strong {
    display: block;
    margin-bottom: 3px;
    color: var(--text-color);
    font-size: .8rem;
}

.holiday-message span {
    display: block;
    color: #8c9691;
    font-size: .7rem;
}


/* =========================================================
       FOOTER
    ========================================================= */

.selected-day-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #edf0ee;
}

.save-day-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border: none;
    border-radius: 9px;
    background: var(--primary-color);
    color: white;
    font-family: inherit;
    font-size: .78rem;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
}

    .save-day-button:hover {
        background: var(--primary-hover);
        transform: translateY(-1px);
    }


/* =========================================================
       HIDDEN
    ========================================================= */

.time-settings.hidden,
.holiday-message.hidden {
    display: none;
}


/* =========================================================
       RESPONSIVE
    ========================================================= */

@media (max-width: 650px) {

    .working-hours-page {
        padding: 20px 12px 40px;
    }

    .calendar-section,
    .selected-day-section {
        padding: 18px 15px;
    }

    .calendar-days {
        gap: 4px;
    }

    .calendar-day {
        min-height: 48px;
        border-radius: 8px;
        font-size: .78rem;
    }

    .calendar-weekdays {
        gap: 4px;
    }

        .calendar-weekdays div {
            font-size: .62rem;
        }

    .selected-day-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .time-range {
        flex-wrap: wrap;
    }

    .time-input {
        width: 125px;
    }

    .selected-day-footer {
        justify-content: stretch;
    }

    .save-day-button {
        width: 100%;
        justify-content: center;
    }
}


@media (max-width: 400px) {

    .calendar-day {
        min-height: 43px;
        font-size: .72rem;
    }

        .calendar-day .working-dot {
            bottom: 4px;
        }

    .time-input {
        width: 110px;
    }

    .time-separator {
        display: none;
    }
}

/* ================================
   Therapist Panel
================================ */

.therapist-panel-wrapper {
    position: relative !important;
}

/* دکمه پنل */
.therapist-panel-button {
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    background: transparent;
    color: var(--primary-color);
    font-family: 'Shabnam', sans-serif;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 12px;
    cursor: pointer;
    position: relative;
}

    .therapist-panel-button:hover {
        color: var(--primary-hover);
    }

    .therapist-panel-button:focus {
        outline: none;
        box-shadow: none;
    }

/* آیکون */
.therapist-panel-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* خود منوی Dropdown */
.therapist-panel-menu {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    min-width: 190px;
    margin-top: 8px !important;
    padding: 8px;
    border: none;
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    z-index: 1050;
}

/* آیتم‌های منو */
.therapist-panel-item {
    display: flex !important;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px !important;
    border-radius: 8px;
    color: var(--text-color) !important;
    font-family: 'Shabnam', sans-serif;
    font-size: 14px;
    transition: all 0.2s ease;
}

    .therapist-panel-item:hover {
        background-color: var(--secondary-color) !important;
        color: var(--primary-color) !important;
    }

/* آیکون آیتم‌ها */
.therapist-menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    color: var(--primary-color);
    font-size: 16px;
}

/* خروج */
.therapist-logout {
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: right;
}

    .therapist-logout:hover {
        color: #b94a48 !important;
    }

        .therapist-logout:hover .therapist-menu-icon {
            color: #b94a48;
        }

/* =========================================
       Book Appointment
    ========================================= */

/* صفحه رزرو نوبت RavanYab - هماهنگ با طراحی صفحه مدیریت ساعات کاری */
.booking-page {
    --booking-primary: #4A6B5D;
    --booking-primary-dark: #355346;
    --booking-primary-soft: #eaf1ed;
    --booking-gold: #D9A76A;
    --booking-text: #26352f;
    --booking-muted: #78847e;
    --booking-border: #e5ebe7;
    --booking-surface: #fff;
    --booking-bg: #f7f9f7;
    --booking-danger: #b94a48;
    color: var(--booking-text);
    padding-top: 2rem;
    padding-bottom: 3rem;
}

    .booking-page *, .booking-page *::before, .booking-page *::after {
        box-sizing: border-box;
    }

    .booking-page [hidden] {
        display: none !important;
    }

.booking-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

    .booking-page-header h1 {
        margin: .35rem 0 .45rem;
        color: var(--booking-text);
        font-size: clamp(1.4rem,2.2vw,1.85rem);
        font-weight: 800;
        line-height: 1.6;
    }

    .booking-page-header p, .booking-time-heading p, .booking-action p {
        margin: 0;
        color: var(--booking-muted);
        font-size: .9rem;
        line-height: 1.9;
    }

.booking-eyebrow {
    color: var(--booking-primary);
    font-size: .78rem;
    font-weight: 800;
}

.booking-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: var(--booking-primary-soft);
    color: var(--booking-primary);
    font-size: 1.55rem;
}

.booking-layout {
    display: grid;
    grid-template-columns: minmax(0,1.12fr) minmax(320px,.88fr);
    gap: 1.25rem;
    align-items: start;
}

.booking-card {
    min-width: 0;
    padding: clamp(1rem,2.5vw,1.6rem);
    background: var(--booking-surface);
    border: 1px solid var(--booking-border);
    border-radius: 22px;
    box-shadow: 0 8px 30px rgba(38,53,47,.045);
}

.booking-calendar-header {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1.4rem;
}

.booking-month-heading {
    min-width: 0;
    text-align: center;
}

    .booking-month-heading h2 {
        margin: 0;
        font-size: 1.2rem;
        font-weight: 800;
        white-space: nowrap;
    }

    .booking-month-heading span {
        display: block;
        margin-top: .25rem;
        color: var(--booking-muted);
        font-size: .8rem;
    }

.booking-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: var(--booking-primary);
    background: #f6f8f6;
    border: 1px solid var(--booking-border);
    border-radius: 12px;
    font: inherit;
    cursor: pointer;
    transition: background .2s,border-color .2s,transform .2s;
}

    .booking-nav-btn:hover:not(:disabled) {
        background: var(--booking-primary-soft);
        border-color: #cbd9d0;
    }

    .booking-nav-btn:active:not(:disabled) {
        transform: scale(.97);
    }

    .booking-nav-btn:disabled {
        opacity: .45;
        cursor: not-allowed;
    }

.booking-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7,minmax(0,1fr));
    gap: .42rem;
}

.booking-week-days {
    margin-bottom: .55rem;
}

    .booking-week-days > div {
        padding: .5rem 0;
        color: var(--booking-muted);
        text-align: center;
        font-size: clamp(.65rem,1vw,.78rem);
        font-weight: 700;
        white-space: nowrap;
    }

    .booking-week-days .booking-friday {
        color: #b86d66;
    }

.booking-calendar-days {
    grid-auto-rows: minmax(62px,auto);
}

.booking-day-empty {
    min-width: 0;
}

.booking-day {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .25rem;
    min-width: 0;
    min-height: 62px;
    padding: .35rem .1rem;
    color: var(--booking-text);
    background: #fff;
    border: 1px solid #edf0ed;
    border-radius: 13px;
    font: inherit;
    cursor: pointer;
    transition: background .18s,border-color .18s,transform .18s;
}

.booking-day-number {
    font-size: .94rem;
    font-weight: 700;
    line-height: 1.3;
}

.booking-day.is-available {
    background: #f0f6f1;
    border-color: #d9e8dd;
}

    .booking-day.is-available:hover:not(:disabled) {
        background: #e3efe6;
        border-color: #a9c7b3;
        transform: translateY(-1px);
    }

.booking-day.is-unavailable {
    color: #a9b0ac;
    background: #fafbfa;
    border-color: #f0f2f0;
    cursor: not-allowed;
}

.booking-day.is-past {
    color: #b9bfbb;
    background: #f6f7f6;
    border-color: #f0f2f0;
    cursor: not-allowed;
    opacity: .72;
}

.booking-day.is-today {
    box-shadow: inset 0 0 0 1.5px var(--booking-gold);
}

.booking-day.is-selected {
    color: #fff;
    background: var(--booking-primary);
    border-color: var(--booking-primary);
    box-shadow: 0 5px 12px rgba(74,107,93,.2);
}

    .booking-day.is-selected .booking-day-number {
        color: #fff;
    }

.booking-legend {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem 1.1rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #eef1ee;
}

    .booking-legend > span {
        display: inline-flex;
        align-items: center;
        gap: .4rem;
        color: var(--booking-muted);
        font-size: .76rem;
    }

.booking-legend-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
}

.dot-available {
    background: #80aa8d;
}

.dot-unavailable {
    background: #cbd0cc;
}

.dot-today {
    background: var(--booking-gold);
}

.dot-selected {
    background: var(--booking-primary);
}

.booking-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

    .booking-section-heading h2 {
        margin: .25rem 0 0;
        font-size: 1.15rem;
        font-weight: 800;
    }

.booking-clock-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #fbf2e7;
    color: #b78043;
    font-size: 1.2rem;
}

.booking-selected-date {
    display: flex;
    align-items: center;
    gap: .8rem;
    min-height: 76px;
    padding: 1rem;
    background: #f7f9f7;
    border: 1px solid var(--booking-border);
    border-radius: 16px;
}

.booking-date-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--booking-primary-soft);
    color: var(--booking-primary);
    font-size: 1.1rem;
}

.booking-selected-date small {
    display: block;
    margin-bottom: .25rem;
    color: var(--booking-muted);
    font-size: .75rem;
}

.booking-selected-date strong {
    display: block;
    color: var(--booking-text);
    font-size: .9rem;
    line-height: 1.8;
}

.booking-time-section {
    margin-top: 1.5rem;
}

.booking-time-heading h3 {
    margin: 0 0 .25rem;
    font-size: 1rem;
    font-weight: 800;
}

.booking-time-slots {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: .55rem;
    margin-top: 1rem;
}

.booking-time-slot {
    min-height: 43px;
    padding: .5rem .25rem;
    color: var(--booking-primary);
    background: #f6f9f6;
    border: 1px solid #dce8df;
    border-radius: 11px;
    font: inherit;
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .18s,border-color .18s,color .18s;
}

    .booking-time-slot:hover:not(:disabled) {
        background: var(--booking-primary-soft);
        border-color: #a9c7b3;
    }

    .booking-time-slot.is-selected {
        color: #fff;
        background: var(--booking-primary);
        border-color: var(--booking-primary);
    }

    .booking-time-slot.is-reserved, .booking-time-slot:disabled {
        color: #aeb5b0;
        background: #f3f4f3;
        border-color: #e8ebe8;
        cursor: not-allowed;
        text-decoration: line-through;
    }

.booking-no-slots {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: 1rem;
    color: var(--booking-muted);
    background: #fafbfa;
    border: 1px dashed var(--booking-border);
    border-radius: 13px;
    font-size: .86rem;
    line-height: 1.9;
}

    .booking-no-slots i {
        color: var(--booking-primary);
        font-size: 1.2rem;
    }

.booking-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    min-height: 150px;
    margin-top: 1rem;
    padding: 1.2rem;
    color: var(--booking-muted);
    text-align: center;
    background: #fbfcfb;
    border: 1px dashed var(--booking-border);
    border-radius: 16px;
}

    .booking-empty-state i {
        color: #9bb2a3;
        font-size: 1.8rem;
    }

    .booking-empty-state p {
        max-width: 270px;
        margin: 0;
        font-size: .84rem;
        line-height: 2;
    }

.booking-description-field {
    margin-top: 1.35rem;
}

    .booking-description-field label {
        display: block;
        margin-bottom: .4rem;
        color: var(--booking-text);
        font-size: .9rem;
        font-weight: 800;
    }

        .booking-description-field label span {
            color: var(--booking-muted);
            font-size: .76rem;
            font-weight: 500;
        }

    .booking-description-field > p {
        margin: 0 0 .7rem;
        color: var(--booking-muted);
        font-size: .8rem;
        line-height: 1.9;
    }

    .booking-description-field textarea {
        display: block;
        width: 100%;
        min-height: 112px;
        padding: .85rem 1rem;
        resize: vertical;
        color: var(--booking-text);
        background: #fbfcfb;
        border: 1px solid var(--booking-border);
        border-radius: 13px;
        font: inherit;
        font-size: .88rem;
        line-height: 1.9;
        transition: border-color .2s,box-shadow .2s,background .2s;
    }

        .booking-description-field textarea::placeholder {
            color: #a3aca6;
        }

        .booking-description-field textarea:focus {
            outline: none;
            background: #fff;
            border-color: #9bb8a5;
            box-shadow: 0 0 0 3px rgba(74,107,93,.1);
        }

.booking-description-footer {
    display: flex;
    justify-content: space-between;
    gap: .7rem;
    margin-top: .45rem;
    color: var(--booking-muted);
    font-size: .72rem;
    line-height: 1.8;
}

    .booking-description-footer b {
        color: var(--booking-primary);
        font-weight: 800;
    }

.booking-action {
    display: none;
    margin-top: 1.25rem;
}

    .booking-action.is-visible {
        display: block;
    }

.booking-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    width: 100%;
    min-height: 49px;
    padding: .75rem 1rem;
    color: #fff;
    background: var(--booking-primary);
    border: 1px solid var(--booking-primary);
    border-radius: 13px;
    font: inherit;
    font-size: .9rem;
    font-weight: 800;
    cursor: pointer;
    transition: background .2s,transform .2s;
}

    .booking-submit-btn:hover:not(:disabled) {
        background: var(--booking-primary-dark);
    }

    .booking-submit-btn:active:not(:disabled) {
        transform: translateY(1px);
    }

    .booking-submit-btn:disabled {
        opacity: .55;
        cursor: not-allowed;
    }

.booking-action p {
    margin-top: .55rem;
    text-align: center;
    font-size: .75rem;
}

.booking-message {
    display: none;
    margin: 0 0 1rem;
    padding: .8rem 1rem;
    border-radius: 12px;
    font-size: .88rem;
    line-height: 1.9;
}

    .booking-message:not(:empty) {
        display: block;
    }

    .booking-message.is-error {
        color: #923d3b;
        background: #fff1f0;
        border: 1px solid #f0d2d0;
    }

    .booking-message.is-success {
        color: #2d6844;
        background: #edf7ef;
        border: 1px solid #cce6d1;
    }

.booking-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,.45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: booking-spin .7s linear infinite;
}

@keyframes booking-spin {
    to {
        transform: rotate(360deg);
    }
}

.booking-page button:focus-visible {
    outline: 3px solid rgba(217,167,106,.6);
    outline-offset: 2px;
}

@media (max-width: 991.98px) {
    .booking-layout {
        grid-template-columns: minmax(0,1fr);
    }

    .booking-calendar-card {
        order: 0;
    }

    .booking-details-card {
        order: 1;
    }
}

@media (max-width: 575.98px) {
    .booking-page {
        padding-top: 1.1rem;
        padding-bottom: 2rem;
    }

    .booking-page-header {
        align-items: flex-start;
        margin-bottom: 1rem;
    }

    .booking-header-icon {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
        border-radius: 14px;
        font-size: 1.25rem;
    }

    .booking-card {
        padding: 1rem .8rem;
        border-radius: 18px;
    }

    .booking-calendar-grid {
        gap: .28rem;
    }

    .booking-calendar-days {
        grid-auto-rows: minmax(48px,auto);
    }

    .booking-day {
        min-height: 48px;
        border-radius: 10px;
    }

    .booking-day-number {
        font-size: .83rem;
    }

    .booking-week-days > div {
        font-size: .62rem;
        padding: .4rem 0;
    }

    .booking-legend {
        gap: .65rem .8rem;
    }

        .booking-legend > span {
            font-size: .7rem;
        }

    .booking-time-slots {
        grid-template-columns: repeat(3,minmax(0,1fr));
        gap: .4rem;
    }

    .booking-time-slot {
        min-height: 41px;
        font-size: .82rem;
    }
}


.calendar-day.working-day {
    background: rgba(74, 107, 93, 0.12);
    border-color: rgba(74, 107, 93, 0.35);
    color: var(--primary-color);
}

    .calendar-day.working-day:hover:not(.disabled) {
        background: var(--primary-color);
        color: var(--white);
    }

.calendar-day.holiday {
    background: rgba(126, 87, 194, 0.10);
    border-color: rgba(126, 87, 194, 0.25);
    color: #7E57C2;
    cursor: not-allowed;
}

    .calendar-day.holiday::after {
        content: "";
        position: absolute;
        bottom: 7px;
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: #7E57C2;
    }

.calendar-day.working-day::after {
    content: "";
    position: absolute;
    bottom: 7px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary-color);
}

.pending-date-time {
    display: flex;
    align-items: center;
    gap: 12px;
}

.client-profile-readonly .profile-input[readonly],
.client-profile-readonly .profile-textarea[readonly] {
    background-color: #f6f7f9;
    cursor: default;
    resize: none;
    box-shadow: none;
}

    .client-profile-readonly .profile-input[readonly]:focus,
    .client-profile-readonly .profile-textarea[readonly]:focus {
        outline: none;
        border-color: inherit;
        box-shadow: none;
    }

    .client-profile-readonly .profile-input[readonly]::placeholder,
    .client-profile-readonly .profile-textarea[readonly]::placeholder {
        color: #9aa1ac;
        font-style: italic;
    }

/* استایل‌های صفحه مدیریت روزها و ساعات کاری RavanYab */
.wh-page {
    --wh-primary: #4A6B5D;
    --wh-primary-dark: #355346;
    --wh-primary-soft: #eaf1ed;
    --wh-gold: #D9A76A;
    --wh-text: #26352f;
    --wh-muted: #78847e;
    --wh-border: #e5ebe7;
    --wh-surface: #ffffff;
    --wh-page-bg: #f7f9f7;
    --wh-danger: #b94a48;
    color: var(--wh-text);
    padding-top: 2rem;
    padding-bottom: 3rem;
    font-family: inherit;
}

    .wh-page *,
    .wh-page *::before,
    .wh-page *::after {
        box-sizing: border-box;
    }

.wh-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

    .wh-page-header h1 {
        margin: .35rem 0 .45rem;
        color: var(--wh-text);
        font-size: clamp(1.35rem, 2vw, 1.8rem);
        font-weight: 800;
        line-height: 1.6;
    }

    .wh-page-header p,
    .wh-section-heading p,
    .wh-toggle-row p,
    .wh-ranges-heading p,
    .wh-editor-footer p {
        margin: 0;
        color: var(--wh-muted);
        font-size: .9rem;
        line-height: 1.9;
    }

.wh-eyebrow {
    color: var(--wh-primary);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .02em;
}

.wh-layout {
    align-items: stretch;
}

.wh-card {
    height: 100%;
    padding: clamp(1rem, 2.5vw, 1.6rem);
    background: var(--wh-surface);
    border: 1px solid var(--wh-border);
    border-radius: 22px;
    box-shadow: 0 8px 30px rgba(38, 53, 47, .045);
}

.wh-calendar-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1.5rem;
}

.wh-month-heading {
    text-align: center;
    min-width: 0;
}

    .wh-month-heading h2 {
        margin: 0;
        font-size: 1.22rem;
        font-weight: 800;
        white-space: nowrap;
    }

    .wh-month-heading span {
        display: block;
        margin-top: .25rem;
        color: var(--wh-muted);
        font-size: .78rem;
    }

.wh-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    min-height: 40px;
    padding: .45rem .65rem;
    color: var(--wh-primary);
    background: #f6f8f6;
    border: 1px solid var(--wh-border);
    border-radius: 12px;
    font: inherit;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}

    .wh-nav-btn:first-child {
        justify-self: start;
    }

    .wh-nav-btn:last-child {
        justify-self: end;
    }

    .wh-nav-btn:hover:not(:disabled) {
        background: var(--wh-primary-soft);
        border-color: #cbd9d0;
    }

    .wh-nav-btn:disabled,
    .wh-btn:disabled {
        opacity: .55;
        cursor: not-allowed;
    }

.wh-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: .42rem;
}

.wh-weekdays {
    margin-bottom: .55rem;
}

    .wh-weekdays > div {
        padding: .5rem 0;
        color: var(--wh-muted);
        text-align: center;
        font-size: .76rem;
        font-weight: 700;
    }

    .wh-weekdays .wh-friday-label {
        color: #b86d66;
    }

.wh-calendar-days {
    grid-auto-rows: minmax(68px, auto);
}

.wh-calendar-empty {
    min-width: 0;
}

.wh-day {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .28rem;
    min-width: 0;
    min-height: 68px;
    padding: .35rem .1rem;
    color: var(--wh-text);
    background: #fff;
    border: 1px solid #edf0ed;
    border-radius: 14px;
    font: inherit;
    cursor: pointer;
    transition: transform .15s ease, border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

    .wh-day:hover {
        transform: translateY(-1px);
        border-color: #a9c0b3;
        box-shadow: 0 4px 12px rgba(38, 53, 47, .06);
    }

.wh-day-number {
    font-size: .98rem;
    font-weight: 800;
    line-height: 1.25;
}

.wh-day-status {
    min-height: .95rem;
    font-size: .62rem;
    font-weight: 700;
    line-height: 1.2;
}

.wh-day.is-working {
    background: #edf5ef;
    border-color: #d8e8dc;
}

    .wh-day.is-working .wh-day-status {
        color: #3d7655;
    }

.wh-day.is-holiday {
    background: #fbefee;
    border-color: #f2d9d7;
}

    .wh-day.is-holiday .wh-day-status {
        color: #b45c56;
    }

.wh-day.is-friday:not(.is-selected) .wh-day-number {
    color: #b86d66;
}

.wh-day.is-today::after {
    position: absolute;
    top: 5px;
    inset-inline-start: 5px;
    width: 6px;
    height: 6px;
    content: "";
    background: var(--wh-gold);
    border-radius: 50%;
}

.wh-day.is-selected,
.wh-day.is-selected.is-working,
.wh-day.is-selected.is-holiday {
    color: #fff;
    background: var(--wh-primary);
    border-color: var(--wh-primary);
    box-shadow: 0 5px 14px rgba(74, 107, 93, .2);
}

    .wh-day.is-selected .wh-day-number,
    .wh-day.is-selected .wh-day-status {
        color: #fff;
    }

.wh-day:focus-visible,
.wh-nav-btn:focus-visible,
.wh-btn:focus-visible,
.wh-remove-range:focus-visible {
    outline: 3px solid rgba(217, 167, 106, .65);
    outline-offset: 2px;
}

.wh-calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem 1.1rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--wh-border);
}

    .wh-calendar-legend span {
        display: inline-flex;
        align-items: center;
        gap: .4rem;
        color: var(--wh-muted);
        font-size: .76rem;
    }

.wh-legend-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.wh-dot-working {
    background: #74a886;
}

.wh-dot-holiday {
    background: #d78b84;
}

.wh-dot-today {
    background: var(--wh-gold);
}

.wh-dot-selected {
    background: var(--wh-primary);
}

.wh-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

    .wh-section-heading h2 {
        margin: .25rem 0 0;
        font-size: 1.25rem;
        font-weight: 800;
    }

.wh-clock-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    color: var(--wh-primary);
    background: var(--wh-primary-soft);
    border-radius: 15px;
    font-size: 1.6rem;
}

.wh-selected-date {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-height: 54px;
    margin-bottom: 1.25rem;
    padding: .8rem .9rem;
    color: var(--wh-primary-dark);
    background: #f5f8f5;
    border: 1px solid #e7eee9;
    border-radius: 14px;
    font-weight: 800;
}

.wh-date-icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    color: var(--wh-primary);
    background: #e4eee7;
    border-radius: 9px;
}

.wh-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0 1.2rem;
    border-bottom: 1px solid var(--wh-border);
}

    .wh-toggle-row strong {
        display: block;
        margin-bottom: .15rem;
        font-size: .95rem;
    }

    .wh-toggle-row p {
        font-size: .8rem;
    }

.wh-switch {
    position: relative;
    display: inline-block;
    flex: 0 0 48px;
    width: 48px;
    height: 28px;
    margin: 0;
    cursor: pointer;
}

    .wh-switch input {
        position: absolute;
        width: 1px;
        height: 1px;
        opacity: 0;
    }

.wh-switch-track {
    position: absolute;
    inset: 0;
    background: #d9dfdb;
    border-radius: 999px;
    transition: background .2s ease;
}

    .wh-switch-track::before {
        position: absolute;
        top: 4px;
        right: 4px;
        width: 20px;
        height: 20px;
        content: "";
        background: #fff;
        border-radius: 50%;
        box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
        transition: transform .2s ease;
    }

.wh-switch input:checked + .wh-switch-track {
    background: var(--wh-primary);
}

    .wh-switch input:checked + .wh-switch-track::before {
        transform: translateX(-20px);
    }

.wh-switch input:focus-visible + .wh-switch-track {
    outline: 3px solid rgba(217, 167, 106, .7);
    outline-offset: 3px;
}

.wh-ranges-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin: 1.3rem 0 .8rem;
}

    .wh-ranges-heading h3 {
        margin: 0 0 .2rem;
        font-size: .98rem;
        font-weight: 800;
    }

    .wh-ranges-heading p {
        font-size: .78rem;
    }

.wh-range-count {
    flex-shrink: 0;
    padding: .35rem .6rem;
    color: var(--wh-primary);
    background: var(--wh-primary-soft);
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
}

.wh-ranges {
    display: grid;
    gap: .8rem;
}

.wh-range-card {
    padding: .9rem;
    background: #fbfcfb;
    border: 1px solid var(--wh-border);
    border-radius: 15px;
}

.wh-range-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .8rem;
}

    .wh-range-card-top strong {
        font-size: .84rem;
    }

.wh-remove-range {
    padding: .25rem .5rem;
    color: var(--wh-danger);
    background: transparent;
    border: 0;
    border-radius: 7px;
    font: inherit;
    font-size: .78rem;
    cursor: pointer;
}

    .wh-remove-range:hover:not(:disabled) {
        background: #fae9e8;
    }

.wh-range-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.wh-time-field label {
    display: block;
    margin-bottom: .4rem;
    color: var(--wh-muted);
    font-size: .76rem;
    font-weight: 700;
}

.wh-time-field input {
    width: 100%;
    min-height: 43px;
    padding: .45rem .55rem;
    color: var(--wh-text);
    background: #fff;
    border: 1px solid #dfe7e1;
    border-radius: 10px;
    font: inherit;
    font-size: .88rem;
}

    .wh-time-field input:focus {
        border-color: var(--wh-primary);
        outline: 3px solid rgba(74, 107, 93, .12);
    }

.wh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 44px;
    padding: .65rem 1rem;
    border-radius: 12px;
    font: inherit;
    font-size: .88rem;
    font-weight: 800;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

    .wh-btn:active:not(:disabled) {
        transform: translateY(1px);
    }

.wh-btn-outline {
    width: 100%;
    margin-top: .8rem;
    color: var(--wh-primary);
    background: #fff;
    border: 1px dashed #a9c1b3;
}

    .wh-btn-outline:hover:not(:disabled) {
        background: var(--wh-primary-soft);
    }

.wh-btn-primary {
    color: #fff;
    background: var(--wh-primary);
    border: 1px solid var(--wh-primary);
}

    .wh-btn-primary:hover:not(:disabled) {
        background: var(--wh-primary-dark);
    }

.wh-editor-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.4rem;
    padding-top: 1rem;
    border-top: 1px solid var(--wh-border);
}

    .wh-editor-footer p {
        max-width: 220px;
        font-size: .76rem;
    }

.wh-editor-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    padding: 1.5rem;
    color: var(--wh-muted);
    text-align: center;
    background: #fafcfb;
    border: 1px dashed #dce6df;
    border-radius: 16px;
}

    .wh-editor-empty > span {
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        margin-bottom: .75rem;
        color: var(--wh-primary);
        background: var(--wh-primary-soft);
        border-radius: 14px;
        font-size: 1.25rem;
    }

    .wh-editor-empty p {
        max-width: 240px;
        margin: 0;
        font-size: .86rem;
        line-height: 2;
    }

.wh-message {
    display: none;
    margin: 0 0 1rem;
    padding: .85rem 1rem;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: .88rem;
    line-height: 1.9;
}

    .wh-message.is-visible {
        display: block;
    }

    .wh-message.success {
        color: #2f6b46;
        background: #edf7f0;
        border-color: #d5eadb;
    }

    .wh-message.error {
        color: #9d3f3b;
        background: #fff0ef;
        border-color: #f1d5d3;
    }

    .wh-message.info {
        color: #315f7b;
        background: #eef6fb;
        border-color: #d5e8f4;
    }

@media (max-width: 991.98px) {
    .wh-page {
        padding-top: 1.25rem;
    }

    .wh-calendar-card,
    .wh-editor-card {
        height: auto;
    }
}

@media (max-width: 575.98px) {
    .wh-page {
        padding-inline: .75rem;
        padding-bottom: 2rem;
    }

    .wh-page-header {
        margin-bottom: 1rem;
    }

        .wh-page-header h1 {
            font-size: 1.28rem;
        }

        .wh-page-header p {
            font-size: .82rem;
        }

    .wh-card {
        padding: .9rem;
        border-radius: 17px;
    }

    .wh-calendar-header {
        gap: .25rem;
        margin-bottom: 1rem;
    }

    .wh-nav-btn {
        min-height: 36px;
        gap: .15rem;
        padding: .35rem .4rem;
        font-size: .72rem;
    }

    .wh-month-heading h2 {
        font-size: 1rem;
    }

    .wh-month-heading span {
        font-size: .7rem;
    }

    .wh-calendar-grid {
        gap: .25rem;
    }

    .wh-weekdays > div {
        padding: .35rem 0;
        font-size: .63rem;
    }

    .wh-calendar-days {
        grid-auto-rows: minmax(55px, auto);
    }

    .wh-day {
        min-height: 55px;
        gap: .2rem;
        border-radius: 10px;
    }

    .wh-day-number {
        font-size: .88rem;
    }

    .wh-day-status {
        font-size: .55rem;
    }

    .wh-calendar-legend {
        gap: .65rem .8rem;
        margin-top: 1rem;
        padding-top: .8rem;
    }

        .wh-calendar-legend span {
            font-size: .68rem;
        }

    .wh-editor-footer {
        align-items: stretch;
        flex-direction: column;
    }

        .wh-editor-footer p {
            max-width: none;
        }

        .wh-editor-footer .wh-btn {
            width: 100%;
        }

    .wh-range-fields {
        gap: .5rem;
    }

    .wh-time-field input {
        font-size: .8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wh-page *,
    .wh-page *::before,
    .wh-page *::after {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
