/* Settings > Users (Team) — Sahara red/blue on white; Active green, Inactive red */
.su-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.su-title { margin: 0; font-size: 20px; color: #0f172a; }
.su-sub { margin: 4px 0 0; font-size: 13px; color: #64748b; }
.btn.su-add { background: var(--sahara-red, #c6283d); padding: 9px 16px; font-size: 13.5px; white-space: nowrap; }
.btn.su-add:hover:not(:disabled) { background: #a81f33; }

.su-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
@media (max-width: 760px) { .su-stats { grid-template-columns: repeat(2, 1fr); } }
.su-stat { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; background: #fff; border: 1px solid #e3e8f0; border-top: 3px solid var(--sahara-blue, #1d4ed8); border-radius: 10px; padding: 11px 14px; cursor: pointer; font: inherit; }
.su-stat b { font-size: 22px; line-height: 1.1; color: #0f172a; }
.su-stat span { font-size: 12.5px; color: #64748b; font-weight: 600; }
.su-stat.ok { border-top-color: #16a34a; } .su-stat.ok b { color: #15803d; }
.su-stat.off { border-top-color: #dc2626; } .su-stat.off b { color: #b91c1c; }
.su-stat.drv { cursor: default; border-top-color: #94a3b8; }
.su-stat:hover:not(.drv) { background: #fafcff; }
.su-stat.on { box-shadow: 0 0 0 2px var(--sahara-blue-line, #c8daf8); }

.su-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.su-search { flex: 1 1 260px; max-width: 380px; padding: 8px 11px; border: 1px solid #cfd8e6; border-radius: 8px; font: inherit; font-size: 13.5px; }
.su-filter { padding: 8px 10px; border: 1px solid #cfd8e6; border-radius: 8px; background: #fff; font: inherit; font-size: 13.5px; color: #334155; }
.su-count { margin-left: auto; font-size: 12.5px; color: #64748b; }

.su-table-wrap { border: 1px solid #e3e8f0; border-radius: 12px; background: #fff; }
.su-table.cmp-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.su-table thead th { background: #f8fafc; text-align: left; padding: 10px 14px; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #64748b; border-bottom: 2px solid var(--sahara-blue, #1d4ed8); }
.su-table thead th:first-child { border-top-left-radius: 12px; } .su-table thead th:last-child { border-top-right-radius: 12px; }
.su-table td { padding: 10px 14px; border-top: 1px solid #eef1f6; vertical-align: middle; color: #1e293b; background: #fff; }
.su-table tbody tr:first-child td { border-top: 0; }
.su-table tbody tr:hover td { background: #fafcff; }
.su-table tbody tr.su-inactive td { background: #fffafa; }
.su-table tbody tr.su-inactive .su-user b { color: #64748b; }
.su-user { display: flex; align-items: center; gap: 11px; }
.su-user b { display: block; font-size: 13.5px; color: #0f172a; }
.su-user small { display: block; font-size: 12px; color: #64748b; }
.su-avatar { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sahara-blue-soft, #eef5ff); color: #174ea6; font-size: 12.5px; font-weight: 700; text-transform: uppercase; }
.su-inactive .su-avatar { background: #fde8e8; color: #b91c1c; }
.su-phone { white-space: nowrap; color: #475569; }
.su-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.su-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.su-pill.ok { color: #15803d; background: #dcfce7; }
.su-pill.off { color: #b91c1c; background: #fee2e2; }
.su-role { min-width: 170px; padding: 7px 9px; border: 1px solid #cfd8e6; border-radius: 8px; background: #fff; font: inherit; font-size: 13px; color: #1e293b; }
.su-role.changed { border-color: var(--sahara-blue, #1d4ed8); box-shadow: 0 0 0 2px var(--sahara-blue-soft, #eef5ff); }
.su-role:disabled { background: #f8fafc; color: #64748b; }
.su-actions-h { text-align: right !important; }
.su-actions { text-align: right; white-space: nowrap; width: 170px; }
.su-actions > * { vertical-align: middle; }
.btn.su-save { padding: 6px 11px; font-size: 12.5px; margin-right: 6px; }
.su-empty { margin: 0; padding: 26px; text-align: center; color: #94a3b8; font-size: 13px; }

.su-dialog { border: 0; border-top: 4px solid var(--sahara-blue, #1d4ed8); border-radius: 12px; padding: 22px 24px; width: min(560px, 94vw); box-shadow: 0 20px 50px rgba(15, 23, 42, .25); }
.su-dialog h3 { margin: 0; font-size: 18px; color: #0f172a; }
.su-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; margin-top: 16px; }
@media (max-width: 560px) { .su-grid { grid-template-columns: 1fr; } }
.su-grid label { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; font-weight: 600; color: #334155; }
.su-grid input, .su-grid select { font: inherit; font-weight: 400; font-size: 13.5px; padding: 8px 10px; border: 1px solid #cfd8e6; border-radius: 8px; }
.su-msg { min-height: 1em; margin: 12px 0 0; font-size: 13px; color: #b91c1c; }
.su-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
