/* /Components/Layout/AdminLayout.razor.rz.scp.css */
/* ===== AdminLayout — Dark Navy Sidebar Theme ===== */

.admin-layout[b-mqng2wyo5d] {
    display: flex;
    min-height: 100vh;
    font-family: 'Inter', 'Manrope', 'Helvetica', 'Arial', sans-serif;
    background: #f1f5f9;
}

/* ===== SIDEBAR ===== */
.admin-sidebar[b-mqng2wyo5d] {
    width: 260px;
    min-width: 260px;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    padding: 24px 16px 20px;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

/* Brand */
.admin-brand[b-mqng2wyo5d] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 8px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 20px;
}

.admin-brand-icon[b-mqng2wyo5d] {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0ea5e9, #06b6d4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

.admin-brand-title[b-mqng2wyo5d] {
    display: flex;
    flex-direction: column;
    font-weight: 700;
    font-size: 16px;
    color: #f8fafc;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.admin-brand-title span:last-child[b-mqng2wyo5d] {
    font-weight: 400;
    font-size: 13px;
    color: #94a3b8;
}

/* Nav links */
.admin-nav[b-mqng2wyo5d] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.admin-nav-link[b-mqng2wyo5d] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.15s ease;
    position: relative;
}

.admin-nav-link:hover[b-mqng2wyo5d] {
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
}

.admin-nav-link.active[b-mqng2wyo5d] {
    background: rgba(14, 165, 233, 0.12);
    color: #38bdf8;
    font-weight: 600;
}

.admin-nav-link .material-symbols-outlined[b-mqng2wyo5d] {
    font-size: 20px;
}

/* Badge for pending items */
.admin-badge[b-mqng2wyo5d] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: #f59e0b;
    color: #0f172a;
    font-size: 11px;
    font-weight: 700;
    margin-left: auto;
}

/* Nav button (logout) */
.admin-nav-btn[b-mqng2wyo5d] {
    width: 100%;
    border: none;
    background: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.admin-sidebar-spacer[b-mqng2wyo5d] {
    flex: 1;
}

.admin-nav-bottom[b-mqng2wyo5d] {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 8px;
    margin-top: 8px;
}

/* User card at bottom */
.admin-sidebar-user[b-mqng2wyo5d] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 12px;
    margin-top: 12px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
}

.admin-user-avatar[b-mqng2wyo5d] {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0ea5e9, #06b6d4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}

.admin-user-info[b-mqng2wyo5d] {
    flex: 1;
    overflow: hidden;
}

.admin-user-name[b-mqng2wyo5d] {
    font-size: 13px;
    font-weight: 600;
    color: #e2e8f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-user-role[b-mqng2wyo5d] {
    font-size: 11px;
    color: #64748b;
}

/* ===== CONTENT WRAPPER ===== */
.admin-content-wrapper[b-mqng2wyo5d] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ===== TOP BAR ===== */
.admin-topbar[b-mqng2wyo5d] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 40px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.admin-topbar-title h1[b-mqng2wyo5d] {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
}

.admin-topbar-right[b-mqng2wyo5d] {
    display: flex;
    align-items: center;
    gap: 20px;
}

.admin-topbar-date[b-mqng2wyo5d] {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.admin-date-label[b-mqng2wyo5d] {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
}

.admin-date-value[b-mqng2wyo5d] {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    text-transform: capitalize;
}

/* ===== MAIN CONTENT ===== */
.admin-main[b-mqng2wyo5d] {
    flex: 1;
    padding: 32px 40px;
    overflow-y: auto;
}

/* Shared admin component styles are in app.css (not scoped) */
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-g353p5g4hh] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-g353p5g4hh] {
    flex: 1;
}

.sidebar[b-g353p5g4hh] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-g353p5g4hh] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-g353p5g4hh]  a, .top-row[b-g353p5g4hh]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-g353p5g4hh]  a:hover, .top-row[b-g353p5g4hh]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-g353p5g4hh]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-g353p5g4hh] {
        justify-content: space-between;
    }

    .top-row[b-g353p5g4hh]  a, .top-row[b-g353p5g4hh]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-g353p5g4hh] {
        flex-direction: row;
    }

    .sidebar[b-g353p5g4hh] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-g353p5g4hh] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-g353p5g4hh]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-g353p5g4hh], article[b-g353p5g4hh] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-g353p5g4hh] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-g353p5g4hh] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-yyl8cpuqgn] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-yyl8cpuqgn] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-yyl8cpuqgn] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-yyl8cpuqgn] {
    font-size: 1.1rem;
}

.bi[b-yyl8cpuqgn] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-yyl8cpuqgn] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-yyl8cpuqgn] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-yyl8cpuqgn] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.bi-lock-nav-menu[b-yyl8cpuqgn] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.bi-person-nav-menu[b-yyl8cpuqgn] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z'/%3E%3C/svg%3E");
}

.bi-person-badge-nav-menu[b-yyl8cpuqgn] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-badge' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M4.5 0A2.5 2.5 0 0 0 2 2.5V14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2.5A2.5 2.5 0 0 0 11.5 0h-7zM3 2.5A1.5 1.5 0 0 1 4.5 1h7A1.5 1.5 0 0 1 13 2.5v10.795a4.2 4.2 0 0 0-.776-.492C11.392 12.387 10.063 12 8 12s-3.392.387-4.224.803a4.2 4.2 0 0 0-.776.492V2.5z'/%3E%3C/svg%3E");
}

.bi-person-fill-nav-menu[b-yyl8cpuqgn] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

.bi-arrow-bar-left-nav-menu[b-yyl8cpuqgn] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-arrow-bar-left' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5ZM10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5Z'/%3E%3C/svg%3E");
}

.nav-item[b-yyl8cpuqgn] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-yyl8cpuqgn] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-yyl8cpuqgn] {
        padding-bottom: 1rem;
    }

    .nav-item[b-yyl8cpuqgn]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-yyl8cpuqgn]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-yyl8cpuqgn]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-yyl8cpuqgn] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-yyl8cpuqgn] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-yyl8cpuqgn] {
        display: none;
    }

    .nav-scrollable[b-yyl8cpuqgn] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Pages/PatientDashboard.razor.rz.scp.css */
/* ===== Patient Dashboard — Page-Specific CSS ===== */
/* Shared sidebar/layout/nav styles are now in global app.css */

/* ===== GREETING ===== */
.greeting h1[b-p43rj8zo2d] {
    font-size: 28px;
    font-weight: 700;
    color: var(--ag-text);
    margin: 0 0 4px;
}

.greeting p[b-p43rj8zo2d] {
    color: var(--ag-text-muted);
    font-size: 15px;
    margin: 0 0 32px;
}

/* ===== UPCOMING SESSION CARD ===== */
.upcoming-card[b-p43rj8zo2d] {
    display: flex;
    border-radius: var(--ag-radius-xl);
    overflow: hidden;
    box-shadow: var(--ag-shadow-md);
    margin-bottom: 40px;
    background: var(--ag-surface);
    border: 1px solid var(--ag-border);
}

.upcoming-card .therapist-photo[b-p43rj8zo2d] {
    width: 280px;
    min-height: 260px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--ag-border), var(--ag-border-hover));
}

.upcoming-card .card-body[b-p43rj8zo2d] {
    flex: 1;
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-label[b-p43rj8zo2d] {
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: var(--ag-sage);
    margin-bottom: 10px;
}

.therapist-name[b-p43rj8zo2d] {
    font-size: 22px;
    font-weight: 700;
    color: var(--ag-text);
}

.session-date-badge[b-p43rj8zo2d] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--ag-bg-hover);
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 13px;
    color: var(--ag-text-muted);
    margin-left: 14px;
    font-weight: 500;
}

.session-date-badge .material-symbols-outlined[b-p43rj8zo2d] {
    font-size: 16px;
}

.session-description[b-p43rj8zo2d] {
    font-size: 14px;
    color: var(--ag-text-muted);
    line-height: 1.6;
    margin-top: 10px;
}

/* Countdown */
.countdown-row[b-p43rj8zo2d] {
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin-top: 16px;
}

.countdown-item[b-p43rj8zo2d] {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-value[b-p43rj8zo2d] {
    font-size: 36px;
    font-weight: 800;
    color: var(--ag-text);
    line-height: 1;
}

.countdown-label[b-p43rj8zo2d] {
    font-size: 11px;
    color: var(--ag-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.countdown-suffix[b-p43rj8zo2d] {
    font-size: 13px;
    color: var(--ag-text-muted);
    align-self: center;
}

/* Join Button */
.join-btn[b-p43rj8zo2d] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--ag-sage), var(--ag-sage-hover));
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.2s ease;
    width: 100%;
    font-family: inherit;
}

.join-btn:hover[b-p43rj8zo2d] {
    background: linear-gradient(135deg, var(--ag-sage-hover), var(--ag-sage-dark));
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(141, 170, 145, 0.4);
}

.join-btn .material-symbols-outlined[b-p43rj8zo2d] {
    font-size: 20px;
}

/* ===== EMPTY STATE ===== */
.empty-state[b-p43rj8zo2d] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.empty-state-icon[b-p43rj8zo2d] {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ag-sage), #b8d4bc);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}

.empty-state-icon .material-symbols-outlined[b-p43rj8zo2d] {
    font-size: 56px;
    color: #fff;
}

.empty-state h2[b-p43rj8zo2d] {
    font-size: 24px;
    font-weight: 700;
    color: var(--ag-text);
    margin: 0 0 12px;
}

.empty-state p[b-p43rj8zo2d] {
    font-size: 15px;
    color: var(--ag-text-muted);
    max-width: 480px;
    margin: 0 0 8px;
    line-height: 1.6;
}

.empty-state-features[b-p43rj8zo2d] {
    display: flex;
    gap: 32px;
    margin: 28px 0 36px;
}

.feature-item[b-p43rj8zo2d] {
    text-align: center;
}

.feature-item .material-symbols-outlined[b-p43rj8zo2d] {
    font-size: 28px;
    color: var(--ag-sage);
}

.feature-item .feature-title[b-p43rj8zo2d] {
    font-weight: 700;
    font-size: 14px;
    color: var(--ag-text);
    margin-top: 4px;
}

.feature-item .feature-desc[b-p43rj8zo2d] {
    font-size: 12px;
    color: var(--ag-text-muted);
}

