/* ── Therapists — list & detail pages ── */

.therapist-page-header {
    position: relative;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    margin-bottom: 2rem;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 249, 255, 0.95) 100%);
    border: 1px solid rgba(78, 97, 211, 0.12);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.therapist-page-header::before {
    content: "";
    position: absolute;
    inset: 0 0 0 auto;
    width: 4px;
    background: linear-gradient(180deg, var(--brand-primary), var(--brand-secondary));
    border-radius: 4px 0 0 4px;
}

.therapist-page-header__top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.therapist-page-header__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.therapist-page-header__actions .btn {
    border-radius: 0.75rem;
    font-weight: 600;
}

.weekly-schedule-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    max-width: min(24rem, 100%);
}

.weekly-schedule-cta__btn {
    border: none;
    border-radius: 0.95rem;
    padding: 0.85rem 1.05rem;
    font-weight: 800;
    letter-spacing: -0.2px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, #6f83ff 100%);
    box-shadow:
        0 10px 24px -14px rgba(78, 97, 211, 0.75),
        0 0 0 1px rgba(78, 97, 211, 0.12);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: right;
    --cta-nudge-x: 6px;
    transform: translateX(var(--cta-nudge-x));
}

.weekly-schedule-cta__btn-icon {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    flex: 0 0 2.6rem;
}

.weekly-schedule-cta__btn-icon i {
    font-size: 1.2rem;
    line-height: 1;
}

.weekly-schedule-cta__btn-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.weekly-schedule-cta__btn-title {
    font-size: 1.02rem;
    font-weight: 900;
    line-height: 1.25;
}

.weekly-schedule-cta__btn-subtitle {
    font-size: 0.78rem;
    font-weight: 600;
    opacity: 0.92;
    line-height: 1.5;
    margin-top: 0.1rem;
}

.weekly-schedule-cta__btn::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.35), transparent 55%);
    opacity: 0.85;
    z-index: -1;
}

.weekly-schedule-cta__btn:hover,
.weekly-schedule-cta__btn:focus {
    background: linear-gradient(135deg, #4355c4 0%, var(--brand-primary) 100%);
    box-shadow:
        0 14px 30px -16px rgba(78, 97, 211, 0.85),
        0 0 0 1px rgba(78, 97, 211, 0.16);
    transform: translate(var(--cta-nudge-x), -1px);
}

.weekly-schedule-cta__btn:focus-visible {
    outline: none;
    box-shadow:
        0 14px 30px -16px rgba(78, 97, 211, 0.85),
        0 0 0 3px rgba(78, 97, 211, 0.22);
}

@media (prefers-reduced-motion: no-preference) {
    .weekly-schedule-cta__btn {
        transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    }
}

@media (max-width: 575.98px) {
    .weekly-schedule-cta {
        align-items: stretch;
        max-width: 100%;
    }

    .weekly-schedule-cta__btn {
        width: 100%;
        justify-content: center;
    }
}

.therapist-page-header__lead {
    color: var(--text-secondary);
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    line-height: 1.8;
    margin: 0.75rem 0 0;
    max-width: 38rem;
}

/* Summary stats */
.therapist-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
    margin-bottom: 1.75rem;
}

.therapist-stat {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background: var(--surface);
    border: 1px solid rgba(78, 97, 211, 0.1);
    box-shadow: var(--shadow-soft);
}

.therapist-stat__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.7rem;
    background: linear-gradient(135deg, rgba(78, 97, 211, 0.12), rgba(111, 131, 255, 0.08));
    color: var(--brand-primary);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.therapist-stat__value {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--brand-secondary);
    line-height: 1.2;
}

.therapist-stat__label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-top: 0.1rem;
}

/* Specialization chips */
.therapist-spec-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    padding: 1.1rem 1.25rem;
    margin-bottom: 1.75rem;
    border-radius: 1rem;
    background: var(--surface);
    border: 1px solid rgba(78, 97, 211, 0.1);
    box-shadow: var(--shadow-soft);
}

.therapist-spec-chips__label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-secondary);
    width: 100%;
    margin-bottom: 0.35rem;
}

.therapist-spec-chips__label i {
    color: var(--brand-primary);
}

.therapist-spec-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(78, 97, 211, 0.18);
    color: var(--brand-secondary);
    background: rgba(78, 97, 211, 0.04);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.therapist-spec-chip:hover {
    background: rgba(78, 97, 211, 0.1);
    border-color: rgba(78, 97, 211, 0.3);
    color: var(--brand-primary);
}

