/* /Layout/MainLayout.razor.rz.scp.css */
/* MainLayout.razor.css  —  refreshed, responsive, accessible */

/* ---- layout tokens (keep in sync with theragen-shared.css) ---- */
:root[b-m05u72k5ci]{
    --tg-sidebar-w: 250px;
    --tg-top-h: 56px;
}

/* ---- page scaffold ---- */
.page[b-m05u72k5ci]{
    position:relative;
    display:flex;
    flex-direction:column;
    min-height:100vh;
    background:var(--tg-surface);
}

.layout-container[b-m05u72k5ci]{
    display:flex;
    min-height:100vh;
    width:100%;
    overflow:hidden;
}

main[b-m05u72k5ci]{
    flex:1;
    min-width:0; /* prevent overflow on flex children */
    overflow-y:auto;
    background:var(--tg-surface);
    padding-bottom: max(12px, env(safe-area-inset-bottom));
}

/* ---- top bar ---- */
.top-row[b-m05u72k5ci]{
    position:sticky;
    top:0;
    z-index:10;
    height:var(--tg-top-h);
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding-inline:1rem;
    background:var(--tg-primary);
    color:#fff;
    box-shadow: var(--tg-shadow-sm);
}

.top-row .logo[b-m05u72k5ci]{
    display:grid;
    place-items:center;
    height:100%;
    margin-left:.25rem; /* keep logo snug to the left */
}
.top-row .logo img[b-m05u72k5ci]{
    height:32px; width:auto; display:block;
}

/* icon button for avatar (keyboard & focus visible) */
.icon-btn[b-m05u72k5ci]{
    -webkit-appearance:none; appearance:none;
    border:0; background:transparent; color:inherit;
    width:40px; height:40px; display:grid; place-items:center;
    border-radius:999px;
    cursor:pointer;
    transition:background .18s ease-out;
}
.icon-btn:hover[b-m05u72k5ci]{ background:rgba(255,255,255,.12) }
.icon-btn:focus-visible[b-m05u72k5ci]{
    outline:2px solid #fff; outline-offset:2px;
    box-shadow:0 0 0 3px rgba(255,255,255,.35);
}

/* links kept white inside the top row */
.top-row[b-m05u72k5ci]  a,
.top-row[b-m05u72k5ci]  .btn-link{
    white-space:nowrap;
    margin-left:1rem;
    text-decoration:none;
    color:#fff;
    font-weight:700;
    padding:.35rem .65rem;
    border-radius:10px;
}
.top-row[b-m05u72k5ci]  a:hover,
.top-row[b-m05u72k5ci]  .btn-link:hover{
    background:rgba(255,255,255,.12);
    text-decoration:none;
}
.top-row.auth[b-m05u72k5ci]  a:first-child{
    overflow:hidden; text-overflow:ellipsis;
}

/* ---- scrim for the right drawer ---- */
.scrim[b-m05u72k5ci]{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.35);
    opacity:0;
    pointer-events:none;
    transition:opacity .2s ease-out;
    z-index:1105; /* just below the drawer */
}
.scrim.show[b-m05u72k5ci]{
    opacity:1;
    pointer-events:auto;
}

/* ---- left app sidebar (NavMenu host) for ≥641px ---- */
@media (min-width:641px){
    .page[b-m05u72k5ci]{ flex-direction:row; }

    .sidebar[b-m05u72k5ci]{
        width:var(--tg-sidebar-w);
        position:sticky;
        top:0;
        height:100vh;
        background:linear-gradient(180deg, #2C727E 0%, #1f5660 100%);
        color:#fff;
        box-shadow: inset -1px 0 0 var(--tg-line);
    }

    .top-row[b-m05u72k5ci], article[b-m05u72k5ci]{
        padding-left:1rem !important;
        padding-right:1rem !important;
    }
}

/* ---- right account drawer (SidebarVisible/Hidden) ---- */
.SidebarVisible[b-m05u72k5ci],
.SidebarHidden[b-m05u72k5ci]{
    position:fixed;
    top:calc(var(--tg-top-h) + env(safe-area-inset-top));
    right:0;
    width:var(--tg-sidebar-w);
    height:calc(100% - var(--tg-top-h) - env(safe-area-inset-top));
    background-color:#2C727E;
    color:#fff;
    box-shadow: -8px 0 24px rgba(10,40,50,.16);
    will-change: transform;
    transition: transform .28s cubic-bezier(.22,.61,.36,1);
    transform: translateX(100%); /* default offscreen */
    z-index:1110;
    overflow:auto;
    border-top-left-radius: var(--tg-radius);
    border-bottom-left-radius: var(--tg-radius);
}
.SidebarVisible[b-m05u72k5ci]{ transform: translateX(0%) }

/* nicer scrollbars (fallbacks gracefully) */
.SidebarVisible[b-m05u72k5ci]::-webkit-scrollbar,
.SidebarHidden[b-m05u72k5ci]::-webkit-scrollbar{ width:10px }
.SidebarVisible[b-m05u72k5ci]::-webkit-scrollbar-thumb,
.SidebarHidden[b-m05u72k5ci]::-webkit-scrollbar-thumb{
    background: rgba(255,255,255,.35);
    border-radius:999px;
}

/* ---- error UI ---- */
#blazor-error-ui[b-m05u72k5ci]{
    position:fixed;
    inset:auto 0 0 0;
    display:none;
    z-index:1000;
    background: #fff8e1;
    color:#5d3a00;
    box-shadow:0 -1px 2px rgba(0,0,0,.2);
    padding:.6rem 1.25rem .7rem;
}
#blazor-error-ui .dismiss[b-m05u72k5ci]{
    position:absolute;
    right:.75rem; top:.5rem;
    cursor:pointer;
}

/* ---- small screens ---- */
@media (max-width:640.98px){
    .top-row[b-m05u72k5ci]{ justify-content:space-between; }
    .top-row[b-m05u72k5ci]  a, .top-row[b-m05u72k5ci]  .btn-link{ margin-left:0 }
    .sidebar[b-m05u72k5ci]{ display:none } /* hide left nav on narrow viewports */
}

/* ---- utility: toggle group (kept for compatibility) ---- */
.toggle[b-m05u72k5ci]{ display:flex; flex-direction:column }

/* ---- pills & nav (kept here for existing pages depending on layout css)
       Consider moving these into component-scoped css later.  ---- */
