/* ==========================================================================
   API Lab - Admin CMS ("Smart AI" theme)
   ========================================================================== */
:root {
  --ink: #0f172a; --ink-2: #334155; --muted: #64748b; --line: #e5e9f0; --bg: #f3f6fb;
  --primary: #0f766e; --primary-2: #14b8a6; --indigo: #4f46e5; --violet: #8b5cf6;
  --ai-grad: linear-gradient(135deg, #14b8a6 0%, #6366f1 55%, #a855f7 100%);
  --side: #0b1220; --side-2: #111a2e;
  --radius: 16px;
  --shadow: 0 8px 28px -14px rgba(15, 23, 42, .25);
}
body { font-family: "Plus Jakarta Sans", system-ui, sans-serif; background: var(--bg); color: var(--ink-2); font-size: .92rem; }
h1, h2, h3, h4, h5, h6 { font-family: "Space Grotesk", sans-serif; color: var(--ink); letter-spacing: -.015em; }
a { color: var(--primary); text-decoration: none; }
.text-gradient { background: var(--ai-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Layout */
.admin-shell { display: flex; min-height: 100vh; }
.sidebar { width: 264px; flex: 0 0 264px; background: var(--side); color: #94a3b8; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; z-index: 1040; transition: transform .25s; }
.sidebar::-webkit-scrollbar { width: 6px; } .sidebar::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 6px; }
.sidebar .brand { padding: 1.25rem 1.25rem 1rem; display: flex; align-items: center; gap: .75rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.sidebar .brand img { width: 44px; height: 44px; border-radius: 12px; background: #fff; padding: 4px; object-fit: contain; }
.sidebar .brand .t { color: #fff; font-weight: 700; font-family: "Space Grotesk"; line-height: 1.1; }
.sidebar .brand small { color: #64748b; font-size: .72rem; }
.sidebar .nav-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: #475569; padding: 1.2rem 1.4rem .4rem; font-weight: 700; }
.sidebar .s-link { display: flex; align-items: center; gap: .8rem; padding: .62rem 1rem; margin: .12rem .75rem; border-radius: 12px; color: #a3b1c6; font-weight: 500; transition: all .18s; }
.sidebar .s-link i { font-size: 1.08rem; width: 20px; text-align: center; }
.sidebar .s-link:hover { background: var(--side-2); color: #fff; }
.sidebar .s-link.active { background: var(--ai-grad); color: #fff; box-shadow: 0 8px 20px -8px rgba(99,102,241,.7); }
.sidebar .s-link .badge { margin-left: auto; }
.sidebar .ai-card { margin: auto .9rem 1rem; padding: 1rem; border-radius: 16px; background: linear-gradient(160deg, rgba(20,184,166,.18), rgba(99,102,241,.18)); border: 1px solid rgba(255,255,255,.08); color: #cbd5e1; font-size: .8rem; }
.sidebar .ai-card .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); padding: .7rem 1.5rem; display: flex; align-items: center; gap: 1rem; }
.topbar .ai-pill { display: inline-flex; align-items: center; gap: .45rem; font-size: .76rem; font-weight: 600; padding: .35rem .75rem; border-radius: 999px; background: rgba(99,102,241,.1); color: var(--indigo); }
.topbar .ai-pill.off { background: rgba(245,158,11,.12); color: #b45309; }
.content { padding: 1.6rem 1.5rem 3rem; }
.page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.4rem; }
.page-head h1 { font-size: 1.5rem; font-weight: 700; margin: 0; }
.page-head .sub { color: var(--muted); font-size: .85rem; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.panel-pad { padding: 1.3rem; }

@media (max-width: 991.98px) {
  .sidebar { position: fixed; left: 0; transform: translateX(-100%); }
  .sidebar.open { transform: none; box-shadow: 0 0 60px rgba(0,0,0,.5); }
  .content { padding: 1.2rem 1rem 3rem; }
}

/* Buttons */
.btn-ai { background: var(--ai-grad); color: #fff !important; border: 0; font-weight: 600; border-radius: 11px; box-shadow: 0 8px 20px -10px rgba(99,102,241,.9); }
.btn-ai:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-ai:disabled { opacity: .7; transform: none; }
.btn-soft { background: rgba(20,184,166,.1); color: var(--primary); border: 0; font-weight: 600; border-radius: 11px; }
.btn-soft:hover { background: rgba(20,184,166,.18); color: var(--primary); }
.btn-light-b { background: #fff; border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; border-radius: 11px; }
.btn-light-b:hover { border-color: #cbd5e1; background: #f8fafc; }
.btn-icon { width: 34px; height: 34px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; }

/* Stats */
.stat { padding: 1.2rem; display: flex; gap: 1rem; align-items: center; transition: transform .2s; }
.stat:hover { transform: translateY(-3px); }
.stat .ic { width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; color: #fff; }
.stat .n { font-size: 1.7rem; font-weight: 700; font-family: "Space Grotesk"; color: var(--ink); line-height: 1; }
.stat .l { color: var(--muted); font-size: .8rem; font-weight: 500; }
.g-teal { background: linear-gradient(135deg,#14b8a6,#0f766e); } .g-indigo { background: linear-gradient(135deg,#818cf8,#4f46e5); }
.g-violet { background: linear-gradient(135deg,#c084fc,#7c3aed); } .g-amber { background: linear-gradient(135deg,#fbbf24,#d97706); }
.g-sky { background: linear-gradient(135deg,#38bdf8,#0284c7); } .g-rose { background: linear-gradient(135deg,#fb7185,#e11d48); }
.ai-insight { display: flex; gap: .75rem; padding: .8rem 0; border-bottom: 1px dashed var(--line); }
.ai-insight:last-child { border-bottom: 0; }
.ai-insight i { color: var(--violet); }

/* Table */
.toolbar { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.search-box { position: relative; flex: 1 1 260px; max-width: 380px; }
.search-box i { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-box input { padding-left: 2.3rem; border-radius: 11px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .32rem .85rem; font-weight: 600; font-size: .8rem; color: var(--ink-2); }
.chip.active, .chip:hover { background: var(--ai-grad); border-color: transparent; color: #fff; }
.table-smart { margin: 0; }
.table-smart thead th { background: #f8fafc; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; border-bottom: 1px solid var(--line); padding: .8rem 1rem; white-space: nowrap; }
.table-smart td { padding: .75rem 1rem; vertical-align: middle; border-color: #f1f5f9; }
.table-smart tbody tr { transition: background .15s; }
.table-smart tbody tr:hover { background: #f8fbff; }
.table-smart .thumb { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; background: #f1f5f9; display: flex; align-items: center; justify-content: center; color: #94a3b8; }
.badge-soft { font-weight: 600; font-size: .72rem; padding: .35em .7em; border-radius: 999px; }
.bs-teal { background: rgba(20,184,166,.12); color: #0f766e; } .bs-indigo { background: rgba(99,102,241,.12); color: #4338ca; }
.bs-gray { background: #f1f5f9; color: #64748b; } .bs-rose { background: rgba(244,63,94,.12); color: #be123c; } .bs-amber { background: rgba(245,158,11,.14); color: #b45309; }
.empty-state { padding: 3.5rem 1rem; text-align: center; color: var(--muted); }
.empty-state i { font-size: 2.6rem; display: block; margin-bottom: .6rem; color: #cbd5e1; }
code.path { color: var(--indigo); background: rgba(99,102,241,.07); padding: .15rem .45rem; border-radius: 6px; font-size: .78rem; }
.table-loading { position: relative; pointer-events: none; opacity: .55; }

/* ==========================================================================
   SMART AI MODAL
   ========================================================================== */
.modal-ai .modal-dialog { max-width: 920px; }
.modal-ai .modal-content { border: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 90px -30px rgba(15,23,42,.55); }
.modal-ai .modal-header { position: relative; border: 0; padding: 1.15rem 1.4rem; background: radial-gradient(120% 140% at 0% 0%, rgba(20,184,166,.16), transparent 50%), radial-gradient(120% 140% at 100% 0%, rgba(168,85,247,.14), transparent 50%), #fff; border-bottom: 1px solid var(--line); }
.modal-ai .modal-header::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--ai-grad); background-size: 200% 100%; animation: aiflow 4s linear infinite; }
@keyframes aiflow { to { background-position: 200% 0; } }
.modal-ai .m-icon { width: 46px; height: 46px; border-radius: 14px; background: var(--ai-grad); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; box-shadow: 0 10px 24px -10px rgba(99,102,241,.9); flex: 0 0 auto; }
.modal-ai .modal-title { font-weight: 700; font-size: 1.12rem; }
.modal-ai .m-sub { font-size: .76rem; color: var(--muted); }
.modal-ai .ai-status { font-size: .72rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; background: rgba(99,102,241,.1); color: var(--indigo); white-space: nowrap; }
.modal-ai .btn-close-x { width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: all .2s; }
.modal-ai .btn-close-x:hover { background: #fee2e2; color: #dc2626; border-color: #fecaca; transform: rotate(90deg); }
/* Vertical scroll: body scrolls, header & footer stay fixed */
.modal-ai .modal-body { max-height: calc(100vh - 220px); overflow-y: auto; padding: 1.4rem; background: #fbfcfe; scrollbar-width: thin; scrollbar-color: #a5b4fc #eef2ff; }
.modal-ai .modal-body::-webkit-scrollbar { width: 10px; }
.modal-ai .modal-body::-webkit-scrollbar-track { background: #eef2ff; border-radius: 10px; }
.modal-ai .modal-body::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #14b8a6, #6366f1, #a855f7); border-radius: 10px; border: 2px solid #eef2ff; }
.modal-ai .modal-footer { border-top: 1px solid var(--line); background: #fff; padding: .9rem 1.4rem; justify-content: space-between; }
.modal-ai .form-label { font-weight: 600; font-size: .82rem; color: var(--ink); margin-bottom: .35rem; display: flex; align-items: center; gap: .4rem; }
.modal-ai .req { color: #e11d48; }
.modal-ai .form-control, .modal-ai .form-select { border-radius: 12px; border-color: #dfe5ee; padding: .62rem .85rem; font-size: .9rem; background: #fff; }
.modal-ai .form-control:focus, .modal-ai .form-select:focus { border-color: #818cf8; box-shadow: 0 0 0 .22rem rgba(99,102,241,.14); }
.modal-ai .form-control[readonly] { background: #f8fafc; }
.modal-ai .field { position: relative; }
.modal-ai .field-meta { display: flex; justify-content: space-between; font-size: .72rem; color: var(--muted); margin-top: .3rem; gap: .5rem; }
.meter { height: 4px; border-radius: 4px; background: #eef2f7; overflow: hidden; margin-top: .35rem; }
.meter span { display: block; height: 100%; width: 0; background: var(--primary-2); transition: width .2s, background .2s; }
.switch-card { display: flex; align-items: center; gap: .7rem; border: 1px solid #dfe5ee; border-radius: 12px; padding: .62rem .85rem; background: #fff; height: 100%; min-height: 46px; }
.switch-card .form-check-input { width: 2.4em; height: 1.25em; cursor: pointer; }
.switch-card .form-check-input:checked { background-color: #6366f1; border-color: #6366f1; }

/* AI menu per field */
.ai-btn { border: 0; background: var(--ai-grad); color: #fff; font-size: .72rem; font-weight: 600; padding: .22rem .6rem; border-radius: 999px; margin-left: auto; line-height: 1.4; }
.ai-btn:hover { filter: brightness(1.08); }
.ai-menu { border: 0; border-radius: 14px; box-shadow: 0 20px 50px -16px rgba(15,23,42,.35); padding: .4rem; min-width: 210px; }
.ai-menu .dropdown-item { border-radius: 9px; font-size: .84rem; padding: .45rem .7rem; }
.ai-menu .dropdown-item:hover { background: linear-gradient(90deg, rgba(20,184,166,.12), rgba(99,102,241,.1)); }
.field.ai-working::after { content: ""; position: absolute; inset: 24px 0 0 0; border-radius: 12px; background: linear-gradient(100deg, transparent 20%, rgba(99,102,241,.16) 50%, transparent 80%); background-size: 200% 100%; animation: shimmer 1.1s linear infinite; pointer-events: none; }
@keyframes shimmer { to { background-position: -200% 0; } }
.field.ai-done .form-control, .field.ai-done .ql-container { box-shadow: 0 0 0 .22rem rgba(20,184,166,.22); border-color: var(--primary-2) !important; transition: box-shadow .4s; }

/* Rich text editor */
.ql-toolbar.ql-snow { border-radius: 12px 12px 0 0; border-color: #dfe5ee; background: #f8fafc; }
.ql-container.ql-snow { border-radius: 0 0 12px 12px; border-color: #dfe5ee; background: #fff; font-family: inherit; font-size: .92rem; }
.ql-editor { min-height: 200px; max-height: 360px; overflow-y: auto; }
.is-invalid-editor .ql-toolbar, .is-invalid-editor .ql-container { border-color: #dc3545 !important; }

/* Upload zone */
.upload-zone { border: 2px dashed #cdd6e3; border-radius: 14px; padding: .9rem; background: #fff; display: flex; align-items: center; gap: .85rem; transition: all .2s; position: relative; }
.upload-zone.drag { border-color: #6366f1; background: #eef2ff; }
.upload-zone.is-invalid { border-color: #dc3545; }
.upload-zone .up-ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(99,102,241,.1); color: var(--indigo); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex: 0 0 auto; }
.upload-zone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-zone .up-text { font-size: .8rem; color: var(--muted); line-height: 1.35; min-width: 0; }
.upload-zone .up-text strong { color: var(--ink); display: block; font-size: .84rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.current-file { display: flex; align-items: center; gap: .6rem; margin-top: .5rem; padding: .45rem .6rem; border-radius: 11px; background: #f1f5f9; font-size: .78rem; }
.current-file img { width: 40px; height: 40px; object-fit: cover; border-radius: 8px; }
.current-file .form-check { margin: 0 0 0 auto; }

/* Toasts & confirm */
.toast-stack { position: fixed; top: 1rem; right: 1rem; z-index: 2000; display: flex; flex-direction: column; gap: .6rem; }
.toast-ai { min-width: 280px; max-width: 380px; background: #0f172a; color: #e2e8f0; border-radius: 14px; padding: .8rem 1rem; box-shadow: 0 20px 40px -14px rgba(0,0,0,.5); display: flex; gap: .7rem; align-items: flex-start; animation: tin .25s ease-out; font-size: .86rem; }
.toast-ai .t-ic { width: 28px; height: 28px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.toast-ai.success .t-ic { background: rgba(20,184,166,.25); color: #5eead4; }
.toast-ai.error .t-ic { background: rgba(244,63,94,.25); color: #fda4af; }
.toast-ai.ai .t-ic { background: var(--ai-grad); color: #fff; }
.toast-ai button { background: none; border: 0; color: #a5b4fc; font-weight: 700; padding: 0; margin-left: .3rem; }
@keyframes tin { from { opacity: 0; transform: translateX(30px);} to { opacity: 1; transform: none;} }
.confirm-ic { width: 64px; height: 64px; border-radius: 20px; margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; background: #fee2e2; color: #dc2626; }

/* Login */
.login-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.login-art { background: linear-gradient(135deg, #042f2e, #0b3b3a 40%, #1e1b4b); position: relative; overflow: hidden; color: #cbd5e1; padding: 3rem; display: flex; flex-direction: column; justify-content: space-between; }
.login-art .blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.login-art h1 { color: #fff; font-size: 2.4rem; font-weight: 700; }
.login-form { display: flex; align-items: center; justify-content: center; padding: 2rem; background: #fff; }
.login-card { width: 100%; max-width: 400px; }
@media (max-width: 991.98px) { .login-wrap { grid-template-columns: 1fr; } .login-art { display: none; } }

.modal-ai .ai-menu[data-bs-popper=static] { right: 0; left: auto; top: calc(100% + 4px); z-index: 1065; }


/* ==========================================================================
   Responsive layer - admin
   ========================================================================== */
.sticky-lg { position: static; }
@media (min-width: 992px) { .sticky-lg { position: sticky; top: 80px; } }
.sidebar-backdrop { display: none; }
body.no-scroll { overflow: hidden; }
@media (max-width: 991.98px) {
  .sidebar-backdrop { display: block; position: fixed; inset: 0; background: rgba(2, 6, 23, .55); backdrop-filter: blur(2px); z-index: 1035; opacity: 0; pointer-events: none; transition: opacity .25s; }
  .sidebar-backdrop.show { opacity: 1; pointer-events: auto; }
  .topbar { padding: .6rem 1rem; }
}

/* Tablet & up: keep the Actions column visible while the table scrolls sideways */
@media (min-width: 768px) {
  .table-cards th.th-actions, .table-cards td.td-actions { position: sticky; right: 0; z-index: 1; }
  .table-cards td.td-actions { background: #fff; box-shadow: -10px 0 14px -12px rgba(15, 23, 42, .35); }
  .table-cards tbody tr:hover td.td-actions { background: #f8fbff; }
  .table-cards th.th-actions { background: #f8fafc; box-shadow: -10px 0 14px -12px rgba(15, 23, 42, .35); }
}

/* Phone: every table row becomes a card */
@media (max-width: 767.98px) {
  .table-cards thead { display: none; }
  .table-cards, .table-cards tbody, .table-cards tr, .table-cards td { display: block; width: 100%; }
  .table-cards tbody { padding: .75rem; }
  .table-cards tr { border: 1px solid var(--line); border-radius: 14px; padding: .55rem .9rem; margin-bottom: .75rem; background: #fff; box-shadow: 0 4px 14px -10px rgba(15, 23, 42, .3); }
  .table-cards td { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .4rem 0 !important; border: 0; text-align: right; min-width: 0; }
  .table-cards td > * { min-width: 0; overflow-wrap: anywhere; }
  .table-cards td::before { content: attr(data-label); flex: 0 0 auto; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-align: left; }
  .table-cards td.td-num { display: none; }
  .table-cards td.td-image { justify-content: flex-start; padding-top: .55rem !important; }
  .table-cards td.td-image::before { display: none; }
  .table-cards td.td-actions { justify-content: flex-end; gap: .5rem; border-top: 1px dashed var(--line); margin-top: .35rem; padding-top: .65rem !important; }
  .table-cards td.td-actions::before { display: none; }
  .table-cards td.td-actions .btn-icon { width: 40px; height: 40px; }
  .table-responsive { overflow: visible; }
}

/* Phone: general admin layout */
@media (max-width: 575.98px) {
  .content { padding: 1rem .75rem 3rem; }
  .page-head h1 { font-size: 1.25rem; }
  .page-head > .btn, .page-head > a.btn { width: 100%; }
  .toolbar { padding: .85rem; }
  .search-box { max-width: 100%; flex-basis: 100%; }
  #filterChips { flex-wrap: nowrap !important; overflow-x: auto; width: 100%; padding-bottom: .2rem; scrollbar-width: none; }
  #filterChips .chip { flex: 0 0 auto; white-space: nowrap; }
  .stat { padding: .9rem; gap: .7rem; }
  .stat .ic { width: 40px; height: 40px; font-size: 1.1rem; border-radius: 12px; }
  .stat .n { font-size: 1.35rem; }
  .panel-pad { padding: 1rem; }
  .toast-stack { left: .75rem; right: .75rem; top: .75rem; }
  .toast-ai { min-width: 0; max-width: none; }
  .form-control, .form-select { font-size: 16px !important; } /* prevents iOS zoom on focus */
  /* Full-screen edit popup on phones: fixed header & footer, scrolling body */
  .modal-ai .modal-fullscreen-sm-down .modal-content { border-radius: 0; }
  .modal-ai .modal-header { padding: .85rem 1rem; gap: .6rem !important; }
  .modal-ai .m-icon { width: 38px; height: 38px; font-size: 1.05rem; border-radius: 12px; }
  .modal-ai .modal-title { font-size: 1rem; }
  .modal-ai .m-sub { display: none; }
  .modal-ai .modal-body { max-height: none; padding: 1rem; }
  .modal-ai .modal-footer { padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom)); }
  .modal-ai .m-actions { width: 100%; }
  .modal-ai .m-actions .btn { flex: 1 1 0; padding-left: .5rem !important; padding-right: .5rem !important; }
  .ql-toolbar.ql-snow { padding: 6px; }
  .ql-editor { min-height: 160px; }
  .upload-zone { padding: .75rem; }
  .login-form { padding: 1.25rem; }
}

.sidebar .brand img { border-radius: 50%; padding: 2px; }


img.thumb { object-position: 50% 18%; }
.current-file img { object-position: 50% 18%; }


.sidebar .brand img { transition: transform .35s ease; }
.sidebar .brand:hover img { animation: logoBreathe 2s ease-in-out infinite; }
@keyframes logoBreathe { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(190,148,56,0); } 50% { transform: scale(1.12); box-shadow: 0 0 18px 6px rgba(190,148,56,.4); } }
@media (prefers-reduced-motion: reduce) { .sidebar .brand:hover img { animation: none; } }


.sidebar .brand { margin: .5rem; padding: .75rem; border-radius: 16px; border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.sidebar .brand:hover { transform: translateY(-2px); background: linear-gradient(var(--side-2), var(--side-2)) padding-box, var(--ai-grad) border-box; box-shadow: 0 14px 30px -10px rgba(99,102,241,.6); }
.sidebar .brand:hover img { animation: none; transform: scale(1.06); }


.sec-teal { background: rgba(20,184,166,.12); color: #0f766e; } .sec-indigo { background: rgba(99,102,241,.12); color: #4338ca; } .sec-amber { background: rgba(245,158,11,.14); color: #b45309; } .sec-violet { background: rgba(139,92,246,.12); color: #6d28d9; } .sec-sky { background: rgba(14,165,233,.12); color: #0369a1; } .sec-rose { background: rgba(244,63,94,.12); color: #be123c; }
.table-select { flex: 0 1 260px; }
@media (max-width: 575.98px) { .table-select { flex-basis: 100%; max-width: 100% !important; } }


.settings-tabs { display: flex; flex-wrap: wrap; gap: .45rem; }
.settings-tabs .chip { font-size: .82rem; padding: .45rem .9rem; }
@media (max-width: 575.98px) { .settings-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .25rem; } .settings-tabs .chip { flex: 0 0 auto; white-space: nowrap; } }


.search-box .form-control-sm { padding-left: 2.2rem; }