.therapist-spec-chip--active {
    background: linear-gradient(135deg, var(--brand-primary), #6f83ff);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 16px -8px rgba(78, 97, 211, 0.55);
}

.therapist-spec-chip--active:hover {
    color: #fff;
    transform: translateY(-1px);
}

/* Sidebar panel */
.therapist-sidebar-panel {
    border-radius: 1.15rem;
    border: 1px solid rgba(78, 97, 211, 0.12);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.therapist-sidebar-panel--search {
    overflow: visible;
    position: relative;
    z-index: 10;
}

.therapist-sidebar-panel--search .therapist-sidebar-panel__body {
    overflow: visible;
}

.therapist-sidebar-panel--sticky {
    position: sticky;
    top: 1.25rem;
}

.therapist-sidebar-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(78, 97, 211, 0.06) 0%, rgba(247, 249, 255, 0.9) 100%);
    border-bottom: 1px solid rgba(78, 97, 211, 0.08);
}

.therapist-sidebar-panel__title {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand-secondary);
    margin: 0;
}

.therapist-sidebar-panel__title i {
    color: var(--brand-primary);
}

.therapist-sidebar-panel__body {
    padding: 1.25rem;
}

.therapist-sidebar-panel__body .form-control,
.therapist-sidebar-panel__body .form-select {
    border-radius: 0.75rem;
}

.therapist-sidebar-panel__body .btn {
    border-radius: 0.75rem;
    font-weight: 600;
}

/* Search dropdown */
.therapist-search-wrap {
    position: relative;
}

#therapist-search-dropdown {
    z-index: 1050;
    top: 100%;
    max-height: 320px;
    overflow: auto;
    border-radius: 0.85rem;
    border: 1px solid rgba(78, 97, 211, 0.12);
    box-shadow: 0 16px 40px -20px rgba(31, 42, 90, 0.35);
    background-color: #fff;
}

#therapist-search-dropdown .list-group-item {
    border-color: rgba(78, 97, 211, 0.06);
    padding: 0.75rem 1rem;
    background-color: #fff;
    transition: background-color 0.15s ease;
}

#therapist-search-dropdown .list-group-item:hover,
#therapist-search-dropdown .list-group-item:focus {
    background-color: #e7f1ff !important;
    color: inherit;
}

/* List cards */
.therapist-card {
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    border-radius: 1.15rem !important;
}

.therapist-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px -28px rgba(31, 42, 90, 0.42);
}

.therapist-card__media-wrap {
    position: relative;
}

.therapist-card__media-link {
    display: block;
    overflow: hidden;
}

.therapist-card__media {
    width: 100%;
    height: 14rem;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.therapist-card:hover .therapist-card__media {
    transform: scale(1.04);
}

.therapist-card__media--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 14rem;
    background:
        radial-gradient(circle at 20% 30%, rgba(78, 97, 211, 0.14), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(111, 131, 255, 0.12), transparent 45%),
        linear-gradient(135deg, #eef2ff 0%, #f8fafc 100%);
    color: var(--brand-primary);
    font-size: 4rem;
}

.therapist-card__badges {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    left: 0.75rem;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.35rem;
    z-index: 2;
    pointer-events: none;
}

.therapist-card__badges .badge {
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.72rem;
    padding: 0.3rem 0.6rem;
    box-shadow: 0 4px 12px -4px rgba(31, 42, 90, 0.2);
}

.therapist-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.15rem 1.25rem 0.75rem;
}

.therapist-card__degree {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: 0.35rem;
}

.therapist-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.55;
    margin-bottom: 0.5rem;
}

.therapist-card__title a {
    color: var(--brand-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.therapist-card__title a:hover {
    color: var(--brand-primary);
}

.therapist-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.65rem;
}

.therapist-card__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    background: rgba(78, 97, 211, 0.06);
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
}

.therapist-card__tag i {
    color: var(--brand-primary);
    font-size: 0.8rem;
}

.therapist-card__excerpt {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.75;
    margin-bottom: 0.85rem;
    flex: 1;
}

.therapist-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.therapist-card__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.therapist-card__meta-item i {
    color: var(--brand-primary);
}

.therapist-card__footer {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 0.85rem 1.25rem 1.15rem;
    border-top: 1px solid rgba(78, 97, 211, 0.08);
    margin-top: auto;
}

.therapist-card__price {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--brand-secondary);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.therapist-card__price i {
    color: var(--brand-primary);
}

.therapist-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.therapist-card__actions .btn {
    flex: 1;
    min-width: fit-content;
    font-weight: 600;
    border-radius: 0.65rem;
    font-size: 0.82rem;
}

/* Empty state */
.therapist-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    border-radius: 1.15rem;
    background: var(--surface);
    border: 1px dashed rgba(78, 97, 211, 0.2);
}

.therapist-empty__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background: rgba(78, 97, 211, 0.1);
    color: var(--brand-primary);
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Active filters banner */
.therapist-active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
    border-radius: 0.85rem;
    background: rgba(78, 97, 211, 0.06);
    border: 1px solid rgba(78, 97, 211, 0.1);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.therapist-active-filters strong {
    color: var(--brand-secondary);
}

