/* THERAPIST & COUNSELOR BOOKING — MindCare Design System    */

.therapists-page-header {
    text-align: center;
    padding: 36px 20px 24px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 32px;
}

/* Full-page loader for navigation actions (view profile / booking) */
.page-action-loader {
    position: fixed;
    inset: 0;
    z-index: 120000;
    background: rgba(245, 247, 255, 0.9);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.page-action-loader.open {
    opacity: 1;
    visibility: visible;
}

.page-action-loader-card {
    min-width: 240px;
    border-radius: 16px;
    padding: 18px 20px;
    background: #ffffff;
    border: 1px solid #e4e7f2;
    box-shadow: 0 16px 36px rgba(79, 70, 229, 0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.page-action-loader-spinner {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 3px solid #e6e7ff;
    border-top-color: #4f46e5;
    animation: pageActionLoaderSpin 0.9s linear infinite;
}

.page-action-loader-text {
    margin: 0;
    color: #334155;
    font-size: 0.95rem;
    font-weight: 700;
}

@keyframes pageActionLoaderSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.therapists-page-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--mc-primary-light, #f0fdfa);
    color: var(--mc-primary-dark, #0f766e);
    border: 1px solid var(--mc-primary, #0F766E);
    padding: 4px 14px;
    border-radius: var(--mc-radius-full, 9999px);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
}

.therapists-page-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #262626;
    letter-spacing: -0.6px;
    margin-bottom: 10px;
}

.therapists-page-header p {
    font-size: 0.97rem;
    color: #64748B;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

.therapists-section-title {
    font-size: 0.72rem;
    font-weight: 800;
    color: #64748B;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin: 0 0 20px;
    padding: 0 4px;
}

.therapists-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

@media (min-width: 600px) {
    .therapists-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 900px) {
    .therapists-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.therapist-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.25s ease;
    cursor: pointer;
    animation: fadeInUp 0.4s ease both;
}

.therapist-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(124, 58, 237, 0.12);
}

.therapist-card-sunnie {
    border: 1px solid var(--mc-border, #e2e8f0);
    box-shadow: var(--mc-shadow-sm, 0 1px 3px rgba(0,0,0,0.06));
}

.therapist-card-sunnie .therapist-card-top {
    background: var(--mc-primary-light, #f0fdfa);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Stagger delays */
.therapist-card:nth-child(1)  { animation-delay: 0.05s; }
.therapist-card:nth-child(2)  { animation-delay: 0.10s; }
.therapist-card:nth-child(3)  { animation-delay: 0.15s; }
.therapist-card:nth-child(4)  { animation-delay: 0.20s; }
.therapist-card:nth-child(5)  { animation-delay: 0.25s; }
.therapist-card:nth-child(6)  { animation-delay: 0.30s; }

/* Card top image / avatar area */
.therapist-card-top {
    position: relative;
    height: 110px;
    background: var(--mc-surface-muted, #f8fafc);
    display: flex;
    align-items: center;
    justify-content: center;
}

.therapist-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: var(--mc-shadow-sm, 0 1px 3px rgba(0,0,0,0.06));
    background: var(--mc-primary-light, #f0fdfa);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--mc-primary-dark, #0f766e);
    overflow: hidden;
}

.therapist-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.therapist-avatar-fallback {
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Availability badge on card top-right */
.therapist-availability-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #16a34a;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--mc-radius-full, 9999px);
    letter-spacing: 0.03em;
}

.therapist-availability-badge.busy {
    background: var(--mc-warning, #f59e0b);
}

.therapist-availability-badge.instant {
    background: var(--mc-primary, #0F766E);
}

/* Card body */
.therapist-card-body {
    padding: 14px 14px 14px;
}

.therapist-name {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--mc-text-primary, #0f172a);
    margin: 0 0 2px;
}

.therapist-title {
    font-size: 0.78rem;
    color: var(--mc-primary-dark, #0f766e);
    font-weight: 600;
    margin: 0 0 8px;
}

.therapist-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #166534;
    background: #ecfdf3;
    border: 1px solid #bbf7d0;
    border-radius: var(--mc-radius-full, 9999px);
    padding: 3px 8px;
}

.therapist-specialization {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}

.spec-tag {
    background: var(--mc-primary-light, #f0fdfa);
    color: var(--mc-primary-dark, #0f766e);
    font-size: 0.67rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--mc-radius-full, 9999px);
    letter-spacing: 0.02em;
}

/* Star Rating */
.therapist-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}

.therapist-rating .stars {
    color: #B45309;
    font-size: 0.78rem;
    letter-spacing: 1px;
}

.therapist-rating .rating-value {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--mc-text-primary, #0f172a);
}

.therapist-rating .rating-count {
    font-size: 0.75rem;
    color: var(--mc-text-secondary, #475569);
}

.therapist-experience {
    font-size: 0.78rem;
    color: var(--mc-text-secondary, #475569);
    margin-bottom: 8px;
}

.therapist-experience strong {
    color: var(--mc-text-primary, #0f172a);
}

.therapist-bio {
    font-size: 0.82rem;
    color: var(--mc-text-secondary, #475569);
    line-height: 1.5;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.therapist-card-sunnie .therapist-bio {
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
    overflow: visible;
}

.sunnie-highlight {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--mc-primary-dark, #0f766e);
    background: var(--mc-primary-light, #f0fdfa);
    border: 1px solid var(--mc-primary, #0F766E);
    border-radius: var(--mc-radius-full, 9999px);
    padding: 4px 10px;
    margin-bottom: 10px;
}

.sunnie-disclaimer {
    margin: 0 0 14px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.45;
}

/* Card action buttons */
.therapist-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
}

.therapist-card-actions a {
    text-decoration: none;
}

.therapist-card-actions--dual {
    grid-template-columns: 1fr 1fr;
}

.therapist-card-actions.ai-actions {
    grid-template-columns: 1.35fr 1fr;
}

.btn-call-therapist {
    padding: 8px 6px;
    border-radius: var(--mc-radius-sm, 6px);
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid #16a34a;
    background: transparent;
    color: #16a34a;
    transition: background 0.15s ease;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.btn-call-therapist:hover {
    background: rgba(22, 163, 74, 0.08);
}

.btn-view-profile {
    padding: 8px 6px;
    border-radius: var(--mc-radius-sm, 6px);
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--mc-border, #e2e8f0);
    background: var(--mc-surface, #ffffff);
    color: var(--mc-text-secondary, #475569);
    transition: background 0.15s ease;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.btn-view-profile:hover {
    background: var(--mc-surface-muted, #f8fafc);
}

.btn-view-profile:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-view-profile.is-loading {
    background: var(--mc-surface-muted, #f8fafc);
    pointer-events: none;
}

.therapist-card-empty {
    cursor: default;
}

.therapist-card-empty .therapist-card-body {
    text-align: center;
}

.therapist-status-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(15, 23, 42, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.therapist-status-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.therapist-status-modal {
    position: relative;
    width: min(100%, 460px);
    background: var(--mc-surface, #ffffff);
    border-radius: var(--mc-radius-md, 10px);
    padding: 24px 20px 20px;
    border: 1px solid var(--mc-border, #e2e8f0);
    box-shadow: var(--mc-shadow-modal, 0 20px 25px -5px rgba(0,0,0,0.1));
    text-align: center;
    transform: translateY(10px) scale(0.985);
    transition: transform 0.22s ease;
}

.therapist-status-modal-overlay.open .therapist-status-modal {
    transform: translateY(0) scale(1);
}

.therapist-status-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    border: 1px solid var(--mc-border, #e2e8f0);
    border-radius: var(--mc-radius-sm, 6px);
    background: var(--mc-surface-muted, #f8fafc);
    color: var(--mc-text-secondary, #475569);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease;
}

.therapist-status-close:hover {
    background: var(--mc-border, #e2e8f0);
}

.therapist-status-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--mc-text-primary, #0f172a);
}

.therapist-status-message {
    margin: 8px 0 0;
    color: var(--mc-text-secondary, #475569);
    line-height: 1.5;
    font-size: 0.88rem;
}

.therapist-status-dismiss {
    margin-top: 16px;
    width: 100%;
    border: none;
    border-radius: var(--mc-radius-sm, 6px);
    padding: 10px 12px;
    background: var(--mc-primary, #0F766E);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s ease;
}

.therapist-status-dismiss:hover {
    background: var(--mc-primary-dark, #0f766e);
}

.btn-book-session {
    padding: 8px 6px;
    border-radius: var(--mc-radius-sm, 6px);
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: var(--mc-primary, #0F766E);
    color: #fff;
    transition: background 0.15s ease;
    font-family: inherit;
}

.btn-book-session:hover {
    background: var(--mc-primary-dark, #0f766e);
}

.btn-book-session:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-book-session.is-loading {
    background: var(--mc-primary, #0F766E);
    color: #fff;
    pointer-events: none;
}

.btn-start-sunnie {
    padding: 8px 6px;
    border-radius: var(--mc-radius-sm, 6px);
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: var(--mc-primary, #0F766E);
    color: #fff;
    transition: background 0.15s ease;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-start-sunnie:hover {
    background: var(--mc-primary-dark, #0f766e);
}

/* Mobile responsive card actions */
@media (max-width: 480px) {
    .therapist-card-actions {
        grid-template-columns: 1fr;
    }
    
    .btn-call-therapist,
    .btn-view-profile,
    .btn-book-session,
    .btn-start-sunnie {
        width: 100%;
        justify-content: center;
    }
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 99999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 0;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

@media (min-width: 768px) {
    .modal-overlay {
        align-items: center;
    }
}

.modal-sheet {
    background: #fff;
    width: 100%;
    max-width: 560px;
    max-height: 92vh;
    border-radius: 28px 28px 0 0;
    overflow-y: auto;
    padding: 28px 24px 40px;
    transform: translateY(40px);
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    -webkit-overflow-scrolling: touch;
}

.modal-overlay.open .modal-sheet {
    transform: translateY(0);
}

@media (min-width: 768px) {
    .modal-sheet {
        border-radius: 24px;
        max-height: 88vh;
    }
}

/* Drag handle */
.modal-drag-handle {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: #dbdbdb;
    margin: 0 auto 22px;
}

/* Modal close button */
.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f5f5f5;
    border: none;
    font-size: 1rem;
    color: #636363;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 1;
}

.modal-close-btn:hover {
    background: #ebebeb;
    color: #262626;
}

.profile-modal-header {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 24px;
    position: relative;
}

.profile-modal-avatar {
    width: 80px;
    height: 80px;
    border-radius: var(--mc-radius-md, 10px);
    background: var(--mc-primary-light, #f0fdfa);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--mc-primary-dark, #0f766e);
    flex-shrink: 0;
    overflow: hidden;
}

.profile-modal-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.profile-modal-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: #262626;
    margin: 0 0 4px;
    letter-spacing: -0.3px;
}

.profile-modal-title {
    font-size: 0.85rem;
    color: #7C3AED;
    font-weight: 700;
    margin: 0 0 8px;
}

.profile-modal-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 6px;
}

.profile-modal-rating .stars {
    color: #B45309;
    font-size: 0.82rem;
}

.profile-modal-rating span {
    font-size: 0.8rem;
    color: #64748B;
}

/* Profile sections */
.profile-section {
    margin-bottom: 22px;
}

.profile-section-label {
    font-size: 0.7rem;
    font-weight: 800;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 10px;
}

.profile-section-text {
    font-size: 0.9rem;
    color: #636363;
    line-height: 1.65;
}

/* Qualifications list */
.qualifications-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.qualifications-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.87rem;
    color: #262626;
    font-weight: 500;
}

.qualifications-list li::before {
    content: "✓";
    width: 20px;
    height: 20px;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    flex-shrink: 0;
}

/* Languages tags */
.languages-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lang-tag {
    background: #f5f5f5;
    color: #262626;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 100px;
}

/* Session cost */
.session-cost-box {
    background: rgba(124, 58, 237, 0.06);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.session-cost-box .cost-label {
    font-size: 0.85rem;
    color: #636363;
    font-weight: 500;
}

.session-cost-box .cost-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: #7C3AED;
    letter-spacing: -0.4px;
}

.session-cost-box .cost-per {
    font-size: 0.75rem;
    color: #64748B;
    font-weight: 500;
    display: block;
    text-align: right;
}

/* Availability schedule */
.availability-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.avail-day {
    background: #fafafa;
    border-radius: 12px;
    padding: 10px 8px;
    text-align: center;
    border: 1px solid #f0f0f0;
}

.avail-day.available {
    background: rgba(34, 197, 94, 0.06);
    border-color: rgba(34, 197, 94, 0.2);
}

.avail-day-name {
    font-size: 0.67rem;
    font-weight: 800;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
}

.avail-day.available .avail-day-name {
    color: #22c55e;
}

.avail-day-time {
    font-size: 0.68rem;
    color: #636363;
    line-height: 1.4;
}

.avail-day.unavailable .avail-day-time {
    color: #dbdbdb;
}

/* Book now button in profile modal */
.btn-book-now {
    width: 100%;
    padding: 16px;
    border-radius: 14px;
    background: #7C3AED;
    color: #fff;
    border: none;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.2px;
    font-family: 'Outfit', sans-serif;
    transition: background 0.2s ease, transform 0.15s ease;
    margin-top: 8px;
}

.btn-book-now:hover {
    background: #6d28d9;
    transform: translateY(-1px);
}

.btn-book-now:disabled {
    cursor: not-allowed;
    opacity: 0.85;
    transform: none;
}

.btn-book-now.is-loading {
    background: #7C3AED;
    color: #fff;
    pointer-events: none;
}

.booking-modal-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #262626;
    letter-spacing: -0.3px;
    margin-bottom: 4px;
}

.booking-modal-sub {
    font-size: 0.85rem;
    color: #64748B;
    margin-bottom: 24px;
}

.booking-field {
    margin-bottom: 20px;
}

.booking-field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #262626;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.booking-field input[type="date"] {
    width: 100%;
    padding: 13px 16px;
    border-radius: 12px;
    border: 1.5px solid #dbdbdb;
    font-size: 0.92rem;
    font-family: 'Outfit', sans-serif;
    color: #262626;
    background: #fff;
    outline: none;
    transition: border-color 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.booking-field input[type="time"] {
    width: 100%;
    padding: 13px 16px;
    border-radius: 12px;
    border: 1.5px solid #dbdbdb;
    font-size: 0.92rem;
    font-family: 'Outfit', sans-serif;
    color: #262626;
    background: #fff;
    outline: none;
    transition: border-color 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.booking-field input[type="date"]:focus,
.booking-field input[type="time"]:focus {
    border-color: #7C3AED;
}

.booking-autofill-note {
    margin: 0 0 14px;
    font-size: 0.78rem;
    color: #6b7280;
}

.booking-field input[readonly] {
    background: #f8fafc;
    color: #475569;
    cursor: default;
}

/* Time slot pills */
.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.time-slot-btn {
    padding: 10px 6px;
    border-radius: 10px;
    border: 1.5px solid #dbdbdb;
    background: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    color: #262626;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
    text-align: center;
}

.time-slot-btn:hover {
    border-color: #7C3AED;
    background: rgba(124, 58, 237, 0.04);
    color: #7C3AED;
}

.time-slot-btn.selected {
    border-color: #7C3AED;
    background: rgba(124, 58, 237, 0.1);
    color: #7C3AED;
    font-weight: 700;
}

/* Session type selector */
.session-type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.session-type-btn {
    padding: 14px 8px;
    border-radius: 14px;
    border: 1.5px solid #dbdbdb;
    background: #fff;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.session-type-btn i {
    font-size: 1.3rem;
    color: #64748B;
    transition: color 0.2s ease;
}

.session-type-btn span {
    font-size: 0.75rem;
    font-weight: 700;
    color: #636363;
    transition: color 0.2s ease;
}

.session-type-btn:hover,
.session-type-btn.selected {
    border-color: #7C3AED;
    background: rgba(124, 58, 237, 0.07);
}

.session-type-btn.selected i,
.session-type-btn.selected span {
    color: #7C3AED;
}

/* Confirm button */
.btn-confirm-booking {
    width: 100%;
    padding: 16px;
    border-radius: 14px;
    background: #7C3AED;
    color: #fff;
    border: none;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.2px;
    font-family: 'Outfit', sans-serif;
    transition: background 0.2s ease, transform 0.15s ease;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-confirm-booking:hover {
    background: #6d28d9;
    transform: translateY(-1px);
}

.btn-confirm-booking:disabled {
    background: #dbdbdb;
    cursor: not-allowed;
    transform: none;
}

.btn-confirm-booking.is-loading:disabled {
    background: #7C3AED;
    color: #fff;
    opacity: 0.92;
}

/* Booking success state */
.booking-success {
    text-align: center;
    padding: 24px 0;
}

.booking-success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #22c55e;
    margin: 0 auto 18px;
}

.booking-success h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #262626;
    margin-bottom: 8px;
}

.booking-success p {
    font-size: 0.9rem;
    color: #64748B;
    line-height: 1.5;
}

.booking-summary {
    margin-top: 20px;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 12px;
    text-align: left;
}

.summary-row {
    font-size: 0.85rem;
    color: #636363;
    padding: 6px 0;
    border-bottom: 1px solid #eee;
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-row strong {
    color: #262626;
}

.my-sessions-empty {
    text-align: center;
    padding: 48px 20px;
    background: #fff;
    border-radius: 20px;
    border: 1.5px dashed #dbdbdb;
}

.my-sessions-empty i {
    font-size: 2.5rem;
    color: #dbdbdb;
    margin-bottom: 14px;
    display: block;
}

.my-sessions-empty p {
    font-size: 0.92rem;
    color: #64748B;
    line-height: 1.55;
}

/* Session card */
.session-card {
    background: #fff;
    border-radius: 16px;
    padding: 18px 16px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
    animation: fadeInUp 0.35s ease both;
    transition: box-shadow 0.2s ease;
}

.session-card:hover {
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.1);
}

.session-card-avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--mc-radius-sm, 6px);
    background: var(--mc-primary-light, #f0fdfa);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--mc-primary-dark, #0f766e);
    flex-shrink: 0;
    overflow: hidden;
}

.session-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.session-card-therapist {
    font-size: 0.95rem;
    font-weight: 700;
    color: #262626;
    margin-bottom: 4px;
}

.session-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.session-meta-chip {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: #636363;
    font-weight: 500;
}

.session-meta-chip i {
    font-size: 0.7rem;
    color: #64748B;
}

.session-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.67rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.session-type-badge.video { background: rgba(0, 149, 246, 0.1); color: #0F766E; }
.session-type-badge.chat  { background: rgba(124, 58, 237, 0.1); color: #7C3AED; }
.session-type-badge.physical { background: rgba(34, 197, 94, 0.1); color: #22c55e; }

.btn-cancel-session {
    padding: 7px 14px;
    border-radius: 10px;
    border: 1.5px solid #fee2e2;
    background: #fef2f2;
    color: #ef4444;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    transition: background 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
    align-self: center;
}

.btn-cancel-session:hover {
    background: #fee2e2;
}

.mindcare-toast {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #262626;
    color: #fff;
    padding: 12px 22px;
    border-radius: 100px;
    font-size: 0.88rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 999999;
    white-space: nowrap;
    pointer-events: none;
    font-family: 'Outfit', sans-serif;
}

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

@media (min-width: 768px) {
    .mindcare-toast {
        bottom: 30px;
    }
}

body.dark-mode .therapist-card,
body.dark-mode .session-card {
    background: var(--white, #1e1e1e);
    border-color: #2a2a2a;
}

body.dark-mode .therapist-card-top {
    background: #1e1e2e;
}

body.dark-mode .therapist-name,
body.dark-mode .session-card-therapist,
body.dark-mode .booking-modal-title,
body.dark-mode .profile-modal-name {
    color: var(--slate, #f5f5f5);
}

body.dark-mode .therapist-title,
body.dark-mode .profile-modal-title { color: #a78bfa; }

body.dark-mode .spec-tag {
    background: rgba(167, 139, 250, 0.12);
    color: #a78bfa;
}

body.dark-mode .modal-sheet {
    background: #1a1a1a;
}

body.dark-mode .booking-field input[type="date"] {
    background: #262626;
    border-color: #333;
    color: #f5f5f5;
}

body.dark-mode .booking-field input[type="time"] {
    background: #262626;
    border-color: #333;
    color: #f5f5f5;
}

body.dark-mode .booking-field input[readonly] {
    background: #1f2937;
    color: #cbd5e1;
}

body.dark-mode .time-slot-btn,
body.dark-mode .session-type-btn {
    background: #262626;
    border-color: #333;
    color: #f5f5f5;
}

body.dark-mode .avail-day {
    background: #1e1e1e;
    border-color: #2a2a2a;
}

body.dark-mode .lang-tag {
    background: #2a2a2a;
    color: #f5f5f5;
}

body.dark-mode .mindcare-toast {
    background: #f5f5f5;
    color: #262626;
}

body.dark-mode .my-sessions-empty {
    background: #1e1e1e;
    border-color: #333;
}

body.dark-mode .therapists-page-header {
    border-bottom-color: #2a2a2a;
}

body.dark-mode .profile-modal-title {
    color: #a78bfa;
}

body.dark-mode .session-cost-box {
    background: rgba(167, 139, 250, 0.08);
}

.therapist-contact-info {
    margin-bottom: 14px;
    padding: 10px 12px;
    background: #fafafa;
    border-radius: 10px;
}

.therapist-contact-info .contact-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: #636363;
    margin-bottom: 4px;
}

.therapist-contact-info .contact-row:last-child {
    margin-bottom: 0;
}

.therapist-contact-info .contact-row i {
    color: #7C3AED;
    width: 14px;
    font-size: 0.7rem;
}

.booking-section-title {
    font-size: 0.72rem;
    font-weight: 800;
    color: #64748B;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin: 20px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.booking-field input[type="text"],
.booking-field input[type="email"],
.booking-field input[type="tel"],
.booking-field input[type="time"],
.booking-field textarea {
    width: 100%;
    padding: 13px 16px;
    border-radius: 12px;
    border: 1.5px solid #dbdbdb;
    font-size: 0.92rem;
    font-family: 'Outfit', sans-serif;
    color: #262626;
    background: #fff;
    outline: none;
    transition: border-color 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.booking-field textarea {
    resize: vertical;
    min-height: 80px;
}

.booking-field input:focus,
.booking-field textarea:focus {
    border-color: #7C3AED;
}

.booking-field input::placeholder,
.booking-field textarea::placeholder {
    color: #9ca3af;
}

/* Booking Summary in Success */
.booking-summary {
    background: #fafafa;
    border-radius: 12px;
    padding: 14px;
    margin-top: 16px;
    text-align: left;
}

.booking-summary .summary-row {
    font-size: 0.85rem;
    color: #636363;
    margin-bottom: 6px;
}

.booking-summary .summary-row:last-child {
    margin-bottom: 0;
}

.booking-summary .summary-row strong {
    color: #262626;
}

/* Session Status */
.session-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 100px;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.session-status.pending {
    background: rgba(245, 158, 11, 0.1);
    color: #B45309;
}

.session-status.confirmed {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

/* Profile Contact Details */
.profile-contact-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.87rem;
    color: #636363;
}

.contact-detail-item i {
    color: #7C3AED;
    width: 18px;
    text-align: center;
}

/* Privacy Notice Section */
.privacy-notice-section {
    background: var(--mc-surface-muted, #f8fafc);
    border: 1px solid var(--mc-border, #e2e8f0);
    border-radius: var(--mc-radius-md, 10px);
    padding: 20px;
    margin-top: 32px;
    text-align: center;
}

.privacy-notice-section .privacy-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--mc-radius-sm, 6px);
    background: rgba(22, 163, 74, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.2rem;
    color: #16a34a;
}

.privacy-notice-section h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--mc-text-primary, #0f172a);
    margin: 0 0 6px;
}

.privacy-notice-section p {
    font-size: 0.83rem;
    color: var(--mc-text-secondary, #475569);
    line-height: 1.55;
    margin: 0 auto;
    max-width: 500px;
}

/* Dark mode privacy notice */
body.dark-mode .privacy-notice-section {
    background: rgba(22, 163, 74, 0.06);
    border-color: rgba(22, 163, 74, 0.18);
}

body.dark-mode .privacy-notice-section h3 {
    color: #f5f5f5;
}

body.dark-mode .privacy-notice-section p {
    color: #a3a3a3;
}

/* Loading state for booking button */
.btn-confirm-booking .fa-spin {
    animation: fa-spin 1s linear infinite;
}
