/* _content/Khymeia.Admin/Components/Layout/MainLayout.razor.rz.scp.css */
/* Layout shell */
.layout-shell[b-6bll62fbti] {
    display: flex;
    min-height: 100vh;
    background: #f1f5f9;
    padding: 16px;
    gap: 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Sidebar */
.sidebar[b-6bll62fbti] {
    width: 260px;
    background: #ffffff;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding: 20px 14px;
    transition: width 0.2s ease;
}

.sidebar.collapsed[b-6bll62fbti] {
    width: 88px;
}

.sidebar-header[b-6bll62fbti] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 8px 18px 8px;
}

.hamburger[b-6bll62fbti] {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #1d4ed8;
    border: none;
    cursor: pointer;
    padding: 9px;
    gap: 5px;
}

.hamburger span[b-6bll62fbti] {
    display: block;
    width: 100%;
    height: 3px;
    background: #ffffff;
    border-radius: 999px;
}

.sidebar-divider[b-6bll62fbti] {
    height: 1px;
    background: #e2e8f0;
    margin: 8px 0 12px 0;
}

/* Main */
.layout-main[b-6bll62fbti] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
}

/* Topbar */
.topbar[b-6bll62fbti] {
    height: 74px;
    background: #ffffff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.topbar-left[b-6bll62fbti] {
    display: flex;
    align-items: center;
}

.greeting.single-line[b-6bll62fbti] {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}

.user-chip[b-6bll62fbti] {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px 12px;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.user-chip:hover[b-6bll62fbti] {
    border-color: #cbd5e1;
    box-shadow: 0 6px 14px -10px rgba(15, 23, 42, 0.4);
}

.chip-avatar-img[b-6bll62fbti] {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    background: #e0e7ff;
}

.chip-info[b-6bll62fbti] {
    display: flex;
    flex-direction: column;
}

.chip-name[b-6bll62fbti] {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}

.chip-email[b-6bll62fbti] {
    font-size: 0.82rem;
    color: #64748b;
}

/* Body */
.layout-body[b-6bll62fbti] {
    flex: 1;
    overflow-y: auto;
    padding-right: 4px;
}

.content-shell[b-6bll62fbti] {
    max-width: 100%;
}

/* Reusable */
:global(.sidebar.collapsed .nav-text)[b-6bll62fbti] {
    display: none;
}

:global(.sidebar.collapsed .nav-item)[b-6bll62fbti] {
    justify-content: center;
}

:global(.sidebar.collapsed .nav-icon)[b-6bll62fbti] {
    margin: 0 auto;
}

[b-6bll62fbti]::-webkit-scrollbar {
    width: 8px;
}

[b-6bll62fbti]::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
/* _content/Khymeia.Admin/Components/Layout/NavMenu.razor.rz.scp.css */
.sidebar-nav[b-su5fhsjc8j] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-item[b-su5fhsjc8j] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #0f172a;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: all 0.15s ease;
    justify-content: flex-start;
    text-align: center;
}

.nav-item:hover[b-su5fhsjc8j] {
    background: #f8fafc;
}

.nav-item.active[b-su5fhsjc8j] {
    background: #1d4ed8;
    color: #ffffff;
    border-color: #1e40af;
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    justify-content: center;
    text-align: center;
}

.nav-icon[b-su5fhsjc8j] {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.nav-icon-structures[b-su5fhsjc8j] {
    background-image: url("/pngtree-vector-office-icon-png-image_4013845.jpg");
}

.nav-icon-exercises[b-su5fhsjc8j] {
    background-image: url("/png-clipart-dumbbell-barbell-fitness-centre-weight-training-dumbbell-physical-fitness-hand-thumbnail.png");
}

.nav-text[b-su5fhsjc8j] {
    white-space: nowrap;
    color: inherit;
}

.sidebar-nav.is-collapsed .nav-text[b-su5fhsjc8j] {
    display: none;
}

.sidebar-nav.is-collapsed .nav-item[b-su5fhsjc8j] {
    justify-content: center;
    padding: 12px;
}

.nav-item.active .nav-icon[b-su5fhsjc8j] {
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25);
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.14);
}
/* _content/Khymeia.Admin/Components/Pages/Exercises.razor.rz.scp.css */
.exercises-page[b-krypblqohv] {
    padding: 12px 0;
}

.eyebrow[b-krypblqohv] {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
}

h1[b-krypblqohv] {
    margin: 6px 0;
}