/* ── Detail page ── */

.therapist-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
}

.therapist-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.therapist-breadcrumb a:hover {
    color: var(--brand-primary);
}

.therapist-breadcrumb__sep {
    color: rgba(107, 114, 128, 0.5);
}

.therapist-breadcrumb__current {
    color: var(--brand-secondary);
    font-weight: 500;
}

.therapist-profile {
    border-radius: 1.25rem;
    border: 1px solid rgba(78, 97, 211, 0.1);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.therapist-profile__hero {
    display: grid;
    grid-template-columns: minmax(10rem, 14rem) 1fr;
    gap: 1.5rem;
    padding: clamp(1.25rem, 3vw, 2rem);
    background:
        radial-gradient(circle at 0% 0%, rgba(78, 97, 211, 0.08), transparent 45%),
        radial-gradient(circle at 100% 100%, rgba(111, 131, 255, 0.06), transparent 40%),
        linear-gradient(135deg, rgba(247, 249, 255, 0.95) 0%, #fff 100%);
    border-bottom: 1px solid rgba(78, 97, 211, 0.08);
}

.therapist-profile__photo {
    position: relative;
}

.therapist-profile__photo img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 16px 40px -20px rgba(31, 42, 90, 0.45);
    display: block;
}

.therapist-profile__photo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3 / 4;
    border-radius: 1rem;
    background:
        radial-gradient(circle at 30% 30%, rgba(78, 97, 211, 0.14), transparent 50%),
        linear-gradient(135deg, #eef2ff 0%, #f8fafc 100%);
    color: var(--brand-primary);
    font-size: 5rem;
    box-shadow: 0 16px 40px -20px rgba(31, 42, 90, 0.25);
}

.therapist-profile__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.therapist-profile__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.75rem;
}

.therapist-profile__name {
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 800;
    color: var(--brand-secondary);
    line-height: 1.4;
    margin-bottom: 0.65rem;
}

.therapist-profile__subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.therapist-profile__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.therapist-profile__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(78, 97, 211, 0.08);
    color: var(--brand-secondary);
    border: 1px solid rgba(78, 97, 211, 0.12);
}

.therapist-profile__chip i {
    color: var(--brand-primary);
}

.therapist-profile__body {
    padding: clamp(1.25rem, 3vw, 1.75rem);
}

.therapist-profile__section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-secondary);
    margin-bottom: 1rem;
}

.therapist-profile__section-title i {
    color: var(--brand-primary);
}

.therapist-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.therapist-info-item {
    padding: 0.85rem 1rem;
    border-radius: 0.85rem;
    background: rgba(78, 97, 211, 0.04);
    border: 1px solid rgba(78, 97, 211, 0.08);
}

.therapist-info-item--full {
    grid-column: 1 / -1;
}

.therapist-info-item__label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
}

.therapist-info-item__label i {
    color: var(--brand-primary);
}

.therapist-info-item__value {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--brand-secondary);
    line-height: 1.6;
}

.therapist-info-item__value a {
    text-decoration: none;
}

.therapist-bio {
    font-size: 1rem;
    line-height: 1.95;
    text-align: justify;
    color: var(--text-primary);
}

.therapist-bio p {
    margin-bottom: 1rem;
}

/* Sidebar cards (detail) */
.therapist-sidebar-card {
    border-radius: 1.15rem;
    border: 1px solid rgba(78, 97, 211, 0.12);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.therapist-sidebar-card__header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(78, 97, 211, 0.06) 0%, rgba(247, 249, 255, 0.9) 100%);
    border-bottom: 1px solid rgba(78, 97, 211, 0.08);
}

.therapist-sidebar-card__header i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.55rem;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    color: #fff;
    font-size: 0.95rem;
}

.therapist-sidebar-card__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand-secondary);
    margin: 0;
}

.therapist-sidebar-card__body {
    padding: 1.25rem;
}

.therapist-sidebar-card__body .btn {
    border-radius: 0.75rem;
    font-weight: 600;
}

.therapist-stat-ring {
    text-align: center;
    padding: 0.5rem 0 1rem;
}

.therapist-stat-ring__value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.therapist-stat-ring__label {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin: 0;
}

.therapist-stat-mini {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    text-align: center;
}

.therapist-stat-mini__item {
    padding: 0.75rem;
    border-radius: 0.75rem;
    background: rgba(78, 97, 211, 0.05);
}