.find-therapist-btn[b-p43rj8zo2d] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--ag-sage), var(--ag-sage-hover));
    color: #fff;
    border: none;
    border-radius: var(--ag-radius-lg);
    padding: 14px 48px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: inherit;
}

.find-therapist-btn:hover[b-p43rj8zo2d] {
    background: linear-gradient(135deg, var(--ag-sage-hover), var(--ag-sage-dark));
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(141, 170, 145, 0.4);
}

/* ===== PREVIOUS SESSIONS TABLE ===== */
.sessions-header[b-p43rj8zo2d] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.sessions-header h2[b-p43rj8zo2d] {
    font-size: 18px;
    font-weight: 700;
    color: var(--ag-text);
    margin: 0;
}

.sessions-header a[b-p43rj8zo2d] {
    font-size: 13px;
    color: var(--ag-sage);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s;
}

.sessions-header a:hover[b-p43rj8zo2d] {
    color: var(--ag-sage-dark);
}

.prev-sessions-table[b-p43rj8zo2d] {
    width: 100%;
    border-collapse: collapse;
    background: var(--ag-surface);
    border-radius: var(--ag-radius-lg);
    overflow: hidden;
    box-shadow: var(--ag-shadow-sm);
    border: 1px solid var(--ag-border);
}

.prev-sessions-table th[b-p43rj8zo2d] {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ag-text-muted);
    padding: 14px 18px;
    border-bottom: 2px solid var(--ag-border);
    text-align: left;
    background: var(--ag-bg-subtle);
}

.prev-sessions-table td[b-p43rj8zo2d] {
    padding: 14px 18px;
    font-size: 14px;
    color: var(--ag-text);
    border-bottom: 1px solid var(--ag-bg-hover);
}

.prev-sessions-table tr:last-child td[b-p43rj8zo2d] {
    border-bottom: none;
}

.prev-sessions-table tr:hover td[b-p43rj8zo2d] {
    background: var(--ag-bg-subtle);
}

.therapist-cell[b-p43rj8zo2d] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.therapist-cell .avatar-sm[b-p43rj8zo2d] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ag-sage), #b8d4bc);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 11px;
}

.download-btn[b-p43rj8zo2d] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--ag-radius);
    border: 1px solid var(--ag-border);
    background: var(--ag-surface);
    color: var(--ag-text-muted);
    cursor: pointer;
    transition: all 0.15s;
}

.download-btn:hover[b-p43rj8zo2d] {
    background: var(--ag-bg-hover);
    color: var(--ag-text);
}

.no-sessions-notice[b-p43rj8zo2d] {
    padding: 20px;
    background: var(--ag-surface);
    border: 1px solid var(--ag-border);
    border-radius: var(--ag-radius-lg);
    color: var(--ag-text-muted);
    font-size: 14px;
    text-align: center;
}

/* ===== CANCEL / RESCHEDULE ACTIONS ===== */
.cancel-actions[b-p43rj8zo2d] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--ag-border);
}

.cancel-btn[b-p43rj8zo2d] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(211, 47, 47, 0.06);
    color: #c0392b;
    border: 1px solid rgba(211, 47, 47, 0.18);
    border-radius: var(--ag-radius);
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.cancel-btn:hover[b-p43rj8zo2d] {
    background: rgba(211, 47, 47, 0.12);
    border-color: rgba(211, 47, 47, 0.3);
    transform: translateY(-1px);
}

.cancel-btn .material-symbols-outlined[b-p43rj8zo2d] {
    font-size: 18px;
}

.reschedule-btn[b-p43rj8zo2d] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 152, 0, 0.06);
    color: #e67e22;
    border: 1px solid rgba(255, 152, 0, 0.2);
    border-radius: var(--ag-radius);
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.reschedule-btn:hover[b-p43rj8zo2d] {
    background: rgba(255, 152, 0, 0.12);
    border-color: rgba(255, 152, 0, 0.35);
    transform: translateY(-1px);
}

.reschedule-btn .material-symbols-outlined[b-p43rj8zo2d] {
    font-size: 18px;
}

.cancel-hint[b-p43rj8zo2d] {
    font-size: 12px;
    color: var(--ag-text-muted);
    font-style: italic;
}

/* Status badges for session history */
.status-badge[b-p43rj8zo2d] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-cancelled[b-p43rj8zo2d] {
    background: rgba(211, 47, 47, 0.06);
    color: #c0392b;
    border: 1px solid rgba(211, 47, 47, 0.15);
}

.status-refunded[b-p43rj8zo2d] {
    background: rgba(141, 170, 145, 0.1);
    color: var(--ag-sage-dark);
    border: 1px solid rgba(141, 170, 145, 0.25);
}

/* ===== CREDIT BALANCE BANNER ===== */
.credit-banner[b-p43rj8zo2d] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.06), rgba(255, 193, 7, 0.08));
    border: 1px solid rgba(255, 152, 0, 0.2);
    border-radius: var(--ag-radius-lg);
    margin-bottom: 24px;
}

.credit-banner-icon[b-p43rj8zo2d] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 152, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.credit-banner-icon .material-symbols-outlined[b-p43rj8zo2d] {
    font-size: 22px;
    color: #e67e22;
}

.credit-banner-content[b-p43rj8zo2d] {
    display: flex;
    flex-direction: column;
}

.credit-banner-content strong[b-p43rj8zo2d] {
    font-size: 15px;
    color: var(--ag-text);
}

.credit-banner-content span[b-p43rj8zo2d] {
    font-size: 13px;
    color: var(--ag-text-muted);
    margin-top: 2px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .upcoming-card[b-p43rj8zo2d] {
        flex-direction: column;
    }

    .upcoming-card .therapist-photo[b-p43rj8zo2d] {
        width: 100%;
        height: 180px;
    }

    .empty-state-features[b-p43rj8zo2d] {
        flex-direction: column;
        gap: 16px;
    }
}
/* /Components/Pages/PatientProfile.razor.rz.scp.css */
/* ===== Patient Profile — Page-Specific CSS ===== */

/* ===== HEADER ===== */
.profile-header h1[b-y9ffbr5heq] {
    font-size: 28px;
    font-weight: 700;
    color: var(--ag-text);
    margin: 0 0 4px;
}

.profile-header p[b-y9ffbr5heq] {
    color: var(--ag-text-muted);
    font-size: 15px;
    margin: 0 0 32px;
}

/* ===== PROFILE CARD ===== */
.profile-card[b-y9ffbr5heq] {
    background: var(--ag-surface);
    border: 1px solid var(--ag-border);
    border-radius: var(--ag-radius-xl);
    padding: 28px 32px;
    margin-bottom: 24px;
    box-shadow: var(--ag-shadow-sm);
}

.card-title[b-y9ffbr5heq] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--ag-text);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--ag-border);
}

.card-title .material-symbols-outlined[b-y9ffbr5heq] {
    font-size: 22px;
    color: var(--ag-sage);
}

/* ===== SUCCESS BANNER ===== */
.success-banner[b-y9ffbr5heq] {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--ag-sage-light);
    color: var(--ag-sage-dark);
    border: 1px solid var(--ag-sage);
    border-radius: var(--ag-radius);
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    animation: fadeIn-b-y9ffbr5heq 0.3s ease;
}

.success-banner .material-symbols-outlined[b-y9ffbr5heq] {
    font-size: 20px;
}

@keyframes fadeIn-b-y9ffbr5heq {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== FORM GRID (2-column for personal data) ===== */
.form-grid[b-y9ffbr5heq] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-stack[b-y9ffbr5heq] {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ===== FORM GROUP ===== */
.form-group label[b-y9ffbr5heq] {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ag-text);
    margin-bottom: 6px;
    letter-spacing: 0.2px;
}

.field-hint[b-y9ffbr5heq] {
    display: block;
    font-size: 11px;
    color: var(--ag-text-muted);
    margin-top: 4px;
}

/* ===== INPUT WRAPPER ===== */
.input-wrapper[b-y9ffbr5heq] {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon[b-y9ffbr5heq] {
    position: absolute;
    left: 12px;
    font-size: 18px;
    color: var(--ag-text-muted);
    pointer-events: none;
    z-index: 1;
}

.input-wrapper input[b-y9ffbr5heq],
.input-wrapper select[b-y9ffbr5heq] {
    width: 100%;
    padding: 11px 14px 11px 42px;
    border: 1px solid var(--ag-border);
    border-radius: var(--ag-radius);
    font-size: 14px;
    font-family: var(--ag-font);
    color: var(--ag-text);
    background: var(--ag-surface);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    outline: none;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.input-wrapper input:focus[b-y9ffbr5heq],
.input-wrapper select:focus[b-y9ffbr5heq] {
    border-color: var(--ag-sage);
    box-shadow: 0 0 0 3px rgba(141, 170, 145, 0.15);
}

.input-wrapper input:disabled[b-y9ffbr5heq] {
    background: var(--ag-bg-hover);
    color: var(--ag-text-muted);
    cursor: not-allowed;
}

.input-wrapper.locked .input-icon[b-y9ffbr5heq] {
    color: var(--ag-text-muted);
}

.input-wrapper select[b-y9ffbr5heq] {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%23636e72' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

/* ===== TEXTAREA ===== */
textarea[b-y9ffbr5heq] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--ag-border);
    border-radius: var(--ag-radius);
    font-size: 14px;
    font-family: var(--ag-font);
    color: var(--ag-text);
    background: var(--ag-surface);
    resize: vertical;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
    line-height: 1.5;
}

textarea:focus[b-y9ffbr5heq] {
    border-color: var(--ag-sage);
    box-shadow: 0 0 0 3px rgba(141, 170, 145, 0.15);
}

textarea[b-y9ffbr5heq]::placeholder {
    color: var(--ag-text-muted);
    opacity: 0.7;
}

/* ===== CHIP CONTAINER ===== */
.chip-container[b-y9ffbr5heq] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip[b-y9ffbr5heq] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    font-family: var(--ag-font);
    cursor: pointer;
    transition: all 0.15s ease;
    border: 1px solid var(--ag-border);
    background: var(--ag-bg-subtle);
    color: var(--ag-text-muted);
}

.chip:hover[b-y9ffbr5heq] {
    border-color: var(--ag-sage);
    color: var(--ag-text);
    background: var(--ag-sage-light);
}

.chip-selected[b-y9ffbr5heq] {
    background: var(--ag-sage);
    color: #fff;
    border-color: var(--ag-sage);
}

.chip-selected:hover[b-y9ffbr5heq] {
    background: var(--ag-sage-hover);
    color: #fff;
    border-color: var(--ag-sage-hover);
}

.chip-icon[b-y9ffbr5heq] {
    font-size: 14px !important;
}

/* ===== RADIO GROUP ===== */
.radio-group[b-y9ffbr5heq] {
    display: flex;
    gap: 12px;
}

.radio-option[b-y9ffbr5heq] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 1px solid var(--ag-border);
    border-radius: var(--ag-radius);
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 14px;
    font-weight: 500;
    color: var(--ag-text-muted);
    flex: 1;
    justify-content: center;
}