.nav-pills .nav-link.active[b-m05u72k5ci]{
    color:#2C727E;
    background:#fff;
}
.nav-pills .nav-item[b-m05u72k5ci]{
    list-style:none;
    margin:5px 15px;
    color:#2C727E;
    width:188px;
    border-radius:999px;
    font-size: .9rem;
    background:#D9D9D9;
}
.nav-link[b-m05u72k5ci]{
    display:flex; align-items:center;
    gap:.5rem;
    margin:5px 15px 5px 35px;
    width:188px;
    border-radius:999px;
    color:#2C727E !important;
    text-decoration-color:#2C727E !important;
    padding:.4rem .9rem;
}
.nav-pills .nav-item .nav-link[b-m05u72k5ci]{
    padding-right:60px;
    height:36px;
    font-size:.9rem;
}
.nav-item .nav-link svg[b-m05u72k5ci]{ margin-right:8px; vertical-align:middle }
.nav-item .text-center[b-m05u72k5ci]{ background:#04485D !important; color:#fff !important }

/* ---- profile bits used inside the drawer ---- */
.profile-container[b-m05u72k5ci]{
    display:flex; flex-direction:column; align-items:center; text-align:center; position:relative;
    padding:1rem .75rem 1.25rem;
}
.profile-container .profile-image[b-m05u72k5ci]{
    position:relative; width:250px; height:100px; margin-top:40px;
}
.profile-container .profile-image .circle-image[b-m05u72k5ci]{ width:100%; height:100% }
.profile-container .profile-image .theragen-profile-picture .upload-image[b-m05u72k5ci]{
    width:100px; height:100px; border-radius:50%; overflow:hidden; object-fit:cover;
}
.profile-container .profile-image .edit-image-button[b-m05u72k5ci]{
    position:absolute; bottom:0; right:90px;
    width:28px; height:28px; padding:4px;
    color:#fff; background:#E99A28; border-radius:50%;
    box-shadow:0 2px 4px rgba(0,0,0,.2);
}
.profile-container .client-name[b-m05u72k5ci],
.profile-container .client-email[b-m05u72k5ci]{
    margin:6px 0; color:#fff;
}
.profile-image .nav-item[b-m05u72k5ci]{
    background:#E99A28; color:#fff; margin-right:10px;
}

/* ---- account sidebar background overrides ---- */
#account-sidebar[b-m05u72k5ci],
#therapist-sidebar[b-m05u72k5ci],
#manage-nav[b-m05u72k5ci]{ background-color:#2C727E; background-image:none }

/* ---- accessibility: reduce motion ---- */
@media (prefers-reduced-motion: reduce){
    .SidebarVisible[b-m05u72k5ci], .SidebarHidden[b-m05u72k5ci], .top-row[b-m05u72k5ci]  a, .top-row[b-m05u72k5ci]  .btn-link, .icon-btn[b-m05u72k5ci]{
        transition:none !important;
        animation:none !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
/* NavMenu.razor.css — TheraGen nav (refined) */
/* Uses global tokens from theragen-shared.css */

:root[b-95wujukxn2] {
    /* fallback if theragen-shared.css hasn’t loaded yet */
    --tg-primary:#2C727E;
    --tg-ink:#0c2d31;
    --tg-muted:#55757b;
    --tg-surface:#f7fbfc;
    --tg-card:#ffffff;
    --tg-line:#e7eef0;
    --tg-radius:18px;
    --tg-radius-sm:12px;
    --tg-shadow:0 12px 36px rgba(10,40,50,.10);
    --tg-shadow-sm:0 6px 18px rgba(10,40,50,.08);
    --tg-focus:0 0 0 3px rgba(44,114,126,.25);
}

@media (prefers-reduced-motion:no-preference){
    :root[b-95wujukxn2] {
        --tg-ease: cubic-bezier(.2,.8,.2,1);
        --tg-dur-fast: 160ms;
        --tg-dur: 240ms;
    }
}

/* ---- Top bar (kept minimal; layout file styles background) ---- */
.top-row[b-95wujukxn2]{
    height:3.5rem;
    background-color: var(--tg-primary);
}

/* ---- Collapser (mobile hamburger) ---- */
.navbar-toggler[b-95wujukxn2]{
    appearance:none;
    cursor:pointer;
    width:3rem; height:2.5rem;
    position:absolute; top:.5rem; right:1rem;
    border:1px solid rgba(255,255,255,.14);
    border-radius:12px;
    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.85%29' stroke-linecap='round' stroke-width='2' d='M5 8h20M5 15h20M5 22h20'/%3e%3c/svg%3e")
            no-repeat center/1.5rem rgba(255,255,255,.08);
    transition: background-color var(--tg-dur-fast,var(--tg-dur)) var(--tg-ease,linear), border-color var(--tg-dur-fast,var(--tg-dur)) var(--tg-ease,linear);
}
.navbar-toggler:hover[b-95wujukxn2]{ background-color:rgba(255,255,255,.16) }
.navbar-toggler:focus[b-95wujukxn2]{ outline:none; box-shadow:var(--tg-focus) }
.navbar-toggler:checked[b-95wujukxn2]{ background-color:rgba(255,255,255,.28) }

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

/* ---- Sidebar container ---- */
.nav-scrollable[b-95wujukxn2]{
    display:none;
    height: calc(100vh - 3.5rem);
    overflow-y:auto;
    background: var(--tg-primary);
    padding: .75rem 0 1rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.35) transparent;
}
.nav-scrollable[b-95wujukxn2]::-webkit-scrollbar{ width:10px }
.nav-scrollable[b-95wujukxn2]::-webkit-scrollbar-thumb{
    background: rgba(255,255,255,.35);
    border-radius:999px;
}
@media (min-width:641px){
    .navbar-toggler[b-95wujukxn2]{ display:none }
    .nav-scrollable[b-95wujukxn2]{ display:block }
}

/* ---- Item base ---- */
.nav-item[b-95wujukxn2]{
    font-size:.95rem;
    list-style:none;
}
.nav-item + .nav-item[b-95wujukxn2]{ margin-top:.25rem }

/* ---- Links ---- */
.nav-item[b-95wujukxn2]  .nav-link{
    --pad-x: 1rem;
    --pad-y: .65rem;
    display:flex; align-items:center; gap:.65rem;
    height:auto; line-height:1.2;
    width:100%;
    padding: var(--pad-y) var(--pad-x);
    color:#ebfbff; /* high contrast on teal */
    background: transparent;
    border:none;
    border-radius: 999px;
    text-decoration:none;
    transition:
            background-color var(--tg-dur,var(--tg-dur)) var(--tg-ease,linear),
            transform var(--tg-dur-fast,var(--tg-dur)) var(--tg-ease,linear),
            color var(--tg-dur-fast,var(--tg-dur)) var(--tg-ease,linear);
}
.nav-item[b-95wujukxn2]  .nav-link:focus{
    outline:none; box-shadow:var(--tg-focus); background: rgba(255,255,255,.06);
}
.nav-item[b-95wujukxn2]  .nav-link:hover{
    background: rgba(255,255,255,.10);
    color:#fff;
    transform: translateX(2px);
}

/* ---- Active state ---- */
.nav-item[b-95wujukxn2]  a.active{
    background: #04485D;
    color:#fff;
    box-shadow: var(--tg-shadow-sm);
}

/* ---- Icon helpers (inline SVGs from markup already) ---- */
.bi[b-95wujukxn2]{
    display:inline-block;
    width:1.15rem; height:1.15rem;
    margin-right:.25rem;
    flex:0 0 auto;
}

/* ---- Collapsible / compact variant (if you toggle a wrapper class) ---- */
.nav-menu-container[b-95wujukxn2]{
    width:250px;
    transition: width var(--tg-dur,var(--tg-dur)) var(--tg-ease,linear);
}
.nav-menu-container.collapsed[b-95wujukxn2]{ width:72px }
.nav-menu-container .nav-link[b-95wujukxn2]{ justify-content:flex-start }
.nav-menu-container.collapsed .nav-link[b-95wujukxn2]{ justify-content:center; padding: .6rem 0 }
.nav-menu-container.collapsed .nav-link span[b-95wujukxn2]{ display:none }

/* ---- Color utilities for rare overrides ---- */
.nav-item[b-95wujukxn2]  .nav-link--warning{
    background: #E99A28; color:#fff;
}
.nav-item[b-95wujukxn2]  .nav-link--warning:hover{ filter:brightness(1.05) }

/* ---- Optional: dedicated “New Session” & “Archive” styling for clarity ---- */
.nav-item--primary[b-95wujukxn2]  .nav-link{
    background: rgba(255,255,255,.10);
}
.nav-item--primary[b-95wujukxn2]  .nav-link:hover{
    background: rgba(255,255,255,.16);
}

/* Ensure the white strip behind items doesn’t show (removed old bg) */
.nav-item[b-95wujukxn2]{
    background: transparent;
}

/* Keep legacy sprite classes in case they are referenced somewhere else */
.bi-house-door-fill-nav-menu[b-95wujukxn2],
.bi-plus-square-fill-nav-menu[b-95wujukxn2],
.bi-list-nested-nav-menu[b-95wujukxn2]{
    background-size:cover;
}
/* /Pages/Account.razor.rz.scp.css */
/* Account.razor.css — refreshed, responsive, and tokenized */

/* ---------- Page shell ---------- */
.accountDetails[b-l8i1l30hw8]{
    width:min(980px, 92vw);
    margin: 0 auto 2rem;
    padding: 1rem 1rem 2rem;
    background: var(--tg-card, #fff);
    border:1px solid var(--tg-line, #e7eef0);
    border-radius: var(--tg-radius, 18px);
    box-shadow: var(--tg-shadow, 0 12px 36px rgba(10,40,50,.10));
}

/* Headings */
#page-heading[b-l8i1l30hw8]{ color: var(--tg-primary,#2C727E); padding-top:.5rem }
.accountDetails .heading[b-l8i1l30hw8]{
    margin: 1.25rem 0 .75rem 0;
    color: var(--tg-primary,#2C727E);
    text-decoration: none;
    font-weight: 800;
}

/* ---------- Form layout ---------- */
.accountDetails .form-group[b-l8i1l30hw8]{
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: center;
    gap: .75rem 1rem;
    margin: .5rem 0;
}

.accountDetails .form-group label[b-l8i1l30hw8]{
    color: var(--tg-primary,#2C727E);
    margin: 0;
}

.accountDetails .form-group input[b-l8i1l30hw8],
.accountDetails .form-group select[b-l8i1l30hw8],
.accountDetails .form-control[b-l8i1l30hw8]{
    width: 100%;
    height: 42px;
    padding: .55rem .75rem;
    border:1px solid var(--tg-line,#e7eef0);
    border-radius: 10px;
    background:#fff;
    color: inherit;
    font: inherit;
}

.accountDetails .form-group input:focus[b-l8i1l30hw8],
.accountDetails .form-group select:focus[b-l8i1l30hw8]{
    outline: none;
    box-shadow: var(--tg-focus, 0 0 0 3px rgba(44,114,126,.25));
}

/* Specific fields that previously had fixed widths → make fluid */
.accountDetails .form-group #card-number[b-l8i1l30hw8],
.accountDetails .form-group #card-number-details[b-l8i1l30hw8]{
    width: 100%;
    margin: 0;
    color: var(--tg-primary,#2C727E);
}

/* Custom select arrow */
.accountDetails .form-group #customer-subscription[b-l8i1l30hw8]{
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background:
            url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='black' class='bi bi-caret-down-fill' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658c-.566-.65-.106-1.658.753-1.658h9.592c.86 0 1.32 1.008.753 1.658L8.753 11.14a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E")
            no-repeat right .75rem center / 1rem auto #fff;
    padding-right: 2rem;
}

/* Labels that acted as titles */
.accountDetails .form-group #card-detail-title[b-l8i1l30hw8]{
    color: var(--tg-primary,#2C727E);
}

/* ---------- Buttons ---------- */
.accountDetails .btn[b-l8i1l30hw8]{
    background-color: var(--tg-primary,#2C727E);
    color:#fff;
    border:none;
    border-radius: 10px;
    padding: .6rem 1rem;
    cursor:pointer;
    transition: transform .08s ease, filter .2s ease;
    margin-left: 0;
}
.accountDetails .btn:hover[b-l8i1l30hw8]{ filter:brightness(1.05) }
.accountDetails .btn:active[b-l8i1l30hw8]{ transform: translateY(1px) }

.accountDetails #payment-method-button[b-l8i1l30hw8]{
    background-color:#04485D;
    color:#fff;
    position: relative;
}

.accountDetails .btn-link[b-l8i1l30hw8]{
    border:0;
    background:transparent;
    color:#cc2b2b;
    margin-left: 0;
    padding:.35rem .25rem;
    cursor:pointer;
}
.accountDetails .btn-link:hover[b-l8i1l30hw8]{ text-decoration: underline }

/* ---------- Modal ---------- */
.accountDetails .modal-backdrop[b-l8i1l30hw8]{
    position: fixed;
    inset: 0;
    background: rgba(12,45,49,.45);
    backdrop-filter: blur(2px);
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.accountDetails .modal-backdrop .modal-body[b-l8i1l30hw8]{
    background:#fff;
    border-radius: var(--tg-radius-sm, 12px);
    box-shadow: var(--tg-shadow, 0 12px 36px rgba(10,40,50,.10));
    width: min(520px, 96vw);
    padding: 1rem;
    position: relative;
    animation: tg-zoom-in-b-l8i1l30hw8 .18s ease-out;
}

.accountDetails .modal-backdrop .modal-content[b-l8i1l30hw8]{
    border: none;
}

.accountDetails .modal-backdrop .close-button[b-l8i1l30hw8]{
    position:absolute;
    top:.5rem; right:.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--tg-muted,#55757b);
    cursor:pointer;
}

.accountDetails .modal-backdrop .modal-buttons[b-l8i1l30hw8]{
    display:flex; gap:.75rem; justify-content:center; margin-top:1rem;
}

.accountDetails .modal-backdrop .modal-content .btn-confirm[b-l8i1l30hw8]{
    background:#44485D;
    color:#fff;
    border-radius:10px;
    width: 120px;
    padding:.55rem 0;
}

.accountDetails .modal-backdrop .modal-content .btn-cancel[b-l8i1l30hw8]{
    background:#fff;
    border:1px solid var(--tg-line,#e7eef0);
    color: var(--tg-ink,#0c2d31);
    border-radius:10px;
    width:120px;
    padding:.55rem 0;
}

.accountDetails .modal-backdrop #update-submit-button[b-l8i1l30hw8]{
    padding:.6rem 1rem;
    background-color: var(--tg-primary,#2C727E);
    color:#fff;
    border:none;
    border-radius:10px;
}

/* ---------- Tiny helpers ---------- */
@keyframes tg-zoom-in-b-l8i1l30hw8{
    from{ transform: scale(.96); opacity:0 }
    to{ transform: scale(1); opacity:1 }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px){
    .accountDetails .form-group[b-l8i1l30hw8]{
        grid-template-columns: 160px 1fr;
    }
}

@media (max-width: 640px){
    .accountDetails[b-l8i1l30hw8]{ padding: .75rem 1rem 1.25rem }
    .accountDetails .form-group[b-l8i1l30hw8]{
        grid-template-columns: 1fr;
        align-items: start;
    }
    .accountDetails .form-group label[b-l8i1l30hw8]{
        margin-bottom:.25rem;
    }
}
/* /Pages/Archive.razor.rz.scp.css */
.chat-messages[b-fki2ztduni] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
}

    .chat-messages li[b-fki2ztduni] {
        padding: 10px;
        margin: 5px 20px;
        border-radius: 10px;
        max-width: 70%;
        word-wrap: break-word;
        white-space: pre-wrap;
    }

    .chat-messages .assistant-message .chat-response[b-fki2ztduni] {
        padding-top: 8px;
    }

    .chat-messages .assistant-message .thera-icon img[b-fki2ztduni] {
        width: 100%;
    }

    .chat-messages .assistant-message .thera-icon[b-fki2ztduni] {
        border-radius: 50%;
        width: 40px;
        padding: 5px;
        margin-right: 10px;
        height: 40px;
    }

.user-message[b-fki2ztduni] {
    align-self: flex-end;
    background-color: #2c727e33;
    max-width: 800px;
    text-decoration: #000000;
    text-align: right;
    list-style-type: none;
}

.assistant-message .chat-response[b-fki2ztduni] {
    padding-top: 10px;
}

.assistant-message[b-fki2ztduni] {
    align-self: flex-start;
    background-color: transparent;
    width: 800px;
    color: #000;
    display: flex;
}

.card[b-fki2ztduni] {
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 80px;
    margin-right: 80px;
}

#chat-symbol[b-fki2ztduni] {
    margin-bottom: 20px;
}

#no-chat[b-fki2ztduni] {
    margin-top: 60px;
    margin-bottom: 20px;
}

.card .card-body .view-user-message[b-fki2ztduni] {
    color: #04485D;
    font-size: 24px;
    font-family: Arial;
}

.card .card-body .first-words[b-fki2ztduni] {
    color: #04485D;
    font-family: Arial;
    display: flex;
    justify-content: space-between
}

.card .card-body .text-end[b-fki2ztduni] {
    gap: 0.5rem;
    display: flex
}

.card .card-body .chat-date[b-fki2ztduni] {
    color: #939090;
}

#page-heading[b-fki2ztduni] {
    color: #2C727E;
    padding-top: 10px;
    margin-left: 80px
}
/* /Pages/Authentication/Login.razor.rz.scp.css */
.title[b-w0jtaxiaih] {
    text-align: center;
    color: #04485D;
}

.subtitle[b-w0jtaxiaih] {
    text-align: center;
    margin: 0 auto;
    max-width: 600px;
    padding: 20px;
}

#forgotpassword[b-w0jtaxiaih] {
    text-align: end
}

.custom-button[b-w0jtaxiaih] {
    background-color: #04485D;
    color: white;
    width: 300px
}

.logo-container[b-w0jtaxiaih] {
    width: 15%;
    text-align: center;
    margin: 0 auto;
    padding-bottom: 20px;
}

    .logo-container img[b-w0jtaxiaih] {
        width: 100%;
    }

    .external-login[b-w0jtaxiaih] {
        margin-top:25px
    }

.gsi-material-button[b-w0jtaxiaih] {
    background-color: WHITE;
    background-image: none;
    border: 1px solid #747775;
    border-radius: 4px;
    box-sizing: border-box;
    color: #1f1f1f;
    cursor: pointer;
    font-family: 'Roboto', arial, sans-serif;
    font-size: 14px;
    height: 30px;
    letter-spacing: 0.25px;
    outline: none;
    overflow: hidden;
    padding: 0 12px;
    position: relative;
    text-align: center;
    transition: background-color .218s, border-color .218s, box-shadow .218s;
    vertical-align: middle;
    white-space: nowrap;
    width: 200px;
    max-width: 400px;
    min-width: min-content;
    margin:5px;
}

    .gsi-material-button .gsi-material-button-icon[b-w0jtaxiaih] {
        height: 20px;
        margin-right: 12px;
        min-width: 20px;
        width: 20px;
    }

    .gsi-material-button .gsi-material-button-content-wrapper[b-w0jtaxiaih] {
        align-items: center;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        height: 100%;
        justify-content: space-between;
        position: relative;
        width: 100%;
    }

    .gsi-material-button .gsi-material-button-contents[b-w0jtaxiaih] {
        flex-grow: 1;
        font-family: 'Roboto', arial, sans-serif;
        overflow: hidden;
        text-overflow: ellipsis;
        vertical-align: top;
        font-weight: bold;
        text-align: justify;
    }

    .gsi-material-button .gsi-material-button-state[b-w0jtaxiaih] {
        transition: opacity .218s;
        bottom: 0;
        left: 0;
        opacity: 0;
        position: absolute;
        right: 0;
        top: 0;
    }

    .gsi-material-button:disabled[b-w0jtaxiaih] {
        cursor: default;
        background-color: #ffffff61;
        border-color: #1f1f1f1f;
    }

        .gsi-material-button:disabled .gsi-material-button-contents[b-w0jtaxiaih] {
            opacity: 38%;
        }

        .gsi-material-button:disabled .gsi-material-button-icon[b-w0jtaxiaih] {
            opacity: 38%;
        }

    .gsi-material-button:not(:disabled):active .gsi-material-button-state[b-w0jtaxiaih],
    .gsi-material-button:not(:disabled):focus .gsi-material-button-state[b-w0jtaxiaih] {
        background-color: #303030;
        opacity: 12%;
    }

    .gsi-material-button:not(:disabled):hover[b-w0jtaxiaih] {
        box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
    }

        .gsi-material-button:not(:disabled):hover .gsi-material-button-state[b-w0jtaxiaih] {
            background-color: #303030;
            opacity: 8%;
        }

p[b-w0jtaxiaih] {
    text-align: center;
    color: #04485D;
}
/* /Pages/EarlyAccess.razor.rz.scp.css */
/* Pages/EarlyAccess.razor.css — page-scoped, no @import */

:root[b-jct4bzg5h6] {
    --tg-primary: #2C727E;
    --tg-ink: #0c2d31;
    --tg-muted: #55757b;
    --tg-card: #ffffff;
    --tg-line: #e7eef0;
    --tg-radius: 18px;
    --tg-shadow: 0 12px 36px rgba(10,40,50,.10);

    /* Layout knobs for the date hero */
    --ea-header-safe: clamp(160px, 20vh, 260px);
    --ea-date-top-offset: clamp(24px, 6vh, 56px);
    --tg-page-bg: #f6fbfc; /* gentle fallback page bg */
}

.ea-root[b-jct4bzg5h6] {
    padding: 0 1rem 4rem;
    background-color: var(--tg-page-bg);
}

.ea-hero[b-jct4bzg5h6] {
    display: grid;
    place-items: center;
    padding-top: var(--ea-header-safe);
    padding-bottom: .5rem;
    min-height: clamp(260px, 46vh, 520px); /* ensures the date never clips on top */
}

/* Date canvas area */
.ea-date-wrap[b-jct4bzg5h6] {
    position: relative;
    width: min(1100px, 96vw);
    height: clamp(180px, 34vh, 360px);
    margin-inline: auto;
}
.ea-date-wrap canvas[b-jct4bzg5h6] {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    top: var(--ea-date-top-offset);
    width: 100%;
    height: calc(100% - var(--ea-date-top-offset));
    pointer-events: none; /* never intercept clicks */
    z-index: 1;
}

/* Accessible but visually hidden text */
.sr-only[b-jct4bzg5h6] {
    position: absolute !important;
    width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* CTA card */
.ea-card[b-jct4bzg5h6] {
    position: relative;
    margin: 1.6rem auto 0;
    max-width: 640px;
    background: var(--tg-card);
    border: 1px solid var(--tg-line);
    border-radius: var(--tg-radius);
    box-shadow: var(--tg-shadow);
}
.ea-card[b-jct4bzg5h6]::after {
    content: "";
    position: absolute;
    inset: -6px -8px -10px;
    border-radius: calc(var(--tg-radius) + 12px);
    box-shadow: 0 24px 60px rgba(10,40,50,.08);
    pointer-events: none;
}
.ea-card-body[b-jct4bzg5h6] { padding: 1.6rem 1.4rem; text-align: center; }
.ea-card-title[b-jct4bzg5h6] { margin: 0 0 .25rem; color: var(--tg-primary); font-weight: 800; }
.ea-card-sub[b-jct4bzg5h6] { margin: 0 0 1rem; color: var(--tg-muted); }

.ea-btn[b-jct4bzg5h6] {
    display: inline-block;
    padding: .6rem 1rem;
    border-radius: 999px;
    background: var(--tg-primary); color: #fff; border: 1px solid var(--tg-primary);
    font-weight: 800; text-decoration: none;
}
.ea-btn:hover[b-jct4bzg5h6] { filter: brightness(1.05); }

/* Inline alert */
.ea-alert[b-jct4bzg5h6] {
    background: #fff2f2; border: 1px solid #ffdede; color: #7b1c1c;
    border-radius: 10px; padding: .6rem; margin-bottom: .75rem;
}

.ea-muted[b-jct4bzg5h6] { color: var(--tg-muted); margin: .75rem 0 0; }
.sm[b-jct4bzg5h6] { font-size: .9rem; }

/* Images inside the CTA (if any fallback) */
.ea-card img[b-jct4bzg5h6] { max-width: 240px; width: 100%; height: auto; }

/* Google button (GIS-like) */
.google-btn[b-jct4bzg5h6]{
    display:inline-flex; align-items:center; gap:.6rem;
    height:40px; padding:0 16px; border-radius:20px;
    background:#fff; border:1px solid #dadce0;
    font:600 14px/1.1 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans";
    color:#3c4043; text-decoration:none;
    box-shadow:0 1px 2px rgba(0,0,0,.05);
}
.google-btn:hover[b-jct4bzg5h6]{ background:#f8f9fa; }
.google-btn:active[b-jct4bzg5h6]{ background:#f1f3f4; }
.google-btn:focus-visible[b-jct4bzg5h6]{ outline:3px solid rgba(26,115,232,.35); outline-offset:2px; }
.google-icon[b-jct4bzg5h6]{ width:20px; height:20px; flex:0 0 20px; display:block; }

/* Small screens */
@media (max-width: 640px) {
    .ea-card[b-jct4bzg5h6] { margin-top: .8rem; }
    .ea-root[b-jct4bzg5h6] { --ea-date-top-offset: clamp(28px, 7vh, 64px); }
}
/* /Pages/EarlyAccessThanks.razor.rz.scp.css */
/* Pages/EarlyAccessThanks.razor.css — build-safe (no @import) */

.ea-root[b-061xl55z7o] { padding: 0 1rem 4rem; }
.ea-hero[b-061xl55z7o] { display: grid; place-items: center; padding-top: 2.2rem; padding-bottom: 0.5rem; }

.ea-date-wrap[b-061xl55z7o] {
    position: relative;
    width: min(1100px, 96vw);
    height: clamp(180px, 34vh, 360px);
    margin-inline: auto;
}
.ea-date-wrap canvas[b-061xl55z7o] { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.sr-only[b-061xl55z7o] {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Card + button styles with explicit colors (no reliance on :root) */
.ea-card[b-061xl55z7o] {
    margin: 1.6rem auto 0; max-width: 640px;
    background: #ffffff; border: 1px solid #e7eef0; border-radius: 18px;
    box-shadow: 0 12px 36px rgba(10,40,50,.10);
}
.ea-card-body[b-061xl55z7o] { padding: 1.6rem 1.4rem; text-align: center; }
.ea-card-title[b-061xl55z7o] { margin: 0 0 .25rem; color: #2C727E; font-weight: 800; }
.ea-card-sub[b-061xl55z7o] { margin: 0 0 1rem; color: #55757b; }

.ea-btn[b-061xl55z7o] {
    display: inline-block; padding: .6rem 1rem; border-radius: 999px;
    background: #2C727E; color: #fff; border: 1px solid #2C727E; font-weight: 800;
}
.ea-btn:hover[b-061xl55z7o] { filter: brightness(1.05); }

.ea-alert[b-061xl55z7o] { background: #fff2f2; border: 1px solid #ffdede; color: #7b1c1c; border-radius: 10px; padding: .6rem; margin-bottom: .75rem; }
.ea-muted[b-061xl55z7o] { color: #55757b; margin: .75rem 0 0; }
.sm[b-061xl55z7o] { font-size: .9rem; }

@media (max-width: 640px) { .ea-card[b-061xl55z7o] { margin-top: .8rem; } }
/* /Pages/Home.razor.rz.scp.css */
/* Home.razor.css (revamped, with tweaks requested) */

:root[b-91qmdg6e88]{
    --tg-topbar: 3.5rem;
    --tg-sidebar-w: 250px;
    --tg-composer-h: clamp(72px, 12vh, 96px);
    --tg-radius: 12px;
    --tg-radius-pill: 999px;
}

main[b-91qmdg6e88]{ position:relative }

/* ---------- Chat area ---------- */
.main-container[b-91qmdg6e88]{
    height: calc(100dvh - var(--tg-topbar) - var(--tg-composer-h));
    overflow:auto;
    padding: clamp(.5rem, 1.6vw, 1rem);
    scroll-behavior: smooth;
}

/* Chat list */
.main-container .chat-container[b-91qmdg6e88]{
    display:flex;
    flex-direction:column;
    gap:.75rem;
}

/* Assistant row */
.main-container .assistant-message[b-91qmdg6e88]{
    display:flex;
    align-items:flex-start;
    gap:.6rem;
    padding-top:.25rem;
    animation: fadeInUp-b-91qmdg6e88 .4s ease-out both;
}

/* Avatar */
.main-container .assistant-message .thera-icon[b-91qmdg6e88]{
    width:40px; height:40px; flex:0 0 40px;
    border-radius:50%;
    padding:4px;
    background:#fff;
    box-shadow: var(--tg-shadow-sm);
    border:1px solid var(--tg-line);
}
.main-container .assistant-message .thera-icon img[b-91qmdg6e88]{
    display:block; width:100%; height:100%; object-fit:contain;
}

/* Bubbles (less pill, more modern) */
.main-container .assistant-message .chat-response[b-91qmdg6e88]{
    background:#fff;
    color:var(--tg-ink);
    border:1px solid var(--tg-line);
    border-radius: var(--tg-radius);
    padding:.6rem .8rem;
    box-shadow: var(--tg-shadow-sm);
    white-space:pre-wrap;
    max-width:min(70ch, 92%);
}
.main-container .chat-container .user-message[b-91qmdg6e88]{
    align-self:flex-end;
    display:inline-block;
    background: linear-gradient(180deg, rgba(44,114,126,.10), rgba(44,114,126,.16));
    color:var(--tg-ink);
    border:1px solid var(--tg-line);
    border-radius: var(--tg-radius);
    padding:.55rem .8rem;
    box-shadow: var(--tg-shadow-sm);
    max-width:min(70ch, 92%);
    animation: fadeInUp-b-91qmdg6e88 .35s ease-out both;
}

/* ---------- Composer ---------- */
.prompt-container[b-91qmdg6e88]{
    position:fixed;
    left:0; right:0; bottom:0;
    z-index:1100;
    background:var(--tg-card);
    border-top:1px solid var(--tg-line);
    box-shadow: 0 -6px 24px rgba(10,40,50,.06);
    padding: clamp(.75rem, 2.4vw, 1rem);
    display:flex; align-items:center; gap:.75rem;
    min-height: var(--tg-composer-h);
}

/* Respect left sidebar on desktop */
@media (min-width: 641px){
    .prompt-container[b-91qmdg6e88]{
        width: calc(100vw - var(--tg-sidebar-w));
        left: var(--tg-sidebar-w);
        border-top-left-radius: var(--tg-radius);
        border-top-right-radius: 0;
    }
}

/* Textarea — long input, wraps, auto-expands */
.prompt-container .response[b-91qmdg6e88]{
    width:100%;
    resize:none;                 /* we expand automatically */
    min-height: 44px;
    max-height: 34vh;
    padding:.7rem 3.2rem .7rem .9rem;   /* room for the send btn */
    border:1px solid var(--tg-line);
    border-radius: var(--tg-radius-pill); /* pill here feels good */
    background:#fff;
    line-height:1.35;
    transition: box-shadow .2s ease, border-color .2s ease;
    overflow:auto;
    /* Progressive enhancement (Chrome/Edge/Firefox recent):
       lets the field grow with content without JS */
    field-sizing: content;
}
.prompt-container .response:focus[b-91qmdg6e88]{
    border-color: var(--tg-primary);
    box-shadow: var(--tg-focus);
}

/* Send button (floating) */
.prompt-container .submit-button[b-91qmdg6e88]{
    position:absolute;
    right: clamp(.75rem, 2.4vw, 1rem);
    top: 50%;
    transform: translateY(-50%);
    display:grid; place-items:center;
    width: 44px; height:44px;
    border-radius:50%;
    border:1px solid transparent;
    background: var(--tg-primary);
    color:#fff; cursor:pointer;
    box-shadow: var(--tg-shadow-sm);
    transition: transform .12s ease, filter .15s ease, box-shadow .2s ease;
}
.prompt-container .submit-button:hover[b-91qmdg6e88]{ filter: brightness(1.05) }
.submit-button-clicked[b-91qmdg6e88]{ transform: translateY(-50%) scale(1.06) }
.prompt-container .submit-button:disabled[b-91qmdg6e88],
.prompt-container .submit-button:disabled:hover[b-91qmdg6e88]{
    background:#cfd8dc; color:#fff; cursor:not-allowed; filter:none;
}

/* Optional glow on interaction */
.prompt-glow[b-91qmdg6e88]{
    box-shadow: 0 0 0 4px rgba(44,114,126,.08), 0 -6px 24px rgba(10,40,50,.06)
}

/* ---------- Typographic helpers ---------- */
.title[b-91qmdg6e88]{
    color:var(--tg-ink);
    text-align:center;
    font-weight:800;
    animation: fadeIn-b-91qmdg6e88 .5s ease-out both;
}
.subtitle[b-91qmdg6e88]{
    color:var(--tg-muted);
    text-align:center;
    margin-bottom:.75rem;
    animation: fadeIn-b-91qmdg6e88 .6s ease-out both;
}

/* ---------- Loading ---------- */
.loading-container[b-91qmdg6e88]{
    position:fixed; inset:0; display:flex; align-items:center; justify-content:center;
    background: rgba(255,255,255,.75);
    z-index: 1200;
}
.loader[b-91qmdg6e88]{
    border:5px solid #e9eff2;
    border-top:5px solid var(--tg-primary);
    border-radius:50%;
    width:36px; height:36px;
    animation: spin-b-91qmdg6e88 1s linear infinite;
}

/* ---------- Animations ---------- */
@keyframes spin-b-91qmdg6e88{ to{ transform: rotate(360deg) } }
@keyframes fadeIn-b-91qmdg6e88{ from{ opacity:0; transform: translateY(2px) } to{ opacity:1; transform:none } }
@keyframes fadeInUp-b-91qmdg6e88{ from{ opacity:0; transform: translateY(8px) } to{ opacity:1; transform:none } }

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
    *[b-91qmdg6e88]{ animation:none !important; transition:none !important; scroll-behavior:auto !important }
}

/* ---------- Small screens ---------- */
@media (max-width: 640px){
    .main-container[b-91qmdg6e88]{ padding: .75rem .75rem 1rem }
    .main-container .assistant-message .chat-response[b-91qmdg6e88],
    .main-container .chat-container .user-message[b-91qmdg6e88]{ max-width: 100% }
}

/* Optional response highlight */
.response-container[b-91qmdg6e88]{ display:flex; justify-content:center; align-items:center; height:100px }
.response-glow[b-91qmdg6e88]{ box-shadow: 0 0 0 3px rgba(233,154,40,.25) }
/* /Pages/PurchaseHistory.razor.rz.scp.css */
body[b-d26ofbcjm6] {
}

#page-heading[b-d26ofbcjm6] {
    color: #2C727E;
    padding-top: 10px
}

.purchase-history-table[b-d26ofbcjm6] {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #cbd5e0;
    border-top: 1px solid #cbd5e0;
    border-radius: 6px;
    overflow: hidden;
}

    .purchase-history-table th[b-d26ofbcjm6],
    .purchase-history-table td[b-d26ofbcjm6] {
        border: 1px solid #cbd5e0;
        padding: 12px;
        text-align: left;
        color: #2c7a7b;
        font-weight: 500;
    }

    .purchase-history-table th[b-d26ofbcjm6] {
        background-color: #f8fafc;
    }

    .purchase-history-table tr:nth-child(even)[b-d26ofbcjm6] {
        background-color: #f1f5f9;
    }
/* /Pages/SidebarMenu.razor.rz.scp.css */
/* SidebarMenu.razor.css — refreshed, token-driven, responsive */

/* -------- Basics & layout -------- */
.toggle[b-rgjl0nesgc]{
    display:flex;
    flex-direction:column;
    gap:.5rem;
}

/* Container spacing for the nav lists inside the sidebar */
:where(.nav)[b-rgjl0nesgc]{
    padding:0 12px;
}

/* -------- CTA / Buttons -------- */
.btn[b-rgjl0nesgc]{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:.5rem;

    background: linear-gradient(180deg, #EAA33B 0%, #E99A28 100%);
    color:#fff;
    font-weight:800;

    border:none;
    border-radius: var(--tg-radius-sm, 12px);
    padding:.75rem 1rem;
    margin: .75rem 12px 2rem;

    box-shadow: var(--tg-shadow-sm, 0 6px 18px rgba(10,40,50,.08));
    transition: transform .18s ease, box-shadow .18s ease, filter .2s ease;
    cursor:pointer;
}

.btn:hover[b-rgjl0nesgc]{
    transform: translateY(-1px);
    box-shadow: var(--tg-shadow, 0 12px 36px rgba(10,40,50,.10));
    filter: brightness(1.02);
}

.btn:focus-visible[b-rgjl0nesgc]{
    outline:none;
    box-shadow: var(--tg-focus, 0 0 0 3px rgba(44,114,126,.25));
}

/* -------- Pills navigation -------- */
.nav-pills[b-rgjl0nesgc]{
    display:flex;
    flex-direction:column;
    gap:.5rem;
    margin: 0 0 1rem;
}

/* Each item becomes a full-width pill with subtle shadow */
.nav-pills .nav-item[b-rgjl0nesgc]{
    list-style:none;
    border-radius:999px;
    background: #D9D9D9;
    color: var(--tg-primary, #2C727E);

    margin:0 12px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.03);
    transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

/* Default link look inside each item */
.nav-pills .nav-item :where(.nav-link)[b-rgjl0nesgc]{
    display:flex;
    align-items:center;
    gap:.6rem;

    width:100%;
    height:42px;
    padding: 0 16px;

    color: var(--tg-primary, #2C727E) !important;
    text-decoration:none;
    border-radius:999px;
    outline:none;
}

/* Icon spacing */
.nav-item .nav-link svg[b-rgjl0nesgc]{
    margin-right:4px;
    flex:0 0 auto;
    vertical-align:middle;
}

/* Hover state */
.nav-pills .nav-item :where(.nav-link:hover)[b-rgjl0nesgc]{
    color:#fff !important;
}

/* Item hover: lift slightly, tint bg */
.nav-pills .nav-item:hover[b-rgjl0nesgc]{
    background: rgba(44,114,126,.20);
    transform: translateY(-1px);
    box-shadow: var(--tg-shadow-sm, 0 6px 18px rgba(10,40,50,.08));
}

/* Active pill (current page) */
.nav-pills .nav-link.active[b-rgjl0nesgc],
.nav-pills .show > .nav-link[b-rgjl0nesgc]{
    background:#fff;
    color: var(--tg-primary, #2C727E) !important;
    box-shadow: 0 2px 10px rgba(10,40,50,.10), inset 0 0 0 2px var(--tg-primary, #2C727E);
}

/* Upgrade pill variant */
.profile-container .nav-item .nav-link.upgrade[b-rgjl0nesgc]{
    background: #E99A28;
    color:#fff !important;
    font-weight:800;
    text-align:center;
}

.nav-pills .nav-item .nav-link.upgrade:hover[b-rgjl0nesgc]{
    background:#d7891f;
}

/* -------- Profile header -------- */
.profile-container[b-rgjl0nesgc]{
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    position:relative;
    padding-top:1.25rem;
    margin-bottom:.5rem;
}

.profile-container .profile-image[b-rgjl0nesgc]{
    position:relative;
    width: 120px;
    height: 120px;
    margin-top:.5rem;
}

.profile-container .profile-image .circle-image[b-rgjl0nesgc]{
    width:100%;
    height:100%;
    border-radius:50%;
    object-fit:cover;
    box-shadow: var(--tg-shadow-sm, 0 6px 18px rgba(10,40,50,.08));
    background:#fff;
}

/* When a real image is present */
.profile-container .profile-image .theragen-profile-picture .upload-image[b-rgjl0nesgc]{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:50%;
    box-shadow: var(--tg-shadow-sm, 0 6px 18px rgba(10,40,50,.08));
}

/* Edit (pencil) button */
.profile-container .profile-image .edit-image-button[b-rgjl0nesgc]{
    position:absolute;
    bottom:6px;
    right:6px;
    width:28px;
    height:28px;
    display:grid;
    place-items:center;

    color:#fff;
    background:#E99A28;
    border-radius:50%;
    padding:4px;

    box-shadow: 0 6px 16px rgba(0,0,0,.18);
    transition: transform .16s ease, filter .16s ease;
    cursor:pointer;
}

.profile-container .profile-image .edit-image-button:hover[b-rgjl0nesgc]{
    transform: scale(1.06);
    filter: brightness(1.05);
}

.profile-container .client-name[b-rgjl0nesgc],
.profile-container .client-email[b-rgjl0nesgc]{
    margin:4px 0;
    color:#FFFFFF;
    opacity:.95;
}

/* -------- State helpers for slide-in host (kept for consistency) -------- */
.profile-container .SidebarVisible[b-rgjl0nesgc]{
    right:0;
    position:fixed;
    width:250px;
    height:100%;
    background-color: var(--tg-primary, #2C727E);
    box-shadow: 2px 0 5px rgba(0,0,0,.1);
    transition: transform .3s ease-in-out;
    transform: translateX(0%);
    z-index:1100;
    overflow-x:auto;
    margin-top:1px;
}

.profile-container .SidebarHidden[b-rgjl0nesgc]{
    right:0;
    position:fixed;
    width:250px;
    height:100%;
    background-color: var(--tg-primary, #2C727E);
    box-shadow: 2px 0 5px rgba(0,0,0,.1);
    transition: transform .3s ease-in-out;
    transform: translateX(100%);
    z-index:1100;
    overflow-x:auto;
    margin-top:1px;
}

/* “Manage” area background parity */
#manage-nav[b-rgjl0nesgc],
#therapist-sidebar[b-rgjl0nesgc]{
    background-color: var(--tg-primary, #2C727E);
    background-image:none;
}

/* -------- Accessibility -------- */
.nav-pills .nav-item :where(.nav-link):focus-visible[b-rgjl0nesgc]{
    box-shadow: var(--tg-focus, 0 0 0 3px rgba(44,114,126,.25));
    background:#fff;
}

/* -------- Responsive polish -------- */
@media (max-width: 480px){
    .btn[b-rgjl0nesgc]{
        margin: .5rem 8px 1.25rem;
        padding:.65rem .9rem;
        border-radius: 10px;
    }

    .nav-pills .nav-item[b-rgjl0nesgc]{
        margin:0 8px;
    }

    .nav-pills .nav-item :where(.nav-link)[b-rgjl0nesgc]{
        height:40px;
        padding:0 14px;
    }

    .profile-container .profile-image[b-rgjl0nesgc]{
        width:96px;
        height:96px;
    }
}

/* High-contrast/hover reduction friendly tweaks */
@media (hover:none){
    .nav-pills .nav-item:hover[b-rgjl0nesgc]{
        transform:none;
        box-shadow: inset 0 0 0 1px rgba(0,0,0,.04);
    }
}
/* /Pages/Subscription.razor.rz.scp.css */
/* Pages/Subscription.razor.css
   Modernized plans grid + card styles using TheraGen tokens. */

/* ---------- Layout ---------- */
.subscription-container[b-8ofjznnxuf]{
    --gap: clamp(14px, 2.2vw, 24px);
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap:var(--gap);
    width:min(1100px, 92vw);
    margin-inline:auto;
    padding: clamp(12px, 2.5vh, 24px);
}
.subscription-container[b-8ofjznnxuf]::before,
.subscription-container[b-8ofjznnxuf]::after{ content:none; }

/* Optional row helper if used */
.subscription-container .rows[b-8ofjznnxuf]{ margin:0 }

/* ---------- Cards ---------- */
.subscription-card[b-8ofjznnxuf]{
    --pad: clamp(16px, 2.2vw, 22px);
    background:var(--tg-card);
    border:1px solid var(--tg-line);
    border-radius:var(--tg-radius);
    box-shadow:var(--tg-shadow-sm);
    display:flex;
    flex-direction:column;
    padding:var(--pad);
    transition:
            transform .28s cubic-bezier(.2,.8,.2,1),
            box-shadow .28s cubic-bezier(.2,.8,.2,1),
            border-color .28s ease;
    will-change: transform, box-shadow;
}
.subscription-card:hover[b-8ofjznnxuf]{
    transform: translateY(-4px);
    box-shadow:var(--tg-shadow);
    border-color: color-mix(in oklab, var(--tg-primary) 40%, var(--tg-line));
}
.subscription-card.active[b-8ofjznnxuf]{
    background: linear-gradient(180deg, #2C727E 0%, #145F6D 100%);
    color:#fff;
    border-color: transparent;
    box-shadow:var(--tg-shadow);
}

/* Top area */
.subscription-card .plan-title[b-8ofjznnxuf]{
    text-align:center;
    margin-bottom:.25rem;
}
.subscription-card .plan-title h5[b-8ofjznnxuf]{
    margin:0;
    font-weight:800;
    color: currentColor;
}

/* Middle info block keeps height parity across cards */
.subscription-card .plan-info[b-8ofjznnxuf]{
    display:grid;
    align-content:start;
    gap:.35rem;
    min-height: 120px;
    margin-top:.35rem;
}
.subscription-card .plan-info .plan-description p[b-8ofjznnxuf]{ margin:0; color:var(--tg-muted) }
.subscription-card.active .plan-info .plan-description p[b-8ofjznnxuf]{ color:#E8F5F7 }

.subscription-card .plan-info .plan-price .price[b-8ofjznnxuf]{
    margin:0;
    font-weight:800;
    color: var(--tg-primary);
    font-size: clamp(1rem, 2.4vw, 1.15rem);
}
.subscription-card.active .plan-info .plan-price .price[b-8ofjznnxuf]{ color:#fff }

/* Divider */
.subscription-card hr[b-8ofjznnxuf]{
    margin:.65rem 0 !important;
    border:0;
    border-top:1px solid var(--tg-line);
    opacity:.75;
}
.subscription-card.active hr[b-8ofjznnxuf]{ border-color: rgba(255,255,255,.25) }

/* Details list */
.subscription-card .plan-details[b-8ofjznnxuf]{
    display:grid;
    gap:.45rem;
    margin-top:.35rem;
}
.subscription-card .plan-details p[b-8ofjznnxuf]{
    margin:0 0 .25rem 0 !important;
    color:var(--tg-muted);
    font-weight:700;
    letter-spacing:.01em;
}
.subscription-card.active .plan-details p[b-8ofjznnxuf]{ color:#EAF6F8 }

.feature-container[b-8ofjznnxuf]{
    display:grid;
    gap:.4rem;
    font-size:.92rem;
}
.feature-row[b-8ofjznnxuf]{
    display:grid;
    grid-template-columns: 18px 1fr;
    align-items:start;
    gap:.45rem;
}
.feature-row svg[b-8ofjznnxuf]{ flex:0 0 16px }
.subscription-card.active .feature-row span[b-8ofjznnxuf]{ color:#F7FEFF }

/* Per-plan vertical rhythm nudge */
.subscription-card.free    .plan-price[b-8ofjznnxuf]{ padding-top:.75rem }
.subscription-card.basic   .plan-price[b-8ofjznnxuf]{ padding-top:1rem }
.subscription-card.standard .plan-price[b-8ofjznnxuf]{ padding-top:1rem }
.subscription-card.premium .plan-price[b-8ofjznnxuf]{ padding-top:.25rem }

/* ---------- Buttons ---------- */
.subscription-card button[b-8ofjznnxuf],
.subscription-card .btn[b-8ofjznnxuf]{
    --btn-pad-x: 1rem;
    --btn-pad-y: .6rem;
    align-self:center;
    margin-top: .65rem;
    padding: var(--btn-pad-y) var(--btn-pad-x);
    border:1px solid transparent;
    border-radius:999px;
    font-weight:800;
    cursor:pointer;
    background:#F39C12;
    color:#fff;
    transition: transform .2s ease, filter .2s ease, background-color .25s ease, box-shadow .25s ease;
    box-shadow: 0 6px 14px rgba(243,156,18,.22);
}
.subscription-card button:hover[b-8ofjznnxuf],
.subscription-card .btn:hover[b-8ofjznnxuf]{
    background:#04485D;
    box-shadow: 0 8px 22px rgba(4,72,93,.28);
    transform: translateY(-1px);
}
.subscription-card.active .btn[b-8ofjznnxuf]{
    background:#fff;
    color:#2C727E;
    box-shadow: 0 6px 14px rgba(255,255,255,.16);
}
.subscription-card.active .btn:hover[b-8ofjznnxuf]{
    background:#E9F3F5;
}

/* Status variants (keep your existing class names) */
.btn-activated[b-8ofjznnxuf]{
    background: #22a06b;
    color:#fff;
    width: 9rem;
    font-size: .8rem;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:.35rem;
}
.btn-activated svg[b-8ofjznnxuf]{ margin-left: 2px }

.btn-default[b-8ofjznnxuf]{
    background: #E99A28;
    color:#fff;
    width: 9rem;
    font-size: .8rem;
}

/* Headings shared on the page */
.text-center[b-8ofjznnxuf]{
    color: var(--tg-primary);
    padding-top: 10px;
}

/* ---------- Links ---------- */
.btn-link[b-8ofjznnxuf]{
    color:#c43d3d;
    padding:0;
}

/* ---------- Modal (Braintree) ---------- */
.modal-backdrop[b-8ofjznnxuf]{
    position:fixed;
    inset:0;
    background: rgba(12,45,49,.45);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    z-index: 1040;
    display:grid;
    place-items:center;
}
.modal-backdrop .modal-body[b-8ofjznnxuf]{
    background:#fff;
    border-radius: var(--tg-radius);
    box-shadow: var(--tg-shadow);
    position:relative;
    width:min(520px, 92vw);
    padding:1rem;
}
.modal[b-8ofjznnxuf]{
    background:#fff;
    padding: clamp(16px, 2.4vw, 24px);
    border-radius: var(--tg-radius-sm);
    max-width: 420px;
    width: 100%;
    box-shadow: var(--tg-shadow);
    z-index: 9999;
}
.modal-backdrop .modal-body .close-button[b-8ofjznnxuf]{
    position:absolute;
    top:.4rem; right:.6rem;
    font-size: 1.1rem;
    font-weight:800;
    cursor:pointer;
    color: var(--tg-muted);
}
.modal-backdrop .modal-body .modal-content #submit-button[b-8ofjznnxuf]{
    padding:.6rem 1rem;
    background: var(--tg-primary);
    color:#fff;
    border:1px solid var(--tg-primary);
    border-radius:999px;
    cursor:pointer;
    transition: filter .2s ease, transform .2s ease;
}
.modal-backdrop .modal-body .modal-content #submit-button:hover[b-8ofjznnxuf]{
    filter: brightness(1.05);
    transform: translateY(-1px);
}

/* ---------- Accessibility & motion ---------- */
@media (prefers-reduced-motion: reduce){
    .subscription-card[b-8ofjznnxuf],
    .subscription-card .btn[b-8ofjznnxuf],
    .modal-backdrop .modal-body .modal-content #submit-button[b-8ofjznnxuf]{
        transition:none;
    }
}

/* ---------- Small screens tweaks ---------- */
@media (max-width: 420px){
    .subscription-card[b-8ofjznnxuf]{ padding:14px }
    .feature-row[b-8ofjznnxuf]{ grid-template-columns:16px 1fr }
}
c[b-8ofjznnxuf]
