/* /Pages/AuditLogs.razor.rz.scp.css */
.audit-container[b-33qobo8b8z] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
}

.audit-header[b-33qobo8b8z] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.audit-header h1[b-33qobo8b8z] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.subtitle[b-33qobo8b8z] {
    color: #64748b;
    font-size: 0.85rem;
    margin: 0.25rem 0 0;
}

.export-buttons[b-33qobo8b8z] {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.filter-bar[b-33qobo8b8z] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.filter-bar .form-select[b-33qobo8b8z] {
    max-width: 280px;
}

.result-count[b-33qobo8b8z] {
    color: #64748b;
    font-size: 0.82rem;
}

/* Table */
.log-table-wrapper[b-33qobo8b8z] {
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.log-table[b-33qobo8b8z] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}

.log-table thead[b-33qobo8b8z] {
    background: #f8fafc;
    position: sticky;
    top: 0;
}

.log-table th[b-33qobo8b8z] {
    padding: 0.6rem 0.75rem;
    text-align: left;
    font-weight: 600;
    color: #475569;
    border-bottom: 2px solid #e2e8f0;
    white-space: nowrap;
}

.log-table td[b-33qobo8b8z] {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

.log-table tbody tr:hover[b-33qobo8b8z] {
    background: #f8fafc;
}

.col-time[b-33qobo8b8z] {
    white-space: nowrap;
    font-family: monospace;
    font-size: 0.78rem;
}

.col-type[b-33qobo8b8z] {
    font-weight: 500;
}

.col-visit[b-33qobo8b8z], .col-ip[b-33qobo8b8z] {
    font-family: monospace;
    font-size: 0.78rem;
    color: #64748b;
}

.col-by[b-33qobo8b8z] {
    font-size: 0.78rem;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.col-desc[b-33qobo8b8z] {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Source badges */
.badge-source[b-33qobo8b8z] {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.badge-patient[b-33qobo8b8z] {
    background: #dbeafe;
    color: #1e40af;
}

.badge-admin[b-33qobo8b8z] {
    background: #fce7f3;
    color: #9d174d;
}

.badge-integration[b-33qobo8b8z] {
    background: #d1fae5;
    color: #065f46;
}

/* Load more */
.load-more[b-33qobo8b8z] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.25rem 0;
}

.page-info[b-33qobo8b8z] {
    color: #64748b;
    font-size: 0.82rem;
}

/* States */
.loading[b-33qobo8b8z] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 3rem;
    color: #64748b;
}

.empty-state[b-33qobo8b8z] {
    text-align: center;
    padding: 3rem;
    color: #94a3b8;
}

.empty-state i[b-33qobo8b8z] {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.75rem;
}

/* Responsive */
@media (max-width: 768px) {
    .audit-header[b-33qobo8b8z] {
        flex-direction: column;
    }

    .export-buttons[b-33qobo8b8z] {
        width: 100%;
        justify-content: flex-start;
    }

    .filter-bar[b-33qobo8b8z] {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-bar .form-select[b-33qobo8b8z] {
        max-width: 100%;
    }
}
/* /Pages/Dashboard.razor.rz.scp.css */
/* Simple Top Navbar */
.top-navbar[b-cyy9vrqgcx] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand[b-cyy9vrqgcx] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.navbar-brand i[b-cyy9vrqgcx] {
    font-size: 1.75rem;
}

.navbar-user[b-cyy9vrqgcx] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar-user i[b-cyy9vrqgcx] {
    font-size: 1.5rem;
}

.btn-logout[b-cyy9vrqgcx] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
}

.btn-logout:hover[b-cyy9vrqgcx] {
    background: rgba(255, 255, 255, 0.2);
}


.nav-links[b-cyy9vrqgcx] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-link[b-cyy9vrqgcx] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 6px;
    color: white;
    text-decoration: none;
    transition: background 0.2s;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    font-family: inherit;
}

.nav-link:hover[b-cyy9vrqgcx] {
    background: rgba(255, 255, 255, 0.1);
}

.nav-link.active[b-cyy9vrqgcx] {
    background: rgba(255, 255, 255, 0.2);
}

.nav-icon[b-cyy9vrqgcx] {
    font-size: 16px;
}

.nav-user[b-cyy9vrqgcx] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-name[b-cyy9vrqgcx] {
    font-size: 14px;
    font-weight: 500;
}

.admin-dashboard[b-cyy9vrqgcx] {
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.admin-dashboard h1[b-cyy9vrqgcx] {
    font-size: 32px;
    margin-bottom: 30px;
    color: #333;
}

.admin-dashboard h2[b-cyy9vrqgcx] {
    font-size: 20px;
    margin-bottom: 16px;
    color: #444;
}

.dashboard-grid[b-cyy9vrqgcx] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.dashboard-card[b-cyy9vrqgcx] {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dashboard-card.full-width[b-cyy9vrqgcx] {
    grid-column: 1 / -1;
}

.profile-info p[b-cyy9vrqgcx] {
    margin: 8px 0;
    color: #555;
}

.subscription-info .plan-name[b-cyy9vrqgcx] {
    font-size: 18px;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 12px;
}

.usage-stats[b-cyy9vrqgcx] {
    display: flex;
    gap: 20px;
    justify-content: space-around;
}

.stat-item[b-cyy9vrqgcx] {
    text-align: center;
}

.stat-value[b-cyy9vrqgcx] {
    display: block;
    font-size: 32px;
    font-weight: bold;
    color: #667eea;
}

.stat-label[b-cyy9vrqgcx] {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}

.patients-table[b-cyy9vrqgcx] {
    overflow-x: auto;
}

.patients-table table[b-cyy9vrqgcx] {
    width: 100%;
    border-collapse: collapse;
}

.patients-table th[b-cyy9vrqgcx] {
    background: #f8f9fa;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
}

.patients-table td[b-cyy9vrqgcx] {
    padding: 12px;
    border-bottom: 1px solid #e9ecef;
}

.patients-table tr:hover[b-cyy9vrqgcx] {
    background: #f8f9fa;
}

.patients-table tr.severity-1[b-cyy9vrqgcx] {
    border-left: 4px solid #dc3545;
}

.patients-table tr.severity-2[b-cyy9vrqgcx] {
    border-left: 4px solid #fd7e14;
}

.patients-table tr.severity-3[b-cyy9vrqgcx] {
    border-left: 4px solid #ffc107;
}

.patients-table tr.severity-4[b-cyy9vrqgcx] {
    border-left: 4px solid #28a745;
}

.badge[b-cyy9vrqgcx] {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    background: #e3f2fd;
    color: #1976d2;
}

.subtitle[b-cyy9vrqgcx] {
    font-size: 14px;
    color: #888;
    margin: -8px 0 16px 0;
}

.btn[b-cyy9vrqgcx] {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary[b-cyy9vrqgcx] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover[b-cyy9vrqgcx] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-secondary[b-cyy9vrqgcx] {
    background: #95a5a6;
    color: white;
}

.btn-secondary:hover[b-cyy9vrqgcx] {
    background: #7f8c8d;
}

.modal-overlay[b-cyy9vrqgcx] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content[b-cyy9vrqgcx] {
    background: white;
    border-radius: 16px;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}

.modal-content h2[b-cyy9vrqgcx] {
    margin-top: 0;
}

.form-group[b-cyy9vrqgcx] {
    margin-bottom: 20px;
    min-width: 0;
}

.form-group label[b-cyy9vrqgcx] {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #495057;
}

.form-control[b-cyy9vrqgcx] {
    width: 100%;
    min-width: 0;
    padding: 10px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
    font-family: inherit;
    box-sizing: border-box;
}

.form-control:focus[b-cyy9vrqgcx] {
    outline: none;
    border-color: #667eea;
}

.modal-actions[b-cyy9vrqgcx] {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}
/* /Pages/DirectorySetup.razor.rz.scp.css */
/* ???????????????????????????????????????????
   Directory Setup Wizard Styles
   ??????????????????????????????????????????? */

.directory-setup[b-tj3f91pnoe] {
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.directory-setup h1[b-tj3f91pnoe] {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.directory-setup .subtitle[b-tj3f91pnoe] {
    color: #6c757d;
    margin-bottom: 2rem;
}

.loading-state[b-tj3f91pnoe] {
    text-align: center;
    padding: 4rem 0;
    color: #6c757d;
}

/* ?? Wizard Steps Indicator ?? */

.wizard-steps[b-tj3f91pnoe] {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 0;
}

.step[b-tj3f91pnoe] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    opacity: 0.4;
    transition: opacity 0.3s;
}

.step.active[b-tj3f91pnoe] {
    opacity: 1;
}

.step-number[b-tj3f91pnoe] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #dee2e6;
    color: #495057;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.step.active .step-number[b-tj3f91pnoe] {
    background: #0d6efd;
    color: #fff;
}

.step.completed .step-number[b-tj3f91pnoe] {
    background: #198754;
    color: #fff;
}

.step-label[b-tj3f91pnoe] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6c757d;
    white-space: nowrap;
}

.step.active .step-label[b-tj3f91pnoe] {
    color: #0d6efd;
}

.step-connector[b-tj3f91pnoe] {
    height: 2px;
    width: 50px;
    background: #dee2e6;
    margin: 0 0.25rem;
    margin-bottom: 1.2rem;
    transition: background 0.3s;
}

.step-connector.completed[b-tj3f91pnoe] {
    background: #198754;
}

/* ?? Wizard Card ?? */

.wizard-card[b-tj3f91pnoe] {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #e9ecef;
}

.wizard-card h2[b-tj3f91pnoe] {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-help[b-tj3f91pnoe] {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* ?? Auth Mode Cards ?? */

.auth-mode-options[b-tj3f91pnoe],
.provider-options[b-tj3f91pnoe] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.mode-card[b-tj3f91pnoe] {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.mode-card:hover[b-tj3f91pnoe] {
    border-color: #0d6efd;
    background: #f8f9ff;
}

.mode-card.selected[b-tj3f91pnoe] {
    border-color: #0d6efd;
    background: #e7f1ff;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

.mode-card i[b-tj3f91pnoe] {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.mode-card h3[b-tj3f91pnoe] {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.mode-card p[b-tj3f91pnoe] {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.badge[b-tj3f91pnoe] {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    background: #e9ecef;
    color: #495057;
}

.badge-recommended[b-tj3f91pnoe] {
    background: #d1e7dd;
    color: #0f5132;
}

.badge-advanced[b-tj3f91pnoe] {
    background: #fff3cd;
    color: #664d03;
}

.what-you-need[b-tj3f91pnoe] {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e9ecef;
    font-size: 0.82rem;
}

.what-you-need ul[b-tj3f91pnoe] {
    margin: 0.3rem 0;
    padding-left: 1.2rem;
}

.what-you-need small[b-tj3f91pnoe] {
    color: #6c757d;
}

/* ?? Form Grid ?? */

.form-grid[b-tj3f91pnoe] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-grid .full-width[b-tj3f91pnoe] {
    grid-column: 1 / -1;
}

.form-group label[b-tj3f91pnoe] {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}

.form-control[b-tj3f91pnoe] {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: border-color 0.2s;
}

.form-control:focus[b-tj3f91pnoe] {
    border-color: #0d6efd;
    outline: none;
    box-shadow: 0 0 0 3px rgba(13,110,253,0.15);
}

.form-help[b-tj3f91pnoe] {
    display: block;
    font-size: 0.78rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.form-help-block[b-tj3f91pnoe] {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

/* ?? Wizard Nav ?? */

.wizard-nav[b-tj3f91pnoe] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.nav-right[b-tj3f91pnoe] {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* ?? Buttons ?? */

.btn[b-tj3f91pnoe] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary[b-tj3f91pnoe] {
    background: #0d6efd;
    color: #fff;
}

.btn-primary:hover:not(:disabled)[b-tj3f91pnoe] {
    background: #0b5ed7;
}

.btn-secondary[b-tj3f91pnoe] {
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
}

.btn-secondary:hover[b-tj3f91pnoe] {
    background: #e9ecef;
}

.btn-outline-primary[b-tj3f91pnoe] {
    background: transparent;
    color: #0d6efd;
    border: 1px solid #0d6efd;
}

.btn-outline-primary:hover:not(:disabled)[b-tj3f91pnoe] {
    background: #e7f1ff;
}

.btn-success[b-tj3f91pnoe] {
    background: #198754;
    color: #fff;
}

.btn-warning[b-tj3f91pnoe] {
    background: #ffc107;
    color: #000;
}

.btn-lg[b-tj3f91pnoe] {
    padding: 0.65rem 1.5rem;
    font-size: 1rem;
}

.btn-link[b-tj3f91pnoe] {
    background: none;
    border: none;
    color: #0d6efd;
    font-size: 0.82rem;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

.btn:disabled[b-tj3f91pnoe] {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-icon[b-tj3f91pnoe] {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
}

.btn-danger-icon[b-tj3f91pnoe] {
    color: #dc3545;
}

.btn-danger-icon:hover[b-tj3f91pnoe] {
    background: #fce4ec;
}

/* ?? Test Result ?? */

.test-result[b-tj3f91pnoe] {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid;
}

.test-result.success[b-tj3f91pnoe] {
    background: #d1e7dd;
    border-color: #a3cfbb;
    color: #0f5132;
}

.test-result.failure[b-tj3f91pnoe] {
    background: #f8d7da;
    border-color: #f1aeb5;
    color: #58151c;
}

.test-result h4[b-tj3f91pnoe] {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.test-result ul[b-tj3f91pnoe] {
    margin: 0;
    padding-left: 1.2rem;
    font-size: 0.85rem;
}

/* ?? Mapping Table ?? */

.mapping-table[b-tj3f91pnoe] {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    font-size: 0.88rem;
}

.mapping-table th[b-tj3f91pnoe] {
    background: #f8f9fa;
    padding: 0.6rem 0.75rem;
    text-align: left;
    font-weight: 700;
    border-bottom: 2px solid #dee2e6;
}

.mapping-table td[b-tj3f91pnoe] {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid #e9ecef;
}

.mapping-table code[b-tj3f91pnoe] {
    font-size: 0.78rem;
    background: #f1f3f5;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
}

.role-badge[b-tj3f91pnoe] {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
}

.role-nurse[b-tj3f91pnoe]    { background: #cff4fc; color: #055160; }
.role-staff[b-tj3f91pnoe]    { background: #e2e3e5; color: #41464b; }
.role-admin[b-tj3f91pnoe]    { background: #fff3cd; color: #664d03; }

.add-mapping-form[b-tj3f91pnoe] {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.add-mapping-form h3[b-tj3f91pnoe] {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* ?? Review Summary ?? */

.review-summary[b-tj3f91pnoe] {
    margin-bottom: 1.5rem;
}

.review-row[b-tj3f91pnoe] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.review-label[b-tj3f91pnoe] {
    font-weight: 700;
    font-size: 0.88rem;
    min-width: 140px;
    color: #495057;
}

.review-value[b-tj3f91pnoe] {
    flex: 1;
    font-size: 0.9rem;
}

.review-value code[b-tj3f91pnoe] {
    font-size: 0.82rem;
    background: #f1f3f5;
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
}

.test-passed[b-tj3f91pnoe] {
    color: #198754;
    font-weight: 600;
}

.test-pending[b-tj3f91pnoe] {
    color: #e67700;
    font-weight: 600;
}

.empty-state[b-tj3f91pnoe] {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
}

.empty-state i[b-tj3f91pnoe] {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* ?? Alerts ?? */

.alert[b-tj3f91pnoe] {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 0.88rem;
}

.alert-info[b-tj3f91pnoe] {
    background: #cff4fc;
    color: #055160;
}

.alert-success[b-tj3f91pnoe] {
    background: #d1e7dd;
    color: #0f5132;
}

.alert-danger[b-tj3f91pnoe] {
    background: #f8d7da;
    color: #58151c;
}

/* ?? Responsive ?? */

@media (max-width: 768px) {
    .form-grid[b-tj3f91pnoe] {
        grid-template-columns: 1fr;
    }

    .auth-mode-options[b-tj3f91pnoe],
    .provider-options[b-tj3f91pnoe] {
        grid-template-columns: 1fr;
    }

    .wizard-steps[b-tj3f91pnoe] {
        flex-wrap: wrap;
        gap: 0.3rem;
    }

    .step-connector[b-tj3f91pnoe] {
        width: 20px;
    }

    .wizard-nav[b-tj3f91pnoe] {
        flex-direction: column;
        gap: 0.75rem;
    }

    .nav-right[b-tj3f91pnoe] {
        flex-direction: column;
        width: 100%;
    }

    .nav-right .btn[b-tj3f91pnoe] {
        width: 100%;
        justify-content: center;
    }

    .review-row[b-tj3f91pnoe] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}
/* /Pages/EhrIntegration.razor.rz.scp.css */
.integration-page h2[b-bhy86na8ec] { margin-bottom: 0.25rem; }
.subtitle[b-bhy86na8ec] { color: var(--text-secondary, #6c757d); margin-bottom: 1.5rem; }

/* Status banner */
.status-banner[b-bhy86na8ec] {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 1.25rem; border-radius: 8px; margin-bottom: 1.5rem;
}
.status-banner.online[b-bhy86na8ec] { background: #d1e7dd; border: 1px solid #a3cfbb; }
.status-banner.offline[b-bhy86na8ec] { background: #f8d7da; border: 1px solid #f1aeb5; }
.status-indicator[b-bhy86na8ec] { display: flex; align-items: center; gap: 0.5rem; }
.status-dot[b-bhy86na8ec] {
    width: 10px; height: 10px; border-radius: 50%; display: inline-block;
}
.online .status-dot[b-bhy86na8ec] { background: #198754; animation: pulse-b-bhy86na8ec 2s infinite; }
.offline .status-dot[b-bhy86na8ec] { background: #dc3545; }
.status-details[b-bhy86na8ec] { display: flex; gap: 1rem; font-size: 0.85rem; color: #495057; flex-wrap: wrap; }

@keyframes pulse-b-bhy86na8ec {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Section card */
.section-card[b-bhy86na8ec] {
    background: var(--surface, #fff); border-radius: 8px; padding: 1.5rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08); margin-bottom: 1.5rem;
}
.section-header[b-bhy86na8ec] { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.section-header h3[b-bhy86na8ec] { margin: 0; }
.section-description[b-bhy86na8ec] { color: var(--text-secondary, #6c757d); font-size: 0.9rem; margin-bottom: 1rem; }

/* Empty state */
.empty-state[b-bhy86na8ec] { text-align: center; padding: 2rem; color: var(--text-secondary, #888); }

/* Table */
.data-table[b-bhy86na8ec] { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.data-table th[b-bhy86na8ec] { text-align: left; padding: 0.6rem; border-bottom: 2px solid #eee; font-weight: 600; color: var(--text-secondary, #6c757d); font-size: 0.8rem; text-transform: uppercase; }
.data-table td[b-bhy86na8ec] { padding: 0.6rem; border-bottom: 1px solid #f0f0f0; }
.data-table tr.revoked[b-bhy86na8ec] { opacity: 0.5; }

/* Badges */
.badge[b-bhy86na8ec] { padding: 0.15rem 0.5rem; border-radius: 10px; font-size: 0.75rem; color: #fff; }
.badge-success[b-bhy86na8ec] { background: #198754; }
.badge-danger[b-bhy86na8ec] { background: #dc3545; }
.badge-warning[b-bhy86na8ec] { background: #ffc107; color: #212529; }

/* Buttons */
.btn-primary[b-bhy86na8ec] { padding: 0.5rem 1rem; background: #0d6efd; color: #fff; border: none; border-radius: 6px; cursor: pointer; font-size: 0.9rem; }
.btn-primary:hover[b-bhy86na8ec] { background: #0b5ed7; }
.btn-secondary[b-bhy86na8ec] { padding: 0.5rem 1rem; background: #6c757d; color: #fff; border: none; border-radius: 6px; cursor: pointer; }
.btn-danger-sm[b-bhy86na8ec] { padding: 0.3rem 0.7rem; background: #dc3545; color: #fff; border: none; border-radius: 4px; cursor: pointer; font-size: 0.8rem; }

/* Setup Steps */
.setup-steps[b-bhy86na8ec] { display: flex; flex-direction: column; gap: 1rem; margin: 1rem 0; }
.step[b-bhy86na8ec] { display: flex; gap: 1rem; align-items: flex-start; }
.step-number[b-bhy86na8ec] {
    width: 32px; height: 32px; border-radius: 50%; background: #0d6efd; color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 700;
    flex-shrink: 0; font-size: 0.9rem;
}
.step-content p[b-bhy86na8ec] { margin: 0.25rem 0 0; color: var(--text-secondary, #6c757d); font-size: 0.9rem; }
.config-example[b-bhy86na8ec] {
    background: #1e1e2e; color: #cdd6f4; padding: 0.75rem; border-radius: 6px;
    font-size: 0.8rem; margin-top: 0.5rem; overflow-x: auto;
}

/* Vendor cards */
.vendor-cards[b-bhy86na8ec] { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.vendor-card[b-bhy86na8ec] {
    background: var(--surface-secondary, #f8f9fa); border-radius: 8px; padding: 1rem;
    border: 1px solid #e9ecef;
}
.vendor-card h4[b-bhy86na8ec] { margin: 0 0 0.5rem; }
.vendor-card p[b-bhy86na8ec] { font-size: 0.85rem; color: var(--text-secondary, #6c757d); margin: 0 0 0.5rem; }
.vendor-card a[b-bhy86na8ec] { font-size: 0.85rem; color: #0d6efd; text-decoration: none; }

/* Modal */
.modal-overlay[b-bhy86na8ec] {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5);
    display: flex; align-items: center; justify-content: center; z-index: 1000;
}
.modal-content[b-bhy86na8ec] {
    background: var(--surface, #fff); border-radius: 8px; padding: 1.5rem;
    width: 500px; max-width: 90vw;
}
.modal-content h3[b-bhy86na8ec] { margin: 0 0 1rem; }
.modal-actions[b-bhy86na8ec] { display: flex; justify-content: flex-end; gap: 0.5rem; margin-top: 1.5rem; }

/* Form */
.form-group[b-bhy86na8ec] { margin-bottom: 1rem; }
.form-group label[b-bhy86na8ec] { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.25rem; }
.form-group small[b-bhy86na8ec] { color: var(--text-secondary, #888); font-size: 0.8rem; }
.form-input[b-bhy86na8ec] { width: 100%; padding: 0.5rem; border: 1px solid #ccc; border-radius: 4px; font-size: 0.9rem; }

/* Key display */
.key-created-banner[b-bhy86na8ec] {
    background: #fff3cd; border: 1px solid #ffecb5; border-radius: 6px;
    padding: 0.75rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem;
}
.key-display[b-bhy86na8ec] {
    display: flex; align-items: center; gap: 0.5rem;
    background: #1e1e2e; padding: 0.5rem 0.75rem; border-radius: 6px;
}
.key-display code[b-bhy86na8ec] { color: #a6e3a1; font-size: 0.85rem; word-break: break-all; flex: 1; }
.btn-copy[b-bhy86na8ec] { background: none; border: none; color: #cdd6f4; cursor: pointer; font-size: 1rem; }
.copy-confirmation[b-bhy86na8ec] { color: #198754; font-size: 0.85rem; margin-top: 0.5rem; }
/* /Pages/IntegrationGuide.razor.rz.scp.css */
.guide-page h2[b-d6g60h7hwf] { margin-bottom: 0.25rem; }
.subtitle[b-d6g60h7hwf] { color: var(--text-secondary, #6c757d); margin-bottom: 1.5rem; }

/* Quick nav tabs */
.quick-nav[b-d6g60h7hwf] {
    display: flex; gap: 0.5rem; margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.tab-btn[b-d6g60h7hwf] {
    padding: 0.5rem 1rem; border-radius: 6px; border: 1px solid #dee2e6;
    background: #fff; color: #495057; cursor: pointer; font-size: 0.85rem;
    display: flex; align-items: center; gap: 0.4rem;
    transition: all 0.15s;
}
.tab-btn:hover[b-d6g60h7hwf] { background: #f0f0f0; }
.tab-btn.active[b-d6g60h7hwf] { background: #0d6efd; color: #fff; border-color: #0d6efd; }

/* Section card */
.section-card[b-d6g60h7hwf] {
    background: #fff; border-radius: 8px; padding: 1.25rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06); margin-bottom: 1rem;
}
.section-card h3[b-d6g60h7hwf] { margin: 0 0 0.5rem; font-size: 1.15rem; }
.section-card h4[b-d6g60h7hwf] { margin: 0 0 0.5rem; font-size: 1rem; }
.section-card h5[b-d6g60h7hwf] { margin: 0 0 0.4rem; font-size: 0.9rem; color: #333; }
.section-card p[b-d6g60h7hwf] { color: #555; margin-bottom: 0.75rem; font-size: 0.9rem; }

/* Two column layout */
.two-col[b-d6g60h7hwf] { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 900px) { .two-col[b-d6g60h7hwf] { grid-template-columns: 1fr; } }

/* Flow diagram */
.flow-diagram[b-d6g60h7hwf] {
    display: flex; align-items: center; justify-content: center;
    gap: 0.75rem; padding: 1.5rem 0; flex-wrap: wrap;
}
.flow-step[b-d6g60h7hwf] { text-align: center; min-width: 120px; }
.flow-icon[b-d6g60h7hwf] {
    width: 56px; height: 56px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 0.4rem; font-size: 1.4rem; color: #fff;
}
.flow-icon.ehr[b-d6g60h7hwf] { background: #6f42c1; }
.flow-icon.service[b-d6g60h7hwf] { background: #0d6efd; }
.flow-icon.api[b-d6g60h7hwf] { background: #198754; }
.flow-icon.portal[b-d6g60h7hwf] { background: #fd7e14; }
.flow-label[b-d6g60h7hwf] { font-weight: 600; font-size: 0.85rem; }
.flow-desc[b-d6g60h7hwf] { font-size: 0.75rem; color: #888; }
.flow-arrow[b-d6g60h7hwf] { color: #adb5bd; font-size: 1.3rem; }

/* Event badges */
.event-list[b-d6g60h7hwf] { display: flex; flex-direction: column; gap: 0.5rem; }
.event-item[b-d6g60h7hwf] { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; }
.event-badge[b-d6g60h7hwf] {
    padding: 0.2rem 0.6rem; border-radius: 4px; font-size: 0.75rem;
    font-weight: 600; white-space: nowrap; min-width: 70px; text-align: center;
}
.event-badge.register[b-d6g60h7hwf] { background: #cff4fc; color: #055160; }
.event-badge.admit[b-d6g60h7hwf] { background: #d1e7dd; color: #0a3622; }
.event-badge.transfer[b-d6g60h7hwf] { background: #fff3cd; color: #664d03; }
.event-badge.update[b-d6g60h7hwf] { background: #e2e3e5; color: #41464b; }
.event-badge.discharge[b-d6g60h7hwf] { background: #f8d7da; color: #58151c; }
.event-badge.cancel[b-d6g60h7hwf] { background: #e2d9f3; color: #432874; }

/* Data table */
.data-table[b-d6g60h7hwf] {
    width: 100%; border-collapse: collapse; font-size: 0.85rem;
}
.data-table th[b-d6g60h7hwf] {
    text-align: left; padding: 0.4rem 0.6rem; border-bottom: 2px solid #dee2e6;
    font-weight: 600; font-size: 0.8rem; color: #555; text-transform: uppercase;
}
.data-table td[b-d6g60h7hwf] {
    padding: 0.4rem 0.6rem; border-bottom: 1px solid #f0f0f0;
}
.data-table.compact td[b-d6g60h7hwf], .data-table.compact th[b-d6g60h7hwf] { padding: 0.3rem 0.5rem; }
.data-table code[b-d6g60h7hwf] {
    background: #f1f3f5; padding: 0.1rem 0.3rem; border-radius: 3px;
    font-size: 0.8rem;
}

/* Message grid */
.message-grid[b-d6g60h7hwf] {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
    gap: 1rem; margin-bottom: 1rem;
}
@media (max-width: 500px) { .message-grid[b-d6g60h7hwf] { grid-template-columns: 1fr; } }

.message-card[b-d6g60h7hwf] {
    background: #fff; border-radius: 8px; padding: 1rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06); border-left: 4px solid #0d6efd;
}
.message-card.fhir[b-d6g60h7hwf] { border-left-color: #198754; }

.msg-header[b-d6g60h7hwf] {
    display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem;
    flex-wrap: wrap;
}
.msg-code[b-d6g60h7hwf] {
    font-family: 'Consolas', monospace; font-weight: 700; font-size: 0.9rem;
    background: #e7f1ff; color: #0d6efd; padding: 0.15rem 0.5rem; border-radius: 4px;
}
.msg-code.fhir-code[b-d6g60h7hwf] { background: #d1e7dd; color: #0a3622; }
.msg-name[b-d6g60h7hwf] { font-weight: 600; font-size: 0.9rem; }
.msg-desc[b-d6g60h7hwf] { font-size: 0.83rem; color: #555; margin-bottom: 0.5rem; }

.msg-sample[b-d6g60h7hwf] { margin-bottom: 0.5rem; }
.sample-header[b-d6g60h7hwf] {
    display: flex; align-items: center; gap: 0.4rem;
    font-size: 0.78rem; color: #888; margin-bottom: 0.25rem;
}
.btn-copy-sm[b-d6g60h7hwf] {
    margin-left: auto; padding: 0.15rem 0.5rem; font-size: 0.72rem;
    border: 1px solid #dee2e6; background: #fff; border-radius: 4px; cursor: pointer;
}
.btn-copy-sm:hover[b-d6g60h7hwf] { background: #f0f0f0; }

.code-block[b-d6g60h7hwf] {
    background: #1e1e2e; color: #cdd6f4; padding: 0.75rem 1rem;
    border-radius: 6px; font-size: 0.78rem; overflow-x: auto;
    font-family: 'Consolas', 'Fira Code', monospace;
    white-space: pre; line-height: 1.5; margin: 0;
}
.code-block.json[b-d6g60h7hwf] { color: #a6e3a1; }

.msg-fields[b-d6g60h7hwf] {
    font-size: 0.78rem; color: #666;
    border-top: 1px solid #f0f0f0; padding-top: 0.4rem;
}

/* Info box */
.info-box[b-d6g60h7hwf] { background: #f8f9fa; border: 1px solid #e9ecef; }
.info-box h4[b-d6g60h7hwf] { color: #0d6efd; }

.callout[b-d6g60h7hwf] {
    display: flex; align-items: flex-start; gap: 0.5rem;
    background: #e7f1ff; border-radius: 6px; padding: 0.6rem 0.8rem;
    font-size: 0.82rem; color: #084298; margin-top: 0.5rem;
}
.callout.warning[b-d6g60h7hwf] { background: #fff3cd; color: #664d03; }
.callout i[b-d6g60h7hwf] { margin-top: 0.1rem; flex-shrink: 0; }

/* Vendor tabs */
.vendor-tabs[b-d6g60h7hwf] {
    display: flex; gap: 0.5rem; margin-bottom: 1rem;
}
.vendor-btn[b-d6g60h7hwf] {
    padding: 0.5rem 1.25rem; border-radius: 6px; border: 2px solid #dee2e6;
    background: #fff; cursor: pointer; transition: all 0.15s;
}
.vendor-btn:hover[b-d6g60h7hwf] { border-color: #adb5bd; }
.vendor-btn.active[b-d6g60h7hwf] { border-color: #0d6efd; background: #e7f1ff; }

.vendor-card[b-d6g60h7hwf] {
    background: #fff; border-radius: 8px; padding: 1.25rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    border-top: 4px solid #0d6efd;
}
.vendor-card.epic[b-d6g60h7hwf] { border-top-color: #e11d48; }
.vendor-card.meditech[b-d6g60h7hwf] { border-top-color: #2563eb; }
.vendor-card.cerner[b-d6g60h7hwf] { border-top-color: #059669; }

.vendor-card h4[b-d6g60h7hwf] { margin: 0 0 0.75rem; }

.vendor-detail[b-d6g60h7hwf] { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 800px) { .vendor-detail[b-d6g60h7hwf] { grid-template-columns: 1fr; } }

.detail-section ul[b-d6g60h7hwf] {
    margin: 0; padding-left: 1.25rem; font-size: 0.85rem; color: #555;
}
.detail-section li[b-d6g60h7hwf] { margin-bottom: 0.3rem; }
.detail-section code[b-d6g60h7hwf] {
    background: #f1f3f5; padding: 0.1rem 0.3rem; border-radius: 3px;
    font-size: 0.78rem; word-break: break-all;
}

/* Steps */
.steps-list[b-d6g60h7hwf] { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1rem; }
.step-card[b-d6g60h7hwf] {
    display: flex; gap: 1rem; background: #fff; border-radius: 8px;
    padding: 1rem 1.25rem; box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.step-number[b-d6g60h7hwf] {
    width: 36px; height: 36px; border-radius: 50%; background: #0d6efd;
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.step-content[b-d6g60h7hwf] { flex: 1; }
.step-content h4[b-d6g60h7hwf] { margin: 0 0 0.4rem; font-size: 0.95rem; }
.step-content p[b-d6g60h7hwf] { font-size: 0.85rem; color: #555; margin-bottom: 0.5rem; }
.step-content a[b-d6g60h7hwf] { color: #0d6efd; }
/* /Pages/KioskBranding.razor.rz.scp.css */
/* ?? Kiosk Branding Admin Page ??????????????????????????? */

.kiosk-preview[b-je68oggehi] {
    border-radius: 0 0 8px 8px;
    padding: 32px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 420px;
}

.preview-card[b-je68oggehi] {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    width: 100%;
    max-width: 300px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

.preview-logo-area[b-je68oggehi] {
    margin-bottom: 10px;
}

.preview-hospital[b-je68oggehi] {
    font-size: 1.15em;
    font-weight: 700;
    margin-bottom: 6px;
}

.preview-welcome[b-je68oggehi] {
    font-size: 0.8em;
    color: #666;
    margin-bottom: 14px;
    line-height: 1.4;
}

.preview-emergency[b-je68oggehi] {
    background: #fff3cd;
    color: #856404;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 0.72em;
    font-weight: 600;
    margin-bottom: 14px;
}

.preview-btn[b-je68oggehi] {
    color: #fff;
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 0.85em;
    margin-bottom: 10px;
}

.preview-footer[b-je68oggehi] {
    font-size: 0.65em;
    color: #aaa;
}
/* /Pages/Settings.razor.rz.scp.css */
.settings-container[b-2ghqvpc3xu] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.settings-container h1[b-2ghqvpc3xu] {
    color: #1f2937;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.settings-container h1 i[b-2ghqvpc3xu] {
    color: #667eea;
    font-size: 2rem;
}

.settings-sections[b-2ghqvpc3xu] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
}

.settings-card[b-2ghqvpc3xu] {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.settings-card h2[b-2ghqvpc3xu] {
    color: #374151;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.settings-card h2 i[b-2ghqvpc3xu] {
    color: #667eea;
}

.info-group[b-2ghqvpc3xu] {
    margin-bottom: 1.25rem;
}

.info-group label[b-2ghqvpc3xu] {
    display: block;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.info-group p[b-2ghqvpc3xu] {
    margin: 0;
    font-size: 1.05rem;
    color: #1f2937;
    padding: 0.5rem 0;
}

.checkbox-group[b-2ghqvpc3xu] {
    margin-bottom: 1rem;
}

.checkbox-group label[b-2ghqvpc3xu] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    color: #4b5563;
}

.checkbox-group input[type="checkbox"][b-2ghqvpc3xu] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"]:disabled[b-2ghqvpc3xu] {
    cursor: not-allowed;
    opacity: 0.6;
}

.help-text[b-2ghqvpc3xu] {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #6b7280;
    font-style: italic;
}

.help-text a[b-2ghqvpc3xu] {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.help-text a:hover[b-2ghqvpc3xu] {
    text-decoration: underline;
}

.btn[b-2ghqvpc3xu] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin-right: 0.75rem;
    margin-top: 0.5rem;
}

.btn-secondary[b-2ghqvpc3xu] {
    background: #6b7280;
    color: white;
}

.btn-secondary:hover[b-2ghqvpc3xu] {
    background: #4b5563;
}

.btn-danger[b-2ghqvpc3xu] {
    background: #dc2626;
    color: white;
}

.btn-danger:hover[b-2ghqvpc3xu] {
    background: #b91c1c;
}

@media (max-width: 768px) {
    .settings-sections[b-2ghqvpc3xu] {
        grid-template-columns: 1fr;
    }
    
    .btn[b-2ghqvpc3xu] {
        width: 100%;
        justify-content: center;
        margin-right: 0;
    }
}
/* /Pages/StatusTriggers.razor.rz.scp.css */
/* Status Triggers Page */
.triggers-container[b-bhew9yaiod] {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.triggers-container h1[b-bhew9yaiod] {
    color: #1f2937;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.subtitle[b-bhew9yaiod] {
    color: #6b7280;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.add-trigger-section[b-bhew9yaiod] {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.add-trigger-section h2[b-bhew9yaiod] {
    color: #374151;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trigger-form[b-bhew9yaiod] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row[b-bhew9yaiod] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group[b-bhew9yaiod] {
    display: flex;
    flex-direction: column;
}

.form-group label[b-bhew9yaiod] {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-control[b-bhew9yaiod] {
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s;
}

.form-control:focus[b-bhew9yaiod] {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.triggers-list[b-bhew9yaiod] {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.triggers-list h2[b-bhew9yaiod] {
    color: #374151;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.triggers-grid[b-bhew9yaiod] {
    display: grid;
    gap: 1.5rem;
}

.trigger-card[b-bhew9yaiod] {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.trigger-card:hover[b-bhew9yaiod] {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.trigger-rule[b-bhew9yaiod] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.trigger-when[b-bhew9yaiod],
.trigger-then[b-bhew9yaiod] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.trigger-when .label[b-bhew9yaiod],
.trigger-then .label[b-bhew9yaiod] {
    font-size: 0.75rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.trigger-when .value[b-bhew9yaiod] {
    font-size: 1.1rem;
    font-weight: 600;
    color: #667eea;
}

.trigger-then .value[b-bhew9yaiod] {
    font-size: 1.1rem;
    font-weight: 600;
    color: #10b981;
}

.trigger-arrow[b-bhew9yaiod] {
    font-size: 1.5rem;
    color: #9ca3af;
}

.trigger-message[b-bhew9yaiod] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    color: #6b7280;
}

.trigger-message i[b-bhew9yaiod] {
    color: #667eea;
}

.trigger-actions[b-bhew9yaiod] {
    display: flex;
    gap: 0.75rem;
}

.btn[b-bhew9yaiod] {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.btn:disabled[b-bhew9yaiod] {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary[b-bhew9yaiod] {
    background: #667eea;
    color: white;
}

.btn-primary:hover:not(:disabled)[b-bhew9yaiod] {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-sm[b-bhew9yaiod] {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}

.btn-warning[b-bhew9yaiod] {
    background: #f59e0b;
    color: white;
}

.btn-warning:hover[b-bhew9yaiod] {
    background: #d97706;
}

.btn-success[b-bhew9yaiod] {
    background: #10b981;
    color: white;
}

.btn-success:hover[b-bhew9yaiod] {
    background: #059669;
}

.btn-danger[b-bhew9yaiod] {
    background: #ef4444;
    color: white;
}

.btn-danger:hover[b-bhew9yaiod] {
    background: #dc2626;
}

.alert[b-bhew9yaiod] {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success[b-bhew9yaiod] {
    background: #d1fae5;
    border: 1px solid #10b981;
    color: #065f46;
}

.alert-danger[b-bhew9yaiod] {
    background: #fee2e2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

.loading[b-bhew9yaiod],
.empty-state[b-bhew9yaiod] {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
}

.loading i[b-bhew9yaiod],
.empty-state i[b-bhew9yaiod] {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.spinner-border[b-bhew9yaiod] {
    width: 2rem;
    height: 2rem;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border-b-bhew9yaiod 0.75s linear infinite;
}

.spinner-border-sm[b-bhew9yaiod] {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
}

@keyframes spinner-border-b-bhew9yaiod {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .triggers-container[b-bhew9yaiod] {
        padding: 0 1rem;
    }

    .form-row[b-bhew9yaiod] {
        grid-template-columns: 1fr;
    }

    .trigger-rule[b-bhew9yaiod] {
        flex-direction: column;
        align-items: flex-start;
    }

    .trigger-arrow[b-bhew9yaiod] {
        transform: rotate(90deg);
    }

    .trigger-actions[b-bhew9yaiod] {
        flex-direction: column;
    }

    .btn[b-bhew9yaiod] {
        width: 100%;
        justify-content: center;
    }
}
/* /Shared/MainLayout.razor.rz.scp.css */
/* Modern Sidebar Layout */
.page[b-lqwh86wa8t] {
    display: flex;
    min-height: 100vh;
    background: #f0f2f5;
}

.sidebar[b-lqwh86wa8t] {
    width: 250px;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
}

.sidebar-brand[b-lqwh86wa8t] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-brand i[b-lqwh86wa8t] {
    font-size: 1.6rem;
    color: #60a5fa;
}

.sidebar-footer[b-lqwh86wa8t] {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 1.25rem;
}

.sidebar-user[b-lqwh86wa8t] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.sidebar-user i[b-lqwh86wa8t] {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.sidebar-logout[b-lqwh86wa8t] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.6rem 0.75rem;
    background: rgba(239, 68, 68, 0.1);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.sidebar-logout:hover[b-lqwh86wa8t] {
    background: rgba(239, 68, 68, 0.2);
    color: #fecaca;
}

main[b-lqwh86wa8t] {
    flex: 1;
    margin-left: 250px;
    min-width: 0;
    background: #f0f2f5;
    min-height: 100vh;
}

.content[b-lqwh86wa8t] {
    padding: 1.5rem 2rem;
    min-height: 100vh;
}

@media (max-width: 768px) {
    .sidebar[b-lqwh86wa8t] {
        width: 100%;
        position: relative;
        height: auto;
    }
    
    main[b-lqwh86wa8t] {
        margin-left: 0;
    }
}

/* /Shared/NavMenu.razor.rz.scp.css */
/* Beautiful Modern Sidebar Navigation */
.nav-menu[b-xn4evy6mgy] {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
    gap: 0.25rem;
    flex-shrink: 0;
}

.nav-item[b-xn4evy6mgy],
.nav-item:link[b-xn4evy6mgy],
.nav-item:visited[b-xn4evy6mgy] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-size: 1rem;
    font-weight: 500;
}

.nav-item i[b-xn4evy6mgy] {
    font-size: 1.3rem;
    min-width: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
}

.nav-item:hover[b-xn4evy6mgy],
.nav-item:hover i[b-xn4evy6mgy] {
    background: rgba(255, 255, 255, 0.05);
    color: white !important;
    border-left-color: #60a5fa;
}

.nav-item.active[b-xn4evy6mgy],
.nav-item.active:link[b-xn4evy6mgy],
.nav-item.active:visited[b-xn4evy6mgy] {
    background: rgba(96, 165, 250, 0.15);
    color: #60a5fa !important;
    border-left-color: #60a5fa;
}

.nav-item.active i[b-xn4evy6mgy] {
    color: #60a5fa !important;
}



/* Top Navbar */
.navbar[b-xn4evy6mgy] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container[b-xn4evy6mgy] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    height: 64px;
}

.menu-toggle[b-xn4evy6mgy] {
    display: none;
}

.hamburger[b-xn4evy6mgy] {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.navbar-brand[b-xn4evy6mgy] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
}

.navbar-brand i[b-xn4evy6mgy] {
    font-size: 1.75rem;
}

.navbar-menu[b-xn4evy6mgy] {
    display: flex;
    gap: 0.5rem;
    flex: 1;
    margin: 0 2rem;
}

.navbar-menu .nav-item[b-xn4evy6mgy] {
    padding: 0.75rem 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    border-left: none;
}

.navbar-menu .nav-item:hover[b-xn4evy6mgy] {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.navbar-menu .nav-item.active[b-xn4evy6mgy] {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.navbar-user[b-xn4evy6mgy] {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.btn-logout[b-xn4evy6mgy] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
}

.btn-logout:hover[b-xn4evy6mgy] {
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .hamburger[b-xn4evy6mgy] {
        display: block;
    }
    
    .navbar-menu[b-xn4evy6mgy] {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        flex-direction: column;
        margin: 0;
        padding: 1rem;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.3s;
    }
    
    .navbar-menu.active[b-xn4evy6mgy] {
        max-height: 500px;
        opacity: 1;
    }
    
    .navbar-user .user-name[b-xn4evy6mgy] {
        display: none;
    }
}