.radio-option:hover[b-y9ffbr5heq] {
    border-color: var(--ag-sage);
    color: var(--ag-text);
    background: var(--ag-sage-light);
}

.radio-option input[type="radio"][b-y9ffbr5heq] {
    display: none;
}

.radio-selected[b-y9ffbr5heq] {
    background: var(--ag-sage-light);
    border-color: var(--ag-sage);
    color: var(--ag-sage-dark);
    font-weight: 600;
}

.radio-option .material-symbols-outlined[b-y9ffbr5heq] {
    font-size: 18px;
}

/* ===== CARD ACTIONS ===== */
.card-actions[b-y9ffbr5heq] {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--ag-border);
}

/* ===== SAVE BUTTON ===== */
.btn-save[b-y9ffbr5heq] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--ag-sage), var(--ag-sage-hover));
    color: #fff;
    border: none;
    border-radius: var(--ag-radius);
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--ag-font);
}

.btn-save:hover:not(:disabled)[b-y9ffbr5heq] {
    background: linear-gradient(135deg, var(--ag-sage-hover), var(--ag-sage-dark));
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(141, 170, 145, 0.4);
}

.btn-save:disabled[b-y9ffbr5heq] {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-save .material-symbols-outlined[b-y9ffbr5heq] {
    font-size: 18px;
}

/* ===== SPINNING ===== */
.spinning[b-y9ffbr5heq] {
    animation: ag-spin 0.8s linear infinite;
}

/* ===== DANGER ZONE ===== */
.danger-zone[b-y9ffbr5heq] {
    background: #fef8f6;
    border: 1px solid #f0d5ce;
    border-radius: var(--ag-radius-xl);
    padding: 24px 28px;
    margin-top: 16px;
    margin-bottom: 40px;
}

.danger-header[b-y9ffbr5heq] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #c0392b;
    margin-bottom: 8px;
}

.danger-header .material-symbols-outlined[b-y9ffbr5heq] {
    font-size: 20px;
    color: #c0392b;
}

.danger-zone>p[b-y9ffbr5heq] {
    font-size: 14px;
    color: #7a6560;
    margin: 0 0 16px;
    line-height: 1.5;
}

.btn-delete[b-y9ffbr5heq] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1.5px solid #c0392b;
    border-radius: var(--ag-radius);
    background: transparent;
    color: #c0392b;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: var(--ag-font);
}

.btn-delete:hover[b-y9ffbr5heq] {
    background: #c0392b;
    color: #fff;
}

.btn-delete .material-symbols-outlined[b-y9ffbr5heq] {
    font-size: 18px;
}

/* ===== DELETE CONFIRMATION ===== */
.delete-confirm[b-y9ffbr5heq] {
    background: #fff;
    border: 1px solid #f0d5ce;
    border-radius: var(--ag-radius);
    padding: 16px 20px;
    animation: fadeIn-b-y9ffbr5heq 0.2s ease;
}

.confirm-text[b-y9ffbr5heq] {
    font-size: 14px;
    font-weight: 500;
    color: #c0392b;
    margin: 0 0 14px;
}

.confirm-actions[b-y9ffbr5heq] {
    display: flex;
    gap: 10px;
}

.btn-cancel[b-y9ffbr5heq] {
    display: inline-flex;
    align-items: center;
    padding: 9px 20px;
    border: 1px solid var(--ag-border);
    border-radius: var(--ag-radius);
    background: var(--ag-surface);
    color: var(--ag-text-muted);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: var(--ag-font);
}

.btn-cancel:hover[b-y9ffbr5heq] {
    background: var(--ag-bg-hover);
    color: var(--ag-text);
}

.btn-delete-confirm[b-y9ffbr5heq] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    border: none;
    border-radius: var(--ag-radius);
    background: #c0392b;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: var(--ag-font);
}

.btn-delete-confirm:hover:not(:disabled)[b-y9ffbr5heq] {
    background: #a93226;
}

.btn-delete-confirm:disabled[b-y9ffbr5heq] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .form-grid[b-y9ffbr5heq] {
        grid-template-columns: 1fr;
    }

    .radio-group[b-y9ffbr5heq] {
        flex-direction: column;
    }

    .profile-card[b-y9ffbr5heq] {
        padding: 20px;
    }
}
/* /Components/Pages/SessionNote.razor.rz.scp.css */
/* ===== Session Note — Split-Screen Layout ===== */

.loading-container[b-tbng94yueh] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.loading-spinner[b-tbng94yueh] {
    width: 40px;
    height: 40px;
    border: 3px solid var(--ag-border, #e0ddd5);
    border-top-color: var(--ag-sage, #8daa91);
    border-radius: 50%;
    animation: spin-b-tbng94yueh 0.8s linear infinite;
}

@keyframes spin-b-tbng94yueh {
    to {
        transform: rotate(360deg);
    }
}

/* ===== ERROR ===== */
.note-error[b-tbng94yueh] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
    gap: 12px;
    text-align: center;
}

.note-error .material-symbols-outlined[b-tbng94yueh] {
    font-size: 48px;
    color: var(--ag-sage, #8daa91);
}

.note-error p[b-tbng94yueh] {
    font-size: 15px;
    color: var(--ag-text-muted);
    margin: 0;
}

/* ===== SPLIT LAYOUT ===== */
.note-layout[b-tbng94yueh] {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

/* ===== LEFT: NOTE EDITOR (60%) ===== */
.note-editor[b-tbng94yueh] {
    flex: 6;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Session header */
.session-header[b-tbng94yueh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--ag-surface);
    border: 1px solid var(--ag-border);
    border-radius: var(--ag-radius-lg);
    padding: 20px 24px;
    box-shadow: var(--ag-shadow-sm);
    flex-wrap: wrap;
    gap: 16px;
}

.session-date[b-tbng94yueh] {
    font-size: 18px;
    font-weight: 700;
    color: var(--ag-text);
    text-transform: capitalize;
    margin-bottom: 6px;
}

.session-time-row[b-tbng94yueh] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.session-time[b-tbng94yueh] {
    font-size: 14px;
    font-weight: 600;
    color: var(--ag-sage-dark);
}

.badge[b-tbng94yueh] {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-session-type[b-tbng94yueh] {
    background: var(--ag-bg);
    color: var(--ag-text-muted);
    border: 1px solid var(--ag-border);
}

.session-patient-chip[b-tbng94yueh] {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--ag-sage-light);
    border-radius: 28px;
    padding: 8px 18px 8px 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ag-text);
}

.avatar-sm[b-tbng94yueh] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--ag-sage);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

/* ===== TAG SELECTOR ===== */
.tag-selector[b-tbng94yueh] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tag-chips[b-tbng94yueh] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-chip[b-tbng94yueh] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--ag-border);
    background: var(--ag-surface);
    color: var(--ag-text-muted);
    cursor: pointer;
    font-family: var(--ag-font);
    transition: all 0.15s ease;
}

.tag-chip:hover[b-tbng94yueh] {
    border-color: var(--ag-sage);
    color: var(--ag-sage-dark);
    background: rgba(141, 170, 145, 0.06);
}

.tag-chip-active[b-tbng94yueh] {
    background: var(--ag-sage);
    color: #fff;
    border-color: var(--ag-sage);
}

.tag-chip-active:hover[b-tbng94yueh] {
    background: var(--ag-sage-dark);
    border-color: var(--ag-sage-dark);
    color: #fff;
}

.tag-chip .material-symbols-outlined[b-tbng94yueh] {
    font-size: 15px;
}

/* ===== EDITOR AREA ===== */
.editor-area[b-tbng94yueh] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.editor-label[b-tbng94yueh] {
    font-size: 14px;
    font-weight: 600;
    color: var(--ag-text);
}

.editor-textarea[b-tbng94yueh] {
    height: 120px;
    field-sizing: content;
    max-height: 60vh;
    padding: 18px 20px;
    border: 1px solid var(--ag-border);
    border-radius: var(--ag-radius-lg);
    font-family: var(--ag-font);
    font-size: 15px;
    line-height: 1.7;
    color: var(--ag-text);
    background: var(--ag-surface);
    resize: vertical;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.editor-textarea:focus[b-tbng94yueh] {
    border-color: var(--ag-sage);
    box-shadow: 0 0 0 3px rgba(141, 170, 145, 0.15);
}

.editor-textarea[b-tbng94yueh]::placeholder {
    color: var(--ag-text-muted);
    opacity: 0.6;
}

/* Encryption badge */
.encryption-badge[b-tbng94yueh] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--ag-text-muted);
    padding: 6px 0;
}

.encryption-badge .material-symbols-outlined[b-tbng94yueh] {
    font-size: 14px;
    color: var(--ag-sage);
}

/* ===== EDITOR ACTIONS ===== */
.editor-actions[b-tbng94yueh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px solid var(--ag-border);
    flex-wrap: wrap;
    gap: 12px;
}

.save-status[b-tbng94yueh] {
    font-size: 13px;
    font-weight: 500;
}

.status-saved[b-tbng94yueh] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ag-sage-dark);
}

.status-saved .material-symbols-outlined[b-tbng94yueh] {
    font-size: 16px;
}

.status-unsaved[b-tbng94yueh] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #e67e22;
}

.dot-unsaved[b-tbng94yueh] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e67e22;
}

.status-saving[b-tbng94yueh] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ag-text-muted);
}

.spinning[b-tbng94yueh] {
    animation: spin-b-tbng94yueh 1s linear infinite;
}

.action-buttons[b-tbng94yueh] {
    display: flex;
    gap: 12px;
}

.btn-back[b-tbng94yueh] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--ag-text-muted);
    border: 1px solid var(--ag-border);
    border-radius: var(--ag-radius);
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--ag-font);
    transition: all 0.2s ease;
}