.placeholder[b-krypblqohv] {
    margin: 0;
    color: #64748b;
}
/* _content/Khymeia.Admin/Components/Pages/ForgotPassword.razor.rz.scp.css */
.forgot-page[b-89i1a2gz2o] {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #e8ecf5 0%, #d7ddeb 40%, #f3f5fb 100%);
    padding: 24px 12px;
}

.forgot-card[b-89i1a2gz2o] {
    width: min(520px, 92vw);
}

.forgot-text[b-89i1a2gz2o] {
    color: #475569;
}

.eyebrow[b-89i1a2gz2o] {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
}

h1[b-89i1a2gz2o] {
    margin: 6px 0;
}

.form-field[b-89i1a2gz2o] {
    margin: 12px 0 16px 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.actions[b-89i1a2gz2o] {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

.banner[b-89i1a2gz2o] {
    padding: 10px 12px;
    border-radius: 12px;
    margin-bottom: 10px;
    font-weight: 600;
}

.banner-success[b-89i1a2gz2o] {
    background: #ecfdf3;
    color: #166534;
    border: 1px solid #bbf7d0;
}
/* _content/Khymeia.Admin/Components/Pages/Login.razor.rz.scp.css */
/* Login.razor.css - Stile "Clean Corporate" Identico alla foto */

.login-page[b-pyeqnnpcaj] {
    min-height: 100vh;
    /* Sfondo grigio chiarissimo simile alla foto. 
       Nota: La texture poligonale esatta della foto � un'immagine. 
       Qui usiamo un gradiente molto sottile per simularne la luce. */
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Rimuoviamo il vecchio contenitore grafico complesso */
.login-bg[b-pyeqnnpcaj] {
    background: none;
    box-shadow: none;
    width: auto;
    min-height: auto;
    border-radius: 0;
    overflow: visible; /* Fondamentale per far uscire la scritta KHYMEIA */
    display: block;
}

/* Nascondiamo le vecchie forme colorate */
.login-hero-shape[b-pyeqnnpcaj],
.login-hero-dots[b-pyeqnnpcaj] {
    display: none;
}

/* === CARD === */
.login-card[b-pyeqnnpcaj] {
    width: 400px;
    max-width: 90vw;
    background: #ffffff;
    border-radius: 6px; /* Bordi leggermente arrotondati, non troppo */
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    position: relative; /* Anchor per il brand */
    border: 1px solid #f3f4f6;
    margin-top: 40px; /* Spazio per la scritta sopra */
}

.login-card-body[b-pyeqnnpcaj] {
    padding: 32px 32px 40px 32px;
}

/* === BRAND (KHYMEIA) === */
/* Lo posizioniamo fuori dalla card usando absolute positioning */
.login-brand[b-pyeqnnpcaj] {
    position: absolute;
    top: -60px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 2rem;
    letter-spacing: 1px;
    font-weight: 500;
    color: #404040; /* Grigio scuro, non nero */
    margin: 0;
    text-transform: uppercase;
}

/* === TITOLO CARD === */
.login-title[b-pyeqnnpcaj] {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 24px;
    text-align: left;
}

/* Nascondiamo il sottotitolo se presente, nella foto non c'� */
.login-subtitle[b-pyeqnnpcaj] {
    display: none;
}

/* === INPUTS & LABELS === */
.login-field[b-pyeqnnpcaj] {
    margin-bottom: 20px;
}

.khy-label[b-pyeqnnpcaj] {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 8px;
}

/* Per sovrascrivere stili globali usiamo ::deep se necessario o classi specifiche */
:deep(.khy-input)[b-pyeqnnpcaj] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background-color: #f9fafb; /* Grigio chiarissimo dentro l'input */
    font-size: 0.95rem;
    color: #1f2937;
    transition: all 0.2s;
}

:deep(.khy-input:focus)[b-pyeqnnpcaj] {
    background-color: #fff;
    border-color: #2563eb;
    box-shadow: 0 0 0 1px #2563eb;
    outline: none;
}

:deep(.khy-input::placeholder)[b-pyeqnnpcaj] {
    color: #9ca3af;
}

/* === CHECKBOX & LINKS === */
.login-row[b-pyeqnnpcaj] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    margin-bottom: 24px;
}

.remember[b-pyeqnnpcaj] {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    color: #4b5563;
    font-weight: 500;
}

/* Stile custom per la checkbox per farla sembrare quadrata grigia */
:deep(.login-checkbox)[b-pyeqnnpcaj] {
    accent-color: #2563eb;
    width: 16px;
    height: 16px;
    border-radius: 4px;
    margin: 0;
    cursor: pointer;
}

.login-link[b-pyeqnnpcaj] {
    font-size: 0.85rem;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

    .login-link:hover[b-pyeqnnpcaj] {
        text-decoration: underline;
    }

/* === BUTTON === */
.login-submit[b-pyeqnnpcaj] {
    width: 100%;
    padding: 12px;
    background-color: #2563eb; /* Il blu esatto della foto */
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 0;
}

    .login-submit:hover[b-pyeqnnpcaj] {
        background-color: #1d4ed8;
    }

    .login-submit:disabled[b-pyeqnnpcaj] {
        background-color: #93c5fd;
        cursor: not-allowed;
    }

/* Alert Errori */
.login-alert[b-pyeqnnpcaj] {
    font-size: 0.875rem;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 16px;
    background-color: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

/* Validation styling override */
:deep(.validation-message)[b-pyeqnnpcaj] {
    color: #dc2626;
    font-size: 0.75rem;
    margin-top: 4px;
}
/* _content/Khymeia.Admin/Components/Pages/Profile.razor.rz.scp.css */
/* Profile.razor.css */
.profile-page[b-o2pdpe3beu] { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.profile-card-body[b-o2pdpe3beu] { padding: 28px; }
.profile-header[b-o2pdpe3beu] { display: flex; align-items: flex-start; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid #e2e8f0; margin-bottom: 24px; }
.avatar[b-o2pdpe3beu] { width: 80px; height: 80px; background: linear-gradient(135deg, #fbbf24, #f59e0b); border-radius: 16px; display: flex; align-items: center; justify-content: center; color: #78350f; font-weight: 700; font-size: 2rem; flex-shrink: 0; }
.profile-info h1[b-o2pdpe3beu] { font-size: 1.75rem; font-weight: 700; color: #0f172a; margin: 0 0 8px 0; }
.profile-email[b-o2pdpe3beu] { font-size: 0.94rem; color: #64748b; margin: 0 0 12px 0; }
.role-pill[b-o2pdpe3beu] { display: inline-flex; align-items: center; padding: 6px 14px; background-color: #e0e7ff; color: #1e40af; border-radius: 8px; font-size: 0.75rem; font-weight: 700; }
.profile-fields[b-o2pdpe3beu] { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 20px; }
.form-field[b-o2pdpe3beu] { display: flex; flex-direction: column; gap: 8px; }
.banner[b-o2pdpe3beu] { padding: 12px 16px; border-radius: 10px; font-size: 0.875rem; font-weight: 600; margin-top: 16px; }
.banner-error[b-o2pdpe3beu] { background-color: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.banner-success[b-o2pdpe3beu] { background-color: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.profile-actions[b-o2pdpe3beu] { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 20px; border-top: 1px solid #e2e8f0; }
.profile-btn[b-o2pdpe3beu] { flex: 1 1 200px; padding: 14px 16px; border-radius: 12px; font-weight: 700; border: 1px solid transparent; cursor: pointer; text-align: center; }
.profile-btn.primary-outline[b-o2pdpe3beu] { background: #ffffff; color: #1d4ed8; border-color: #1d4ed8; }
.profile-btn.danger-outline[b-o2pdpe3beu] { background: #ffffff; color: #b91c1c; border-color: #fca5a5; }
.profile-btn.neutral[b-o2pdpe3beu] { background: #f1f5f9; color: #0f172a; border-color: #e2e8f0; }
.loading[b-o2pdpe3beu] { padding: 48px 0; text-align: center; color: #64748b; font-size: 0.94rem; }
.modal-backdrop[b-o2pdpe3beu] { position: fixed; inset: 0; background-color: rgba(0, 0, 0, 0.5); z-index: 50; }
.modal-card[b-o2pdpe3beu] { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: #ffffff; border-radius: 16px; box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25); z-index: 51; max-width: 520px; width: calc(100% - 32px); max-height: calc(100vh - 64px); overflow-y: auto; padding: 24px; }
.modal-card.small[b-o2pdpe3beu] { max-width: 420px; text-align: center; }
.modal-header[b-o2pdpe3beu] { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.modal-title[b-o2pdpe3beu] { font-size: 1.25rem; font-weight: 700; color: #0f172a; margin: 0; }
.modal-subtitle[b-o2pdpe3beu] { font-size: 0.875rem; color: #64748b; margin: 4px 0 0 0; }
.modal-close[b-o2pdpe3beu] { background-color: #f1f5f9; border: none; border-radius: 8px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; color: #64748b; font-size: 1.2rem; cursor: pointer; }
.modal-icon[b-o2pdpe3beu] { width: 48px; height: 48px; background-color: #fee2e2; color: #b91c1c; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 700; margin: 0 auto 16px; }
.modal-actions[b-o2pdpe3beu] { display: flex; justify-content: flex-end; gap: 12px; margin-top: 20px; }
.modal-card.small .modal-actions[b-o2pdpe3beu] { justify-content: center; }
.password-rules[b-o2pdpe3beu] { padding: 14px 16px; background-color: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 10px; margin-top: 12px; }
.rules-title[b-o2pdpe3beu] { font-size: 0.875rem; font-weight: 700; color: #334155; margin: 0 0 8px 0; }
.password-rules ul[b-o2pdpe3beu] { list-style: none; padding: 0; margin: 0; }
.password-rules li[b-o2pdpe3beu] { font-size: 0.82rem; color: #475569; line-height: 1.6; }
@media (max-width: 768px) { .profile-page[b-o2pdpe3beu] { max-width: 100%; } .profile-header[b-o2pdpe3beu] { flex-direction: column; align-items: center; text-align: center; } .profile-info[b-o2pdpe3beu] { display: flex; flex-direction: column; align-items: center; } .profile-fields[b-o2pdpe3beu] { grid-template-columns: 1fr; } .profile-actions[b-o2pdpe3beu] { flex-direction: column; } .modal-card[b-o2pdpe3beu] { padding: 20px; } }
/* _content/Khymeia.Admin/Components/Pages/Structures.razor.rz.scp.css */
/* Layout */
.structures-page[b-ys2qxk43yb] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.page-header[b-ys2qxk43yb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.page-header h1[b-ys2qxk43yb] {
    font-size: 1.5rem;
    margin: 0;
}

.eyebrow[b-ys2qxk43yb] {
    display: none;
}

.add-structure-btn[b-ys2qxk43yb] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: #1d4ed8;
    border: 1px solid #1d4ed8;
    border-radius: 12px;
    padding: 10px 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.add-structure-btn:hover[b-ys2qxk43yb] {
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.16);
}

.add-icon-box[b-ys2qxk43yb] {
    display: inline-flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: #1d4ed8;
    color: #ffffff;
    font-weight: 800;
}

.content-grid[b-ys2qxk43yb] {
    display: block;
}

.toolbar[b-ys2qxk43yb] {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.counter[b-ys2qxk43yb] {
    color: #64748b;
    font-weight: 600;
}

.search-box[b-ys2qxk43yb] {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-icon svg[b-ys2qxk43yb] {
    width: 18px;
    height: 18px;
    fill: #94a3b8;
}

.search-input[b-ys2qxk43yb] {
    border: none;
    outline: none;
    width: 100%;
    font-size: 0.95rem;
}

/* Table */
.table[b-ys2qxk43yb] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.table-head[b-ys2qxk43yb],
.table-row[b-ys2qxk43yb] {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr 1fr 48px;
    align-items: center;
}

.table-head[b-ys2qxk43yb] {
    padding: 0 20px 10px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    border-bottom: 1px solid #f1f5f9;
}

.table-row[b-ys2qxk43yb] {
    padding: 14px 20px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}

.table-row:hover[b-ys2qxk43yb] {
    background: #f8fafc;
}

.td[b-ys2qxk43yb], .th[b-ys2qxk43yb] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.92rem;
}

.name-col[b-ys2qxk43yb] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.name-icon-img[b-ys2qxk43yb] {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: cover;
}

.cell-title[b-ys2qxk43yb] {
    font-weight: 700;
}

.cell-sub[b-ys2qxk43yb] {
    display: none;
}

.patients-col[b-ys2qxk43yb] {
    font-weight: 700;
}

.expand-col[b-ys2qxk43yb] {
    justify-self: end;
}

.expand-btn[b-ys2qxk43yb] {
    width: 32px;
    height: 28px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    color: #334155;
}

/* Detail */
.detail-panel[b-ys2qxk43yb] {
    background: #f8fafc;
    padding: 18px;
    border-bottom: 1px solid #e2e8f0;
}

.detail-grid[b-ys2qxk43yb] {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 14px;
}

.detail-card[b-ys2qxk43yb] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
}

.detail-header[b-ys2qxk43yb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    gap: 10px;
}

.detail-title[b-ys2qxk43yb] {
    font-weight: 700;
}

.detail-form[b-ys2qxk43yb] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-field[b-ys2qxk43yb] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-inline[b-ys2qxk43yb] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.inline-field[b-ys2qxk43yb] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.checkbox-grid[b-ys2qxk43yb] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.checkbox-pill[b-ys2qxk43yb] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: #64748b;
}

.checkbox-input[b-ys2qxk43yb] {
    width: 14px;
    height: 14px;
    accent-color: #2563eb;
}

.notes-box[b-ys2qxk43yb] {
    resize: vertical;
    min-height: 160px;
}

.detail-actions[b-ys2qxk43yb] {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
}

.password-input[b-ys2qxk43yb] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.password-input .khy-input[b-ys2qxk43yb] {
    flex: 1;
}

/* Modal */
.modal-card[b-ys2qxk43yb] {
    position: fixed;
    z-index: 31;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 780px;
    max-width: calc(100% - 48px);
    padding: 28px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #dbeafe;
    box-shadow: 0 28px 70px rgba(37, 99, 235, 0.18);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

.modal-backdrop[b-ys2qxk43yb] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.48);
    backdrop-filter: blur(2px);
    z-index: 30;
}

.modal-card.small[b-ys2qxk43yb] {
    max-width: 520px;
}

.modal-header[b-ys2qxk43yb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 12px;
}

.modal-title[b-ys2qxk43yb] {
    font-weight: 800;
    font-size: 1.15rem;
    margin: 0;
    color: #0f172a;
}

.modal-subtitle[b-ys2qxk43yb] {
    color: #475569;
    margin: 4px 0 0;
    font-size: 0.95rem;
}

.modal-close[b-ys2qxk43yb] {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 1.05rem;
    cursor: pointer;
    color: #475569;
}

.modal-close:hover[b-ys2qxk43yb] {
    background: #e2e8f0;
}

.modal-grid[b-ys2qxk43yb] { display: grid; gap: 16px; grid-template-columns: 1fr; }
.modal-grid-two[b-ys2qxk43yb] { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }

.modal-grid-two .form-field[b-ys2qxk43yb] { width: 100%; }
.form-compact[b-ys2qxk43yb] { max-width: 320px; justify-self: start; }
.password-field[b-ys2qxk43yb] { max-width: 360px; justify-self: start; }

.password-rules[b-ys2qxk43yb],
.modal-actions[b-ys2qxk43yb],
.checkbox-pill[b-ys2qxk43yb] {
    grid-column: 1 / -1;
}

.password-rules[b-ys2qxk43yb] {
    background: #f8fafc;
    border: 1px dashed #dbeafe;
    border-radius: 12px;
    padding: 12px 14px;
    color: #334155;
}

.modal-actions[b-ys2qxk43yb] {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
}

.khy-secondary-button[b-ys2qxk43yb] {
    border: 1px solid #1d4ed8;
    color: #1d4ed8;
    background: #ffffff;
    padding: 14px 22px;
    border-radius: 18px;
    font-size: 1rem;
    font-weight: 700;
    min-width: 140px;
}

.khy-primary-button[b-ys2qxk43yb] {
    background: #1d4ed8;
    color: #ffffff;
    border: none;
    padding: 14px 22px;
    border-radius: 18px;
    font-size: 1rem;
    font-weight: 700;
    min-width: 140px;
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
}

.khy-danger-button[b-ys2qxk43yb] {
    background: #ffffff;
    color: #dc2626;
    border: 1px solid #fca5a5;
}

.khy-primary-button.ghost[b-ys2qxk43yb] {
    background: #1d4ed8;
    color: #ffffff;
}

.eye-btn[b-ys2qxk43yb] {
    border: 1px solid #cbd5e1;
    background: #eceff3;
    border-radius: 12px;
    padding: 8px 10px;
    cursor: pointer;
}

.eye-btn:hover[b-ys2qxk43yb] {
    background: #e2e8f0;
}

.eye-icon[b-ys2qxk43yb] {
    display: block;
    width: 20px;
    height: 20px;
    background: #6b7280;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M1 12s4-7 11-7 11 7 11 7-4 7-11 7-11-7-11-7Z"/><circle cx="12" cy="12" r="3"/></svg>') center / contain no-repeat;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M1 12s4-7 11-7 11 7 11 7-4 7-11 7-11-7-11-7Z"/><circle cx="12" cy="12" r="3"/></svg>') center / contain no-repeat;
}

@media (max-width: 900px) {
    .table-head[b-ys2qxk43yb],
    .table-row[b-ys2qxk43yb] {
        grid-template-columns: 1.6fr 1fr 1fr 1fr 0.6fr 40px;
    }

    .detail-grid[b-ys2qxk43yb] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .page-header[b-ys2qxk43yb] {
        flex-direction: column;
        align-items: flex-start;
    }

    .modal-card[b-ys2qxk43yb] {
        width: 95vw;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .modal-grid[b-ys2qxk43yb],
    .modal-grid-two[b-ys2qxk43yb] {
        grid-template-columns: 1fr;
    }
}