.therapist-stat-mini__value {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.therapist-stat-mini__value--success { color: #059669; }
.therapist-stat-mini__value--warning { color: #d97706; }

.therapist-stat-mini__label {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Booking schedule */
.therapist-schedule-section {
    border-radius: 1.25rem;
    border: 1px solid rgba(78, 97, 211, 0.1);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    margin-top: 1.5rem;
}

.therapist-schedule-section__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1.15rem 1.5rem;
    background: linear-gradient(135deg, rgba(78, 97, 211, 0.06) 0%, rgba(247, 249, 255, 0.9) 100%);
    border-bottom: 1px solid rgba(78, 97, 211, 0.08);
}

.therapist-schedule-section__title {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-secondary);
    margin: 0;
}

.therapist-schedule-section__title i {
    color: var(--brand-primary);
}

.therapist-schedule-section__body {
    padding: 1.25rem 1.5rem 1.5rem;
}

.therapist-schedule-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.25rem;
    padding: 0.85rem 1rem;
    border-radius: 0.85rem;
    background: rgba(78, 97, 211, 0.05);
    border: 1px solid rgba(78, 97, 211, 0.08);
    margin-bottom: 1.25rem;
    font-size: 0.82rem;
}

.therapist-schedule-legend__item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-secondary);
}

.therapist-schedule-legend__dot {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.therapist-schedule-legend__dot--available { background: #059669; }
.therapist-schedule-legend__dot--booked { background: #dc2626; }
.therapist-schedule-legend__dot--past { background: #9ca3af; }
.therapist-schedule-legend__dot--off { background: #d1d5db; }

.therapist-day-card {
    height: 100%;
    border-radius: 1rem;
    border: 1px solid rgba(78, 97, 211, 0.1);
    background: var(--surface);
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.therapist-day-card:hover {
    box-shadow: 0 12px 28px -18px rgba(31, 42, 90, 0.25);
}

.therapist-day-card--working {
    border-color: rgba(5, 150, 105, 0.25);
}

.therapist-day-card--off {
    opacity: 0.75;
}

.therapist-day-card__header {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(78, 97, 211, 0.06);
}

.therapist-day-card--working .therapist-day-card__header {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.08), rgba(5, 150, 105, 0.02));
}

.therapist-day-card__day {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--brand-secondary);
    margin: 0;
}

.therapist-day-card__date {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.therapist-day-card__body {
    padding: 0.85rem 1rem 1rem;
}

.therapist-day-card__stats {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
    font-size: 0.75rem;
}

.therapist-day-card__stats span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: rgba(78, 97, 211, 0.06);
    color: var(--text-secondary);
}

.therapist-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.therapist-slot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.5rem;
    padding: 0.3rem 0.55rem;
    border-radius: 0.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    border: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.therapist-slot--available {
    background: linear-gradient(135deg, #059669, #10b981);
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.therapist-slot--available:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px -6px rgba(5, 150, 105, 0.55);
    color: #fff;
}

.therapist-slot--booked {
    background: rgba(220, 38, 38, 0.12);
    color: #dc2626;
}

.therapist-slot--past {
    background: rgba(156, 163, 175, 0.15);
    color: #6b7280;
}

.therapist-day-card__empty {
    text-align: center;
    padding: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* Related content */
.therapist-related {
    margin-top: 1.5rem;
}

.therapist-related-card {
    height: 100%;
    border-radius: 1.15rem;
    border: 1px solid rgba(78, 97, 211, 0.1);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.therapist-related-card__header {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(78, 97, 211, 0.06) 0%, rgba(247, 249, 255, 0.9) 100%);
    border-bottom: 1px solid rgba(78, 97, 211, 0.08);
}

.therapist-related-card__header i {
    color: var(--brand-primary);
}

.therapist-related-card__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand-secondary);
    margin: 0;
}

.therapist-related-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.therapist-related-list__item {
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid rgba(78, 97, 211, 0.06);
    transition: background 0.15s ease;
}

.therapist-related-list__item:last-child {
    border-bottom: none;
}

.therapist-related-list__item:hover {
    background: rgba(78, 97, 211, 0.04);
}

.therapist-related-list__link {
    display: block;
    font-weight: 600;
    color: var(--brand-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.therapist-related-list__link:hover {
    color: var(--brand-primary);
}

.therapist-related-list__meta {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-top: 0.2rem;
}

/* Staff reservations table */
.therapist-reservations-table {
    margin: 0;
}

.therapist-reservations-table thead th {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand-secondary);
    border-bottom-width: 1px;
    background: rgba(78, 97, 211, 0.04);
}

.therapist-reservations-table tbody td {
    font-size: 0.88rem;
    vertical-align: middle;
}

@media (max-width: 767.98px) {
    .therapist-stats {
        grid-template-columns: 1fr;
    }

    .therapist-profile__hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .therapist-profile__photo {
        max-width: 12rem;
        margin: 0 auto;
    }

    .therapist-profile__chips {
        justify-content: center;
    }

    .therapist-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .therapist-card__media,
    .therapist-card__media--placeholder {
        height: 12rem;
    }
}