.btn-back:hover[b-tbng94yueh] {
    background: var(--ag-bg);
    color: var(--ag-text);
}

.btn-back .material-symbols-outlined[b-tbng94yueh] {
    font-size: 18px;
}

.btn-save[b-tbng94yueh] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ag-sage);
    color: #fff;
    border: none;
    border-radius: var(--ag-radius);
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--ag-font);
    transition: all 0.2s ease;
}

.btn-save:hover:not(:disabled)[b-tbng94yueh] {
    background: var(--ag-sage-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(141, 170, 145, 0.35);
}

.btn-save:disabled[b-tbng94yueh] {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-save .material-symbols-outlined[b-tbng94yueh] {
    font-size: 18px;
}

/* ===== RIGHT: PATIENT HISTORY (40%) ===== */
.note-history[b-tbng94yueh] {
    flex: 4;
    display: flex;
    flex-direction: column;
    background: var(--ag-surface);
    border: 1px solid var(--ag-border);
    border-radius: var(--ag-radius-lg);
    overflow: hidden;
    max-height: calc(100vh - 120px);
}

.history-header[b-tbng94yueh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--ag-border);
    flex-shrink: 0;
}

.history-header h3[b-tbng94yueh] {
    font-size: 16px;
    font-weight: 700;
    color: var(--ag-text);
    margin: 0;
}

.history-count[b-tbng94yueh] {
    background: var(--ag-sage-light);
    color: var(--ag-sage-dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

/* ===== HISTORY TIMELINE ===== */
.history-timeline[b-tbng94yueh] {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.history-card[b-tbng94yueh] {
    padding: 16px 18px;
    border-radius: var(--ag-radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease;
    border-left: 3px solid transparent;
}

.history-card:hover[b-tbng94yueh] {
    background: var(--ag-bg);
    border-color: var(--ag-border);
}

.history-card-active[b-tbng94yueh] {
    background: rgba(141, 170, 145, 0.08);
    border-left-color: var(--ag-sage) !important;
    border-color: rgba(141, 170, 145, 0.2);
}

.history-card-active:hover[b-tbng94yueh] {
    background: rgba(141, 170, 145, 0.12);
}

.history-card-header[b-tbng94yueh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.history-date[b-tbng94yueh] {
    font-size: 14px;
    font-weight: 600;
    color: var(--ag-text);
    text-transform: capitalize;
}

.history-time[b-tbng94yueh] {
    font-size: 13px;
    font-weight: 500;
    color: var(--ag-text-muted);
}

.badge-history-type[b-tbng94yueh] {
    background: var(--ag-bg);
    color: var(--ag-text-muted);
    border: 1px solid var(--ag-border);
    margin-bottom: 8px;
    display: inline-flex;
}

.history-preview[b-tbng94yueh] {
    font-size: 13px;
    line-height: 1.5;
    color: var(--ag-text-muted);
    margin: 8px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.history-empty[b-tbng94yueh] {
    font-style: italic;
    opacity: 0.6;
}

.history-active-indicator[b-tbng94yueh] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--ag-sage-dark);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.history-active-indicator .material-symbols-outlined[b-tbng94yueh] {
    font-size: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .note-layout[b-tbng94yueh] {
        flex-direction: column;
    }

    .note-history[b-tbng94yueh] {
        max-height: 400px;
    }
}
/* /Components/Pages/SessionRoom.razor.rz.scp.css */
/* ===== Session Room — Virtual Waiting Room ===== */

.room-overlay[b-hbfg9bvra3] {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 16px;
    gap: 24px;
}

/* ===== LOADING ===== */
.loading-container[b-hbfg9bvra3] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.loading-spinner[b-hbfg9bvra3] {
    width: 40px;
    height: 40px;
    border: 3px solid var(--ag-border);
    border-top-color: var(--ag-sage);
    border-radius: 50%;
    animation: spin-b-hbfg9bvra3 0.8s linear infinite;
}

@keyframes spin-b-hbfg9bvra3 {
    to {
        transform: rotate(360deg);
    }
}

/* ===== MAIN CARD ===== */
.room-card[b-hbfg9bvra3] {
    width: 100%;
    max-width: 560px;
    background: var(--ag-surface);
    border-radius: var(--ag-radius-xl);
    border: 1px solid var(--ag-border);
    box-shadow: var(--ag-shadow-md);
    overflow: hidden;
}

/* Header */
.room-header[b-hbfg9bvra3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    border-bottom: 1px solid var(--ag-border);
}

.room-header-left[b-hbfg9bvra3] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.room-header-left .material-symbols-outlined[b-hbfg9bvra3] {
    font-size: 24px;
    color: var(--ag-sage);
}

.room-header-left h1[b-hbfg9bvra3] {
    font-size: 18px;
    font-weight: 700;
    color: var(--ag-text);
    margin: 0;
}

.room-close[b-hbfg9bvra3] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--ag-radius);
    color: var(--ag-text-muted);
    text-decoration: none;
    transition: all 0.15s;
}

.room-close:hover[b-hbfg9bvra3] {
    background: var(--ag-bg-hover);
    color: var(--ag-text);
}

/* Session Info */
.session-info[b-hbfg9bvra3] {
    padding: 24px 28px;
    border-bottom: 1px solid var(--ag-border);
}

.therapist-badge[b-hbfg9bvra3] {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.therapist-avatar[b-hbfg9bvra3] {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ag-sage), #b8d4bc);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
}

.therapist-details .therapist-name[b-hbfg9bvra3] {
    font-size: 17px;
    font-weight: 700;
    color: var(--ag-text);
}

.therapist-details .therapist-spec[b-hbfg9bvra3] {
    font-size: 13px;
    color: var(--ag-text-muted);
    margin-top: 2px;
}

.session-meta[b-hbfg9bvra3] {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.meta-item[b-hbfg9bvra3] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--ag-bg-subtle);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 13px;
    color: var(--ag-text-muted);
    font-weight: 500;
}

.meta-item .material-symbols-outlined[b-hbfg9bvra3] {
    font-size: 16px;
    color: var(--ag-sage);
}

/* Status Area */
.status-area[b-hbfg9bvra3] {
    padding: 40px 28px;
    text-align: center;
}

.status-icon[b-hbfg9bvra3] {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.status-icon .material-symbols-outlined[b-hbfg9bvra3] {
    font-size: 36px;
}

.status-icon.waiting[b-hbfg9bvra3] {
    background: rgba(141, 170, 145, 0.1);
    color: var(--ag-sage);
}

.status-icon.ready[b-hbfg9bvra3] {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
}

.status-icon.ended[b-hbfg9bvra3] {
    background: rgba(141, 170, 145, 0.1);
    color: var(--ag-sage);
}

.status-icon.warning[b-hbfg9bvra3] {
    background: rgba(255, 152, 0, 0.1);
    color: #e67e22;
}

/* Pulse animation for "Ready" state */
.status-icon.pulse[b-hbfg9bvra3] {
    animation: pulse-ring-b-hbfg9bvra3 2s ease-in-out infinite;
}

@keyframes pulse-ring-b-hbfg9bvra3 {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.3);
    }

    50% {
        box-shadow: 0 0 0 16px rgba(76, 175, 80, 0);
    }
}

.status-title[b-hbfg9bvra3] {
    font-size: 20px;
    font-weight: 700;
    color: var(--ag-text);
    margin: 0 0 8px;
}

.status-desc[b-hbfg9bvra3] {
    font-size: 14px;
    color: var(--ag-text-muted);
    margin: 0 0 24px;
    line-height: 1.6;
}

/* Countdown Grid */
.countdown-grid[b-hbfg9bvra3] {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.countdown-block[b-hbfg9bvra3] {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 64px;
    padding: 14px 12px;
    background: var(--ag-bg-subtle);
    border-radius: var(--ag-radius-lg);
    border: 1px solid var(--ag-border);
}

.countdown-num[b-hbfg9bvra3] {
    font-size: 32px;
    font-weight: 800;
    color: var(--ag-text);
    line-height: 1;
}

.countdown-unit[b-hbfg9bvra3] {
    font-size: 11px;
    color: var(--ag-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
    font-weight: 600;
}

/* Countdown inline (for Ready state) */
.countdown-inline[b-hbfg9bvra3] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(76, 175, 80, 0.06);
    border: 1px solid rgba(76, 175, 80, 0.15);
    border-radius: 20px;
    font-size: 14px;
    color: #388e3c;
    font-weight: 500;
}

.countdown-inline.active[b-hbfg9bvra3] {
    background: rgba(76, 175, 80, 0.1);
    border-color: rgba(76, 175, 80, 0.25);
    font-weight: 600;
}

.countdown-inline .material-symbols-outlined[b-hbfg9bvra3] {
    font-size: 16px;
    color: #4caf50;
}

/* Footer */
.room-footer[b-hbfg9bvra3] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    border-top: 1px solid var(--ag-border);
}

.join-btn[b-hbfg9bvra3] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 28px;
    border-radius: var(--ag-radius-lg);
    border: none;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: inherit;
    background: linear-gradient(135deg, #4caf50, #388e3c);
    color: #fff;
}

.join-btn:hover:not(.disabled)[b-hbfg9bvra3] {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
    color: #fff;
}

.join-btn.disabled[b-hbfg9bvra3] {
    background: var(--ag-bg-hover);
    color: var(--ag-text-muted);
    cursor: not-allowed;
    font-weight: 500;
    font-size: 14px;
}

.join-btn .material-symbols-outlined[b-hbfg9bvra3] {
    font-size: 22px;
}

.back-link[b-hbfg9bvra3] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--ag-text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s;
}

.back-link:hover[b-hbfg9bvra3] {
    color: var(--ag-sage);
}

.back-link .material-symbols-outlined[b-hbfg9bvra3] {
    font-size: 18px;
}

/* Error */
.room-error[b-hbfg9bvra3] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 28px;
    text-align: center;
    gap: 12px;
}

.room-error .material-symbols-outlined[b-hbfg9bvra3] {
    font-size: 48px;
    color: #c0392b;
}

.room-error h2[b-hbfg9bvra3] {
    font-size: 18px;
    font-weight: 600;
    color: var(--ag-text);
    margin: 0;
}

/* ===== TIPS CARD ===== */
.tips-card[b-hbfg9bvra3] {
    width: 100%;
    max-width: 560px;
    background: var(--ag-surface);
    border-radius: var(--ag-radius-xl);
    border: 1px solid var(--ag-border);
    padding: 24px 28px;
    box-shadow: var(--ag-shadow-sm);
}

.tips-card h3[b-hbfg9bvra3] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--ag-text);
    margin: 0 0 16px;
}

.tips-card h3 .material-symbols-outlined[b-hbfg9bvra3] {
    font-size: 20px;
    color: var(--ag-sage);
}

.tips-grid[b-hbfg9bvra3] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.tip[b-hbfg9bvra3] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--ag-bg-subtle);
    border-radius: var(--ag-radius);
    font-size: 13px;
    color: var(--ag-text-muted);
    font-weight: 500;
}

.tip .material-symbols-outlined[b-hbfg9bvra3] {
    font-size: 20px;
    color: var(--ag-sage);
    flex-shrink: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
    .room-overlay[b-hbfg9bvra3] {
        padding: 16px 12px;
    }

    .countdown-grid[b-hbfg9bvra3] {
        gap: 10px;
    }

    .countdown-block[b-hbfg9bvra3] {
        min-width: 56px;
        padding: 10px 8px;
    }

    .countdown-num[b-hbfg9bvra3] {
        font-size: 24px;
    }

    .tips-grid[b-hbfg9bvra3] {
        grid-template-columns: 1fr;
    }

    .session-meta[b-hbfg9bvra3] {
        flex-direction: column;
        gap: 8px;
    }
}
/* /Components/Pages/TherapistPatientCard.razor.rz.scp.css */
/* ===== Therapist Patient Card — Page-Specific CSS ===== */

/* ===== LOADING ===== */
.loading-container[b-twur4wlzfn] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.loading-spinner[b-twur4wlzfn] {
    width: 40px;
    height: 40px;
    border: 3px solid var(--ag-border, #e0ddd5);
    border-top-color: var(--ag-sage, #8daa91);
    border-radius: 50%;
    animation: spin-b-twur4wlzfn 0.8s linear infinite;
}

@keyframes spin-b-twur4wlzfn {
    to {
        transform: rotate(360deg);
    }
}

/* ===== ERROR STATE ===== */
.error-state[b-twur4wlzfn] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 64px 20px;
    background: var(--ag-surface, #fff);
    border: 1px solid var(--ag-border, #e0ddd5);
    border-radius: var(--ag-radius-lg, 12px);
    text-align: center;
    gap: 12px;
}

.error-state .material-symbols-outlined[b-twur4wlzfn] {
    font-size: 48px;
    color: #e57373;
}

.error-state p[b-twur4wlzfn] {
    font-size: 15px;
    color: var(--ag-text-muted, #7f8c8d);
    margin: 0;
    max-width: 400px;
}

/* ===== BACK BUTTON BAR ===== */
.card-header-bar[b-twur4wlzfn] {
    margin-bottom: 20px;
}

.btn-back[b-twur4wlzfn] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid var(--ag-border, #e0ddd5);
    border-radius: var(--ag-radius, 8px);
    background: var(--ag-surface, #fff);
    color: var(--ag-text-muted, #7f8c8d);
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-back:hover[b-twur4wlzfn] {
    background: var(--ag-sage-light, #e8f0e9);
    color: var(--ag-sage-dark, #6b8a6f);
    border-color: var(--ag-sage, #8daa91);
}

.btn-back .material-symbols-outlined[b-twur4wlzfn] {
    font-size: 18px;
}

/* ===== PROFILE HEADER ===== */
.profile-header[b-twur4wlzfn] {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--ag-surface, #fff);
    border: 1px solid var(--ag-border, #e0ddd5);
    border-radius: var(--ag-radius-lg, 12px);
    padding: 28px 32px;
    margin-bottom: 24px;
}

.profile-avatar[b-twur4wlzfn] {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ag-sage, #8daa91), var(--ag-sage-dark, #6b8a6f));
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(107, 138, 111, 0.25);
}

.profile-info[b-twur4wlzfn] {
    flex: 1;
}

.profile-name[b-twur4wlzfn] {
    font-size: 24px;
    font-weight: 800;
    color: var(--ag-text, #2c3e50);
    margin: 0 0 8px 0;
    letter-spacing: -0.3px;
}

.profile-details[b-twur4wlzfn] {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.detail-item[b-twur4wlzfn] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--ag-text-muted, #7f8c8d);
}

.detail-item .material-symbols-outlined[b-twur4wlzfn] {
    font-size: 16px;
    color: var(--ag-sage, #8daa91);
}

.detail-support-id[b-twur4wlzfn] {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 12px;
    background: var(--ag-bg-hover, #f0ede6);
    padding: 3px 10px;
    border-radius: 6px;
    color: var(--ag-text, #2c3e50);
    font-weight: 600;
}

.profile-status[b-twur4wlzfn] {
    flex-shrink: 0;
}

.status-badge[b-twur4wlzfn] {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.status-badge.active[b-twur4wlzfn] {
    background: #e8f5e9;
    color: #2e7d32;
}

.status-badge.archived[b-twur4wlzfn] {
    background: var(--ag-bg-hover, #f0ede6);
    color: var(--ag-text-muted, #7f8c8d);
}

/* ===== STATS ROW ===== */
.stats-row[b-twur4wlzfn] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card[b-twur4wlzfn] {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--ag-surface, #fff);
    border: 1px solid var(--ag-border, #e0ddd5);
    border-radius: var(--ag-radius-lg, 12px);
    padding: 20px 22px;
    transition: box-shadow 0.15s;
}

.stat-card:hover[b-twur4wlzfn] {
    box-shadow: var(--ag-shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.06));
}

.stat-icon[b-twur4wlzfn] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--ag-sage-light, #e8f0e9);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon .material-symbols-outlined[b-twur4wlzfn] {
    font-size: 22px;
    color: var(--ag-sage-dark, #6b8a6f);
}

.stat-content[b-twur4wlzfn] {
    flex: 1;
    min-width: 0;
}

.stat-value[b-twur4wlzfn] {
    font-size: 18px;
    font-weight: 800;
    color: var(--ag-text, #2c3e50);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-label[b-twur4wlzfn] {
    font-size: 11px;
    font-weight: 500;
    color: var(--ag-text-muted, #7f8c8d);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-top: 2px;
}

/* ===== CONTENT GRID (2 columns) ===== */
.content-grid[b-twur4wlzfn] {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 24px;
}

/* ===== SECTION CARD ===== */
.section-card[b-twur4wlzfn] {
    background: var(--ag-surface, #fff);
    border: 1px solid var(--ag-border, #e0ddd5);
    border-radius: var(--ag-radius-lg, 12px);
    padding: 24px 28px;
}

.section-title[b-twur4wlzfn] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--ag-text, #2c3e50);
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--ag-border, #e0ddd5);
}

.section-title .material-symbols-outlined[b-twur4wlzfn] {
    font-size: 22px;
    color: var(--ag-sage, #8daa91);
}

.history-count[b-twur4wlzfn] {
    margin-left: auto;
    font-size: 12px;
    font-weight: 500;
    color: var(--ag-text-muted, #7f8c8d);
    background: var(--ag-bg-hover, #f0ede6);
    padding: 3px 10px;
    border-radius: 12px;
}

/* ===== PREFERENCES ===== */
.pref-grid[b-twur4wlzfn] {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.pref-item[b-twur4wlzfn] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pref-label[b-twur4wlzfn] {
    font-size: 11px;
    font-weight: 600;
    color: var(--ag-text-muted, #7f8c8d);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.pref-value[b-twur4wlzfn] {
    font-size: 14px;
    font-weight: 600;
    color: var(--ag-text, #2c3e50);
}

.pref-tags[b-twur4wlzfn] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pref-tag[b-twur4wlzfn] {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 16px;
    background: var(--ag-sage-light, #e8f0e9);
    color: var(--ag-sage-dark, #6b8a6f);
    font-size: 12px;
    font-weight: 600;
}

.pref-notes-text[b-twur4wlzfn] {
    font-weight: 400;
    line-height: 1.6;
    background: var(--ag-bg-hover, #f0ede6);
    padding: 12px 16px;
    border-radius: var(--ag-radius, 8px);
    font-size: 13px;
}

.empty-pref[b-twur4wlzfn] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 16px;
    text-align: center;
    gap: 8px;
}

.empty-pref .material-symbols-outlined[b-twur4wlzfn] {
    font-size: 36px;
    color: var(--ag-sage, #8daa91);
    opacity: 0.5;
}

.empty-pref p[b-twur4wlzfn] {
    font-size: 13px;
    color: var(--ag-text-muted, #7f8c8d);
    margin: 0;
}

/* ===== SESSION TIMELINE ===== */
.session-timeline[b-twur4wlzfn] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.session-item[b-twur4wlzfn] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border-radius: var(--ag-radius, 8px);
    cursor: pointer;
    transition: all 0.12s ease;
    border: 1px solid transparent;
}

.session-item:hover[b-twur4wlzfn] {
    background: var(--ag-sage-light, #e8f0e9);
    border-color: var(--ag-border, #e0ddd5);
}

.session-date-col[b-twur4wlzfn] {
    min-width: 110px;
}

.session-day[b-twur4wlzfn] {
    font-size: 14px;
    font-weight: 700;
    color: var(--ag-text, #2c3e50);
}

.session-month[b-twur4wlzfn] {
    font-size: 11px;
    color: var(--ag-text-muted, #7f8c8d);
    text-transform: capitalize;
}

.session-time-col[b-twur4wlzfn] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--ag-text, #2c3e50);
    font-weight: 500;
    min-width: 130px;
}

.session-time-col .material-symbols-outlined[b-twur4wlzfn] {
    font-size: 16px;
    color: var(--ag-sage, #8daa91);
}

.session-status-col[b-twur4wlzfn] {
    min-width: 100px;
}

.session-status-badge[b-twur4wlzfn] {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.status-completed[b-twur4wlzfn] {
    background: #e8f5e9;
    color: #2e7d32;
}

.status-scheduled[b-twur4wlzfn] {
    background: #e3f2fd;
    color: #1565c0;
}

.status-confirmed[b-twur4wlzfn] {
    background: #e0f2f1;
    color: #00695c;
}

.status-in-progress[b-twur4wlzfn] {
    background: #fff3e0;
    color: #e65100;
}

.status-cancelled[b-twur4wlzfn] {
    background: #fce4ec;
    color: #c62828;
}

.status-no-show[b-twur4wlzfn] {
    background: #fff8e1;
    color: #f57f17;
}

.status-pending[b-twur4wlzfn] {
    background: var(--ag-bg-hover, #f0ede6);
    color: var(--ag-text-muted, #7f8c8d);
}

.session-tags-col[b-twur4wlzfn] {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    min-width: 0;
}

.session-type-tag[b-twur4wlzfn] {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    background: var(--ag-bg-hover, #f0ede6);
    color: var(--ag-text, #2c3e50);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.session-note-col[b-twur4wlzfn] {
    flex-shrink: 0;
}

.note-indicator[b-twur4wlzfn] {
    display: flex;
    align-items: center;
}

.note-indicator .material-symbols-outlined[b-twur4wlzfn] {
    font-size: 20px;
}

.has-note .material-symbols-outlined[b-twur4wlzfn] {
    color: var(--ag-sage, #8daa91);
}

.no-note .material-symbols-outlined[b-twur4wlzfn] {
    color: var(--ag-border, #e0ddd5);
}

.session-arrow-col[b-twur4wlzfn] {
    flex-shrink: 0;
}

.session-arrow-col .material-symbols-outlined[b-twur4wlzfn] {
    font-size: 20px;
    color: var(--ag-text-muted, #7f8c8d);
    transition: transform 0.15s;
}

.session-item:hover .session-arrow-col .material-symbols-outlined[b-twur4wlzfn] {
    transform: translateX(3px);
    color: var(--ag-sage, #8daa91);
}

/* ===== PAGINATION ===== */
.pagination[b-twur4wlzfn] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--ag-border, #e0ddd5);
}

.pagination-btn[b-twur4wlzfn] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    border: 1px solid var(--ag-border, #e0ddd5);
    border-radius: var(--ag-radius, 8px);
    background: var(--ag-surface, #fff);
    color: var(--ag-text-muted, #7f8c8d);
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s;
}

.pagination-btn:hover:not(:disabled)[b-twur4wlzfn] {
    background: var(--ag-sage-light, #e8f0e9);
    color: var(--ag-sage-dark, #6b8a6f);
    border-color: var(--ag-sage, #8daa91);
}

.pagination-btn:disabled[b-twur4wlzfn] {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-btn .material-symbols-outlined[b-twur4wlzfn] {
    font-size: 16px;
}

.pagination-info[b-twur4wlzfn] {
    font-size: 12px;
    font-weight: 500;
    color: var(--ag-text-muted, #7f8c8d);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .stats-row[b-twur4wlzfn] {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-grid[b-twur4wlzfn] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .profile-header[b-twur4wlzfn] {
        flex-wrap: wrap;
        padding: 20px;
        gap: 16px;
    }

    .profile-name[b-twur4wlzfn] {
        font-size: 20px;
    }

    .profile-details[b-twur4wlzfn] {
        gap: 10px;
    }

    .stats-row[b-twur4wlzfn] {
        grid-template-columns: 1fr;
    }

    .session-item[b-twur4wlzfn] {
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px;
    }

    .session-time-col[b-twur4wlzfn],
    .session-tags-col[b-twur4wlzfn] {
        min-width: auto;
    }
}
/* /Components/Pages/TherapistPatients.razor.rz.scp.css */
/* ===== Therapist Patients — Page-Specific CSS ===== */
/* Shared sidebar/layout/nav styles come from global app.css */

/* ===== LOADING ===== */
.loading-container[b-hifnelt644] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.loading-spinner[b-hifnelt644] {
    width: 40px;
    height: 40px;
    border: 3px solid var(--ag-border, #e0ddd5);
    border-top-color: var(--ag-sage, #8daa91);
    border-radius: 50%;
    animation: spin-b-hifnelt644 0.8s linear infinite;
}

@keyframes spin-b-hifnelt644 {
    to {
        transform: rotate(360deg);
    }
}

/* ===== PAGE HEADER ===== */
.page-header[b-hifnelt644] {
    margin-bottom: 28px;
}

.header-title-area[b-hifnelt644] {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.page-title[b-hifnelt644] {
    font-size: 28px;
    font-weight: 800;
    color: var(--ag-text, #2c3e50);
    margin: 0;
    letter-spacing: -0.5px;
}

.patient-count[b-hifnelt644] {
    font-size: 14px;
    font-weight: 500;
    color: var(--ag-text-muted, #7f8c8d);
}

/* ===== ACTIONS BAR ===== */
.actions-bar[b-hifnelt644] {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 20px;
}

.search-box[b-hifnelt644] {
    flex: 1;
    position: relative;
    max-width: 400px;
}

.search-icon[b-hifnelt644] {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--ag-text-muted, #7f8c8d);
    pointer-events: none;
}

.search-box input[b-hifnelt644] {
    width: 100%;
    padding: 10px 14px 10px 44px;
    border: 1px solid var(--ag-border, #e0ddd5);
    border-radius: var(--ag-radius, 8px);
    background: var(--ag-surface, #fff);
    font-size: 14px;
    font-family: inherit;
    color: var(--ag-text, #2c3e50);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.search-box input:focus[b-hifnelt644] {
    border-color: var(--ag-sage, #8daa91);
    box-shadow: 0 0 0 3px rgba(141, 170, 145, 0.15);
}

.search-box input[b-hifnelt644]::placeholder {
    color: var(--ag-text-muted, #7f8c8d);
}

.btn-primary[b-hifnelt644] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    background: var(--ag-sage, #8daa91);
    color: #fff;
    border: none;
    border-radius: var(--ag-radius, 8px);
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.btn-primary:hover[b-hifnelt644] {
    background: var(--ag-sage-dark, #6b8a6f);
    box-shadow: var(--ag-shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.06));
}

.btn-primary .material-symbols-outlined[b-hifnelt644] {
    font-size: 18px;
}

/* ===== FILTER TABS ===== */
.filter-tabs[b-hifnelt644] {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
}

.filter-tab[b-hifnelt644] {
    padding: 8px 20px;
    border: 1px solid var(--ag-border, #e0ddd5);
    border-radius: 20px;
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    color: var(--ag-text-muted, #7f8c8d);
    cursor: pointer;
    transition: all 0.2s;
}

.filter-tab:hover[b-hifnelt644] {
    background: var(--ag-bg-hover, #f0ede6);
    color: var(--ag-text, #2c3e50);
}

.filter-tab.active[b-hifnelt644] {
    background: var(--ag-sage-light, #e8f0e9);
    color: var(--ag-sage-dark, #6b8a6f);
    border-color: var(--ag-sage, #8daa91);
}

/* ===== PATIENT LIST ===== */
.patient-list[b-hifnelt644] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.patient-card[b-hifnelt644] {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--ag-surface, #fff);
    border: 1px solid var(--ag-border, #e0ddd5);
    border-radius: var(--ag-radius-lg, 12px);
    padding: 18px 24px;
    transition: all 0.15s ease;
}

.patient-card:hover[b-hifnelt644] {
    box-shadow: var(--ag-shadow-md, 0 4px 12px rgba(0, 0, 0, 0.06));
    border-color: var(--ag-border-hover, #c8c5be);
}

/* Avatar */
.patient-avatar[b-hifnelt644] {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--ag-sage-light, #e8f0e9);
    color: var(--ag-sage-dark, #6b8a6f);
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

/* Info column */
.patient-info[b-hifnelt644] {
    flex: 1;
    min-width: 160px;
}

.patient-name[b-hifnelt644] {
    font-size: 15px;
    font-weight: 700;
    color: var(--ag-text, #2c3e50);
    margin-bottom: 2px;
}

.patient-email[b-hifnelt644] {
    font-size: 13px;
    color: var(--ag-text-muted, #7f8c8d);
}

/* Meta columns */
.patient-meta[b-hifnelt644] {
    display: flex;
    gap: 40px;
}

.meta-item[b-hifnelt644] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 100px;
}

.meta-label[b-hifnelt644] {
    font-size: 11px;
    font-weight: 500;
    color: var(--ag-text-muted, #7f8c8d);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 3px;
}

.meta-value[b-hifnelt644] {
    font-size: 14px;
    font-weight: 600;
    color: var(--ag-text, #2c3e50);
}

/* Status badge */
.patient-status[b-hifnelt644] {
    min-width: 90px;
    text-align: center;
}

.status-badge[b-hifnelt644] {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.status-badge.active[b-hifnelt644] {
    background: #e8f5e9;
    color: #2e7d32;
}

.status-badge.archived[b-hifnelt644] {
    background: var(--ag-bg-hover, #f0ede6);
    color: var(--ag-text-muted, #7f8c8d);
}

/* View card button */
.patient-actions[b-hifnelt644] {
    flex-shrink: 0;
}

.btn-view-card[b-hifnelt644] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border: none;
    background: transparent;
    color: var(--ag-sage-dark, #6b8a6f);
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border-radius: var(--ag-radius, 8px);
    transition: all 0.15s;
}

.btn-view-card:hover[b-hifnelt644] {
    background: var(--ag-sage-light, #e8f0e9);
    color: var(--ag-sage, #8daa91);
}

.btn-view-card .material-symbols-outlined[b-hifnelt644] {
    font-size: 18px;
}

/* ===== EMPTY STATE ===== */
.empty-state[b-hifnelt644] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 64px 20px;
    background: var(--ag-surface, #fff);
    border: 1px solid var(--ag-border, #e0ddd5);
    border-radius: var(--ag-radius-lg, 12px);
    text-align: center;
}

.empty-state .material-symbols-outlined[b-hifnelt644] {
    font-size: 48px;
    color: var(--ag-sage, #8daa91);
    margin-bottom: 12px;
}

.empty-state p[b-hifnelt644] {
    font-size: 15px;
    color: var(--ag-text-muted, #7f8c8d);
    margin: 0;
    max-width: 360px;
}

/* ===== PAGINATION ===== */
.pagination[b-hifnelt644] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 28px;
    padding: 16px 0;
}

.pagination-btn[b-hifnelt644] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    border: 1px solid var(--ag-border, #e0ddd5);
    border-radius: var(--ag-radius, 8px);
    background: var(--ag-surface, #fff);
    color: var(--ag-text-muted, #7f8c8d);
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s;
}

.pagination-btn:hover:not(:disabled)[b-hifnelt644] {
    background: var(--ag-sage-light, #e8f0e9);
    color: var(--ag-sage-dark, #6b8a6f);
    border-color: var(--ag-sage, #8daa91);
}

.pagination-btn:disabled[b-hifnelt644] {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-btn .material-symbols-outlined[b-hifnelt644] {
    font-size: 18px;
}

.pagination-info[b-hifnelt644] {
    font-size: 13px;
    font-weight: 500;
    color: var(--ag-text-muted, #7f8c8d);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .patient-meta[b-hifnelt644] {
        gap: 20px;
    }

    .meta-item[b-hifnelt644] {
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .actions-bar[b-hifnelt644] {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box[b-hifnelt644] {
        max-width: none;
    }

    .patient-card[b-hifnelt644] {
        flex-wrap: wrap;
        gap: 12px;
    }

    .patient-meta[b-hifnelt644] {
        flex: 1 1 100%;
        order: 3;
        gap: 24px;
    }

    .patient-status[b-hifnelt644] {
        order: 2;
    }

    .patient-actions[b-hifnelt644] {
        order: 4;
        flex: 1 1 100%;
        text-align: right;
    }

    .pagination[b-hifnelt644] {
        flex-direction: column;
        gap: 12px;
    }
}
/* /Components/Pages/TherapistSettings.razor.rz.scp.css */
/* ===== Therapist Settings — Page-Specific CSS ===== */

/* ===== HEADER ===== */
.settings-header h1[b-eir80alyzo] {
    font-size: 28px;
    font-weight: 700;
    color: var(--ag-text);
    margin: 0 0 4px;
}

.settings-header p[b-eir80alyzo] {
    color: var(--ag-text-muted);
    font-size: 15px;
    margin: 0 0 32px;
}

/* ===== EMPTY STATE ===== */
.empty-state[b-eir80alyzo] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    gap: 12px;
    color: var(--ag-text-muted);
}

.empty-state .material-symbols-outlined[b-eir80alyzo] {
    font-size: 48px;
    color: var(--ag-sage);
    opacity: 0.5;
}

/* ===== PROFILE CARD ===== */
.profile-card[b-eir80alyzo] {
    background: var(--ag-surface);
    border: 1px solid var(--ag-border);
    border-radius: var(--ag-radius-xl);
    padding: 28px 32px;
    margin-bottom: 24px;
    box-shadow: var(--ag-shadow-sm);
}

.card-title[b-eir80alyzo] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--ag-text);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--ag-border);
}

.card-title .material-symbols-outlined[b-eir80alyzo] {
    font-size: 22px;
    color: var(--ag-sage);
}

/* ===== SUCCESS / ERROR BANNER ===== */
.success-banner[b-eir80alyzo] {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--ag-sage-light);
    color: var(--ag-sage-dark);
    border: 1px solid var(--ag-sage);
    border-radius: var(--ag-radius);
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    animation: fadeIn-b-eir80alyzo 0.3s ease;
}

.success-banner .material-symbols-outlined[b-eir80alyzo] {
    font-size: 20px;
}

.error-banner[b-eir80alyzo] {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fef8f6;
    color: #c0392b;
    border: 1px solid #f0d5ce;
    border-radius: var(--ag-radius);
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    animation: fadeIn-b-eir80alyzo 0.3s ease;
}

.error-banner .material-symbols-outlined[b-eir80alyzo] {
    font-size: 20px;
}

/* ===== INFO BANNER (admin-managed fields) ===== */
.info-banner[b-eir80alyzo] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #f0f7ff;
    color: #1e5a8d;
    border: 1px solid #c4ddf4;
    border-radius: var(--ag-radius);
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 20px;
}

.info-banner .material-symbols-outlined[b-eir80alyzo] {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}

@keyframes fadeIn-b-eir80alyzo {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== FORM GRID (2-column) ===== */
.form-grid[b-eir80alyzo] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.form-stack[b-eir80alyzo] {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ===== FORM GROUP ===== */
.form-group label[b-eir80alyzo] {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ag-text);
    margin-bottom: 6px;
    letter-spacing: 0.2px;
}

.field-hint[b-eir80alyzo] {
    display: block;
    font-size: 11px;
    color: var(--ag-text-muted);
    margin-top: 4px;
}

/* ===== INPUT WRAPPER ===== */
.input-wrapper[b-eir80alyzo] {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon[b-eir80alyzo] {
    position: absolute;
    left: 12px;
    font-size: 18px;
    color: var(--ag-text-muted);
    pointer-events: none;
    z-index: 1;
}

.input-wrapper input[b-eir80alyzo],
.input-wrapper select[b-eir80alyzo] {
    width: 100%;
    padding: 11px 14px 11px 42px;
    border: 1px solid var(--ag-border);
    border-radius: var(--ag-radius);
    font-size: 14px;
    font-family: var(--ag-font);
    color: var(--ag-text);
    background: var(--ag-surface);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    outline: none;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.input-wrapper input:focus[b-eir80alyzo] {
    border-color: var(--ag-sage);
    box-shadow: 0 0 0 3px rgba(141, 170, 145, 0.15);
}

.input-wrapper input:disabled[b-eir80alyzo] {
    background: var(--ag-bg-hover);
    color: var(--ag-text-muted);
    cursor: not-allowed;
}

.input-wrapper.locked .input-icon[b-eir80alyzo] {
    color: var(--ag-text-muted);
}

/* ===== INPUT SUFFIX (zł) ===== */
.input-suffix[b-eir80alyzo] {
    position: absolute;
    right: 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ag-text-muted);
    pointer-events: none;
}

/* ===== TEXTAREA ===== */
textarea[b-eir80alyzo] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--ag-border);
    border-radius: var(--ag-radius);
    font-size: 14px;
    font-family: var(--ag-font);
    color: var(--ag-text);
    background: var(--ag-surface);
    resize: vertical;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
    line-height: 1.5;
}

textarea:focus[b-eir80alyzo] {
    border-color: var(--ag-sage);
    box-shadow: 0 0 0 3px rgba(141, 170, 145, 0.15);
}

textarea[b-eir80alyzo]::placeholder {
    color: var(--ag-text-muted);
    opacity: 0.7;
}

/* ===== CHIP CONTAINER ===== */
.chip-container[b-eir80alyzo] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip[b-eir80alyzo] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    font-family: var(--ag-font);
    cursor: pointer;
    transition: all 0.15s ease;
    border: 1px solid var(--ag-border);
    background: var(--ag-bg-subtle);
    color: var(--ag-text-muted);
}

.chip:hover[b-eir80alyzo] {
    border-color: var(--ag-sage);
    color: var(--ag-text);
    background: var(--ag-sage-light);
}

.chip-selected[b-eir80alyzo] {
    background: var(--ag-sage);
    color: #fff;
    border-color: var(--ag-sage);
}

.chip-selected:hover[b-eir80alyzo] {
    background: var(--ag-sage-hover);
    color: #fff;
    border-color: var(--ag-sage-hover);
}

.chip-icon[b-eir80alyzo] {
    font-size: 14px !important;
}

/* ===== READ-ONLY TEXT (data managed by admin) ===== */
.readonly-text[b-eir80alyzo] {
    font-size: 14px;
    color: var(--ag-text-muted);
    line-height: 1.6;
    padding: 8px 0;
    white-space: pre-line;
}

.chip-readonly[b-eir80alyzo] {
    cursor: default;
    pointer-events: none;
}

/* ===== TOGGLE GROUP (Notifications) ===== */
.toggle-group[b-eir80alyzo] {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.toggle-row[b-eir80alyzo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--ag-border);
}

.toggle-row:last-child[b-eir80alyzo] {
    border-bottom: none;
}

.toggle-info[b-eir80alyzo] {
    flex: 1;
}

.toggle-label[b-eir80alyzo] {
    font-size: 14px;
    font-weight: 600;
    color: var(--ag-text);
    margin-bottom: 2px;
}

.toggle-desc[b-eir80alyzo] {
    font-size: 12px;
    color: var(--ag-text-muted);
}

/* ===== TOGGLE SWITCH ===== */
.toggle-switch[b-eir80alyzo] {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
    margin-left: 16px;
}

.toggle-switch input[b-eir80alyzo] {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider[b-eir80alyzo] {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--ag-border);
    border-radius: 26px;
    transition: background 0.2s ease;
}

.toggle-slider[b-eir80alyzo]::before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.toggle-switch input:checked+.toggle-slider[b-eir80alyzo] {
    background: var(--ag-sage);
}

.toggle-switch input:checked+.toggle-slider[b-eir80alyzo]::before {
    transform: translateX(22px);
}

/* ===== CARD ACTIONS ===== */
.card-actions[b-eir80alyzo] {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--ag-border);
}

/* ===== SAVE BUTTON ===== */
.btn-save[b-eir80alyzo] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--ag-sage), var(--ag-sage-hover));
    color: #fff;
    border: none;
    border-radius: var(--ag-radius);
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--ag-font);
}

.btn-save:hover:not(:disabled)[b-eir80alyzo] {
    background: linear-gradient(135deg, var(--ag-sage-hover), var(--ag-sage-dark));
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(141, 170, 145, 0.4);
}

.btn-save:disabled[b-eir80alyzo] {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-save .material-symbols-outlined[b-eir80alyzo] {
    font-size: 18px;
}

.btn-save.btn-secondary[b-eir80alyzo] {
    background: var(--ag-bg-hover);
    color: var(--ag-text-muted);
}

/* ===== SPINNING ===== */
.spinning[b-eir80alyzo] {
    animation: ag-spin-b-eir80alyzo 0.8s linear infinite;
}

@keyframes ag-spin-b-eir80alyzo {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ===== DANGER ZONE ===== */
.danger-zone[b-eir80alyzo] {
    background: #fef8f6;
    border: 1px solid #f0d5ce;
    border-radius: var(--ag-radius-xl);
    padding: 24px 28px;
    margin-top: 16px;
    margin-bottom: 40px;
}

.danger-header[b-eir80alyzo] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #c0392b;
    margin-bottom: 8px;
}

.danger-header .material-symbols-outlined[b-eir80alyzo] {
    font-size: 20px;
    color: #c0392b;
}

.danger-zone>p[b-eir80alyzo] {
    font-size: 14px;
    color: #7a6560;
    margin: 0 0 16px;
    line-height: 1.5;
}

.btn-delete[b-eir80alyzo] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1.5px solid #c0392b;
    border-radius: var(--ag-radius);
    background: transparent;
    color: #c0392b;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: var(--ag-font);
}

.btn-delete:hover[b-eir80alyzo] {
    background: #c0392b;
    color: #fff;
}

.btn-delete .material-symbols-outlined[b-eir80alyzo] {
    font-size: 18px;
}

/* ===== DELETE / DEACTIVATE CONFIRMATION ===== */
.delete-confirm[b-eir80alyzo] {
    background: #fff;
    border: 1px solid #f0d5ce;
    border-radius: var(--ag-radius);
    padding: 16px 20px;
    animation: fadeIn-b-eir80alyzo 0.2s ease;
}

.confirm-text[b-eir80alyzo] {
    font-size: 14px;
    font-weight: 500;
    color: #c0392b;
    margin: 0 0 14px;
}

.confirm-actions[b-eir80alyzo] {
    display: flex;
    gap: 10px;
}

.btn-cancel[b-eir80alyzo] {
    display: inline-flex;
    align-items: center;
    padding: 9px 20px;
    border: 1px solid var(--ag-border);
    border-radius: var(--ag-radius);
    background: var(--ag-surface);
    color: var(--ag-text-muted);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: var(--ag-font);
}

.btn-cancel:hover[b-eir80alyzo] {
    background: var(--ag-bg-hover);
    color: var(--ag-text);
}

.btn-delete-confirm[b-eir80alyzo] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    border: none;
    border-radius: var(--ag-radius);
    background: #c0392b;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: var(--ag-font);
}

.btn-delete-confirm:hover:not(:disabled)[b-eir80alyzo] {
    background: #a93226;
}

.btn-delete-confirm:disabled[b-eir80alyzo] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .form-grid[b-eir80alyzo] {
        grid-template-columns: 1fr;
    }

    .profile-card[b-eir80alyzo] {
        padding: 20px;
    }

    .toggle-row[b-eir80alyzo] {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .toggle-switch[b-eir80alyzo] {
        margin-left: 0;
    }
}
/* /Components/Pages/TherapistWorkspace.razor.rz.scp.css */
/* ===== Therapist Dashboard — Page-Specific CSS ===== */

/* ===== LOADING ===== */
.loading-container[b-1cde9x7d17] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.loading-spinner[b-1cde9x7d17] {
    width: 40px;
    height: 40px;
    border: 3px solid var(--ag-border, #e0ddd5);
    border-top-color: var(--ag-sage, #8daa91);
    border-radius: 50%;
    animation: spin-b-1cde9x7d17 0.8s linear infinite;
}

@keyframes spin-b-1cde9x7d17 {
    to {
        transform: rotate(360deg);
    }
}

/* ===== STATS ROW ===== */
.stats-row[b-1cde9x7d17] {
    display: flex;
    gap: 20px;
    margin-bottom: 36px;
}

.stat-card[b-1cde9x7d17] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--ag-surface);
    border: 1px solid var(--ag-border);
    border-radius: var(--ag-radius-lg);
    padding: 24px 28px;
    box-shadow: var(--ag-shadow-sm);
    transition: box-shadow 0.2s ease;
}

.stat-card:hover[b-1cde9x7d17] {
    box-shadow: var(--ag-shadow-md);
}

.stat-content[b-1cde9x7d17] {
    flex: 1;
}

.stat-label[b-1cde9x7d17] {
    font-size: 13px;
    font-weight: 500;
    color: var(--ag-text-muted);
    margin-bottom: 8px;
}

.stat-value[b-1cde9x7d17] {
    font-size: 28px;
    font-weight: 800;
    color: var(--ag-text);
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.stat-trend[b-1cde9x7d17] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
}

.stat-trend .material-symbols-outlined[b-1cde9x7d17] {
    font-size: 16px;
}

.stat-trend-up[b-1cde9x7d17] {
    color: var(--ag-sage-dark);
}

.stat-trend-down[b-1cde9x7d17] {
    color: #c0392b;
}

.stat-icon[b-1cde9x7d17] {
    width: 48px;
    height: 48px;
    border-radius: var(--ag-radius);
    background: var(--ag-sage-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ag-sage-dark);
    flex-shrink: 0;
}

.stat-icon .material-symbols-outlined[b-1cde9x7d17] {
    font-size: 24px;
}

/* ===== SCHEDULE SECTION ===== */
.schedule-section[b-1cde9x7d17] {
    margin-top: 8px;
}

.schedule-title[b-1cde9x7d17] {
    font-size: 20px;
    font-weight: 700;
    color: var(--ag-text);
    margin: 0 0 24px;
}

/* ===== TIMELINE ===== */
.timeline[b-1cde9x7d17] {
    display: flex;
    flex-direction: column;
    position: relative;
}

.timeline-item[b-1cde9x7d17] {
    display: flex;
    gap: 20px;
    position: relative;
    min-height: 80px;
}

.timeline-marker[b-1cde9x7d17] {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex-shrink: 0;
    width: 40px;
}

.timeline-dot[b-1cde9x7d17] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    flex-shrink: 0;
}

.timeline-dot .material-symbols-outlined[b-1cde9x7d17] {
    font-size: 18px;
}

.dot-done[b-1cde9x7d17] {
    background: var(--ag-sage-light);
    color: var(--ag-sage-dark);
    border: 2px solid var(--ag-sage);
}

.dot-active[b-1cde9x7d17] {
    background: #e3f2fd;
    color: #1976d2;
    border: 2px solid #64b5f6;
}

.dot-upcoming[b-1cde9x7d17] {
    background: var(--ag-bg);
    color: var(--ag-text-muted);
    border: 2px solid var(--ag-border);
}

.dot-break[b-1cde9x7d17] {
    background: #fef9e7;
    color: #c8a415;
    border: 2px solid #f0d668;
}

.timeline-line[b-1cde9x7d17] {
    width: 2px;
    flex: 1;
    background: var(--ag-border);
    min-height: 16px;
}

/* ===== TIMELINE CARDS ===== */
.timeline-card[b-1cde9x7d17] {
    flex: 1;
    background: var(--ag-surface);
    border: 1px solid var(--ag-border);
    border-radius: var(--ag-radius-lg);
    padding: 16px 20px;
    margin-bottom: 12px;
    box-shadow: var(--ag-shadow-sm);
    transition: all 0.15s ease;
}

.timeline-card:hover[b-1cde9x7d17] {
    box-shadow: var(--ag-shadow-md);
}

.card-active[b-1cde9x7d17] {
    border-color: var(--ag-sage);
    border-width: 2px;
    box-shadow: 0 2px 12px rgba(141, 170, 145, 0.15);
}

.card-break[b-1cde9x7d17] {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ag-text-muted);
    font-size: 14px;
}

.card-break:hover[b-1cde9x7d17] {
    box-shadow: none;
}

/* Card header */
.card-header[b-1cde9x7d17] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.card-time[b-1cde9x7d17] {
    font-size: 14px;
    font-weight: 600;
    color: var(--ag-sage-dark);
}

/* Badges */
.badge[b-1cde9x7d17] {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-paid[b-1cde9x7d17] {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.badge-type[b-1cde9x7d17] {
    background: var(--ag-bg);
    color: var(--ag-text-muted);
    border: 1px solid var(--ag-border);
    margin-left: auto;
}

/* Patient row */
.card-body[b-1cde9x7d17] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card-patient-row[b-1cde9x7d17] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.patient-avatar[b-1cde9x7d17] {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: var(--ag-bg);
    border: 1px solid var(--ag-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--ag-text-muted);
}

.patient-name[b-1cde9x7d17] {
    font-size: 16px;
    font-weight: 700;
    color: var(--ag-text);
}

.patient-meta[b-1cde9x7d17] {
    font-size: 13px;
    color: var(--ag-text-muted);
    font-weight: 400;
    margin-top: 2px;
}

/* Actions */
.card-actions[b-1cde9x7d17] {
    margin-top: 12px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn-video[b-1cde9x7d17] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ag-sage);
    color: #fff;
    border: none;
    border-radius: var(--ag-radius);
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: var(--ag-font);
}

.btn-video:hover[b-1cde9x7d17] {
    background: var(--ag-sage-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(141, 170, 145, 0.35);
}

.btn-video .material-symbols-outlined[b-1cde9x7d17] {
    font-size: 18px;
}

.btn-cancel[b-1cde9x7d17] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(211, 47, 47, 0.06);
    color: #c0392b;
    border: 1px solid rgba(211, 47, 47, 0.18);
    border-radius: var(--ag-radius);
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--ag-font);
}

.btn-cancel:hover[b-1cde9x7d17] {
    background: rgba(211, 47, 47, 0.12);
    border-color: rgba(211, 47, 47, 0.3);
    transform: translateY(-1px);
}

.btn-cancel .material-symbols-outlined[b-1cde9x7d17] {
    font-size: 16px;
}

/* ===== EMPTY SCHEDULE ===== */
.empty-schedule[b-1cde9x7d17] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
    background: var(--ag-surface);
    border: 1px solid var(--ag-border);
    border-radius: var(--ag-radius-lg);
    text-align: center;
}

.empty-schedule .material-symbols-outlined[b-1cde9x7d17] {
    font-size: 48px;
    color: var(--ag-sage);
    margin-bottom: 12px;
}

.empty-schedule p[b-1cde9x7d17] {
    font-size: 15px;
    color: var(--ag-text-muted);
    margin: 0;
}

/* Past sessions — slightly faded */
.timeline-past .timeline-card[b-1cde9x7d17] {
    opacity: 0.7;
}

.timeline-past:hover .timeline-card[b-1cde9x7d17] {
    opacity: 1;
}

.card-clickable[b-1cde9x7d17] {
    cursor: pointer;
}

.card-clickable:hover[b-1cde9x7d17] {
    border-color: var(--ag-sage);
    box-shadow: 0 2px 12px rgba(141, 170, 145, 0.2);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .stats-row[b-1cde9x7d17] {
        flex-direction: column;
        gap: 12px;
    }

    .timeline-item[b-1cde9x7d17] {
        gap: 12px;
    }

    .timeline-marker[b-1cde9x7d17] {
        width: 32px;
    }

    .timeline-dot[b-1cde9x7d17] {
        width: 28px;
        height: 28px;
    }

    .timeline-dot .material-symbols-outlined[b-1cde9x7d17] {
        font-size: 14px;
    }
}
