/* ============================================
   CUSOSO SIGN — Design System
   ============================================ */

:root {
  /* Sidebar */
  --sidebar-width:        220px;
  --sidebar-bg:           #0f1117;
  --sidebar-border:       rgba(255,255,255,.06);
  --sidebar-text:         #8892a4;
  --sidebar-text-active:  #f0f2f5;
  --sidebar-accent:       #0090ff;
  --sidebar-active-bg:    rgba(0,144,255,.13);
  --sidebar-hover-bg:     rgba(255,255,255,.05);

  /* Top bar */
  --topbar-height:        54px;
  --topbar-bg:            #ffffff;
  --topbar-border:        #e8eaee;

  /* Content */
  --content-bg:           #f1f4f9;

  /* Brand colors */
  --primary:              #0090ff;
  --primary-hover:        #0078d4;
  --primary-light:        rgba(0,144,255,.1);
  --teal:                 #00c4a8;
  --violet:               #7c3aed;

  /* Semantic */
  --success:              #16a34a;
  --warning:              #d97706;
  --danger:               #dc2626;
  --info:                 #0891b2;

  /* Cards & surfaces */
  --card-bg:              #ffffff;
  --card-border:          rgba(0,0,0,.07);
  --card-radius:          10px;
  --card-shadow:          0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --card-shadow-hover:    0 4px 12px rgba(0,0,0,.1);

  /* Text */
  --text-primary:         #111827;
  --text-secondary:       #4b5563;
  --text-muted:           #9ca3af;

  /* Misc */
  --border-color:         #e5e7eb;
  --input-border:         #8c96a6;   /* inputs, selects, checkboxes: clearly visible as controls */
  --radius-sm:            6px;
  --radius-md:            10px;
  --radius-lg:            14px;
}

/* ============================================
   RESET / BASE
   ============================================ */

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: .9rem;
  color: var(--text-primary);
  background: var(--content-bg);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); }
a:hover { color: var(--primary-hover); }

/* ============================================
   APP LAYOUT
   ============================================ */

.app-layout {
  display: flex;
  min-height: 100vh;
}

/* ── Sidebar ── */

.sidebar {
  width: var(--sidebar-width);
  background: var(--sidebar-bg);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 200;
  transition: transform .22s ease;
  overflow: hidden;
}

.sidebar-logo {
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  border-bottom: 1px solid var(--sidebar-border);
  flex-shrink: 0;
}

.sidebar-logo img { height: 36px; }
.sidebar-logo .sidebar-logo-text {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -.02em;
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: .5rem 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.1) transparent;
}

.sidebar-nav::-webkit-scrollbar { width: 4px; }
.sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 2px; }

.sidebar-section-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.28);
  padding: .75rem 1rem .25rem;
  margin-top: .25rem;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: .625rem;
  padding: .45rem .875rem;
  color: var(--sidebar-text);
  border-radius: var(--radius-sm);
  margin: 1px .5rem;
  font-size: .84rem;
  font-weight: 500;
  text-decoration: none;
  transition: background .14s, color .14s;
  white-space: nowrap;
  border: none;
  background: none;
  width: calc(100% - 1rem);
  cursor: pointer;
  text-align: left;
}

.sidebar-link:hover {
  background: var(--sidebar-hover-bg);
  color: var(--sidebar-text-active);
  text-decoration: none;
}

.sidebar-link.active {
  background: var(--sidebar-active-bg);
  color: var(--sidebar-accent);
}

.sidebar-link .bi {
  font-size: .95rem;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

.sidebar-link.active .bi { color: var(--sidebar-accent); }

.sidebar-sublink {
  padding-left: 2.625rem;
  font-size: .82rem;
  color: rgba(136,146,164,.85);
}

.sidebar-sublink.active {
  color: var(--sidebar-accent);
  background: var(--sidebar-active-bg);
}

.sidebar-chevron {
  font-size: .75rem !important;
  margin-left: auto !important;
  transition: transform .2s;
  width: auto !important;
}

.sidebar-link[aria-expanded="true"] .sidebar-chevron {
  transform: rotate(180deg);
}

.sidebar-divider {
  height: 1px;
  background: var(--sidebar-border);
  margin: .5rem 1rem;
}

/* Sidebar footer */

.sidebar-footer {
  border-top: 1px solid var(--sidebar-border);
  padding: .625rem .5rem;
  flex-shrink: 0;
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: .625rem;
  padding: .45rem .875rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background .14s;
  margin-bottom: 2px;
}

.sidebar-user:hover { background: var(--sidebar-hover-bg); }

.sidebar-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.sidebar-user-name {
  font-size: .82rem;
  font-weight: 600;
  color: var(--sidebar-text-active);
  line-height: 1.2;
}

.sidebar-user-role {
  font-size: .7rem;
  color: var(--sidebar-text);
  text-transform: capitalize;
}

/* Sidebar overlay (mobile) */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 199;
}
.sidebar-overlay.show { display: block; }

/* ── Main area ── */

.app-main {
  margin-left: var(--sidebar-width);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-width: 0;
}

/* ── Top bar ── */

.app-topbar {
  height: var(--topbar-height);
  background: var(--topbar-bg);
  border-bottom: 1px solid var(--topbar-border);
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  gap: .75rem;
  position: sticky;
  top: 0;
  z-index: 100;
  flex-shrink: 0;
}

/* Sidebar toggle (mobile only) */
.sidebar-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.25rem;
  padding: .25rem .375rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  line-height: 1;
  align-items: center;
  justify-content: center;
}
.sidebar-toggle:hover { background: var(--content-bg); }

.topbar-title {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Quick-action row in sidebar footer */

.sidebar-quick-row {
  display: flex;
  align-items: center;
  gap: .25rem;
  padding: .25rem .5rem;
  margin-bottom: .25rem;
}

.sidebar-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: none;
  border: none;
  color: var(--sidebar-text);
  font-size: .95rem;
  cursor: pointer;
  position: relative;
  transition: background .14s, color .14s;
  text-decoration: none;
  line-height: 1;
}

.sidebar-icon-btn:hover {
  background: var(--sidebar-hover-bg);
  color: var(--sidebar-text-active);
}

/* Notification badge (reused in sidebar) */
.sidebar-icon-btn .notification-badge {
  position: absolute;
  top: 2px; right: 1px;
  min-width: 15px; height: 15px;
  background: var(--danger);
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

/* ── Top bar (mobile only) ── */

.app-topbar {
  height: var(--topbar-height);
  background: var(--topbar-bg);
  border-bottom: 1px solid var(--topbar-border);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: .75rem;
  position: sticky;
  top: 0;
  z-index: 100;
  flex-shrink: 0;
}

/* On desktop, top bar is hidden (d-lg-none) so app-main starts at top */

/* ── Content area ── */

.app-content {
  flex: 1;
  padding: 1.5rem;
  overflow-x: hidden;
}

/* ── Flash messages ── */

.flash-container {
  padding: .75rem 1.25rem 0;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */

@media (max-width: 991px) {
  .sidebar {
    transform: translateX(-100%);
  }
  .sidebar.open {
    transform: translateX(0);
    box-shadow: 4px 0 24px rgba(0,0,0,.3);
  }
  .app-main {
    margin-left: 0;
  }
  .sidebar-toggle {
    display: flex;
  }
  .app-content {
    padding: 1rem;
  }
}

/* ============================================
   CARDS
   ============================================ */

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
}

.card:hover {
  box-shadow: var(--card-shadow-hover);
  transition: box-shadow .18s;
}

.card-header {
  background: transparent;
  border-bottom: 1px solid var(--card-border);
  font-weight: 600;
  font-size: .82rem;
  color: var(--text-secondary);
  padding: .75rem 1rem;
}

.card-body { padding: 1rem; }

/* Stat cards */
.stat-card { cursor: default; }
.stat-card .card-body { padding: 1.1rem 1.25rem; }

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.bg-primary-light  { background: rgba(0,144,255,.1); }
.bg-success-light  { background: rgba(22,163,74,.1); }
.bg-warning-light  { background: rgba(217,119,6,.1); }
.bg-danger-light   { background: rgba(220,38,38,.1); }
.bg-info-light     { background: rgba(8,145,178,.1); }
.bg-teal-light     { background: rgba(0,196,168,.1); }

/* KPI big numbers */
.kpi-value {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.03em;
}

.kpi-card {
  border-left: 3px solid transparent;
  transition: border-color .2s;
}
.kpi-card.border-success { border-left-color: var(--success) !important; }
.kpi-card.border-warning { border-left-color: var(--warning) !important; }
.kpi-card.border-danger  { border-left-color: var(--danger)  !important; }
.kpi-card.border-primary { border-left-color: var(--primary) !important; }

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  font-size: .84rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #fff;
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ============================================
   TABLES
   ============================================ */

.table {
  font-size: .855rem;
  margin-bottom: 0;
  color: var(--text-primary);
}

.table thead th {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  background: transparent;
  padding: .625rem .75rem;
  white-space: nowrap;
}

.table tbody td {
  padding: .6rem .75rem;
  vertical-align: middle;
  border-color: var(--border-color);
}

.table-hover > tbody > tr:hover > * {
  background: rgba(0,144,255,.04);
}

/* ============================================
   FORMS
   ============================================ */

.form-control, .form-select {
  font-size: .855rem;
  border: 1px solid var(--input-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
}

.form-control:disabled, .form-select:disabled, .form-control[readonly] {
  background-color: #f3f4f6;
  border-color: #c3c9d3;
}

.input-group-text {
  border-color: var(--input-border);
}

.form-check-input {
  border: 1px solid var(--input-border);
  background-color: #fff;
}

.form-check-input:checked,
.form-check-input[type=checkbox]:indeterminate {
  background-color: var(--primary);
  border-color: var(--primary);
}

.form-check-input:disabled {
  border-color: #c3c9d3;
  background-color: #f3f4f6;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,144,255,.15);
}

.form-label {
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: .3rem;
}

.form-text {
  font-size: .78rem;
  color: var(--text-muted);
}

/* ============================================
   BADGES & STATUS
   ============================================ */

.badge {
  font-size: .72rem;
  font-weight: 600;
  padding: .3em .65em;
  border-radius: 4px;
  letter-spacing: .01em;
}

/* Status pills */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .2rem .6rem;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 600;
}
.status-pill::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ============================================
   NOTIFICATIONS DROPDOWN
   ============================================ */

.notification-dropdown {
  width: 320px;
  max-height: 420px;
  overflow-y: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  padding: 0;
}

@media (max-width: 991px) {
  /* phone: the sidebar is translated (a containing block for fixed children) - app.js moves the menu to <body>,
     here it becomes a bottom sheet instead of a clipped popup */
  .notification-dropdown.notif-mobile {
    position: fixed !important;
    inset: auto 8px 12px 8px !important;
    width: auto !important;
    max-height: 75vh;
    transform: none !important;
    z-index: 1085;
  }
  .notification-dropdown.notif-mobile #notification-list { max-height: 50vh !important; }
}

/* ============================================
   ALERTS
   ============================================ */

.alert {
  border: none;
  border-radius: var(--radius-sm);
  font-size: .855rem;
  border-left: 3px solid;
}
.alert-success { border-left-color: var(--success); background: rgba(22,163,74,.08); color: #15803d; }
.alert-danger   { border-left-color: var(--danger);  background: rgba(220,38,38,.08);  color: #b91c1c; }
.alert-warning  { border-left-color: var(--warning); background: rgba(217,119,6,.08); color: #92400e; }
.alert-info     { border-left-color: var(--info);    background: rgba(8,145,178,.08);  color: #0e7490; }

/* ============================================
   PAGINATION
   ============================================ */

.page-link {
  font-size: .82rem;
  color: var(--text-secondary);
  border-color: var(--border-color);
}
.page-link:hover { color: var(--primary); }
.page-item.active .page-link {
  background: var(--primary);
  border-color: var(--primary);
}

/* ============================================
   DROPDOWN MENUS
   ============================================ */

.dropdown-menu {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
  font-size: .855rem;
  padding: .375rem;
}

.dropdown-item {
  border-radius: var(--radius-sm);
  padding: .45rem .75rem;
  color: var(--text-secondary);
}

.dropdown-item:hover, .dropdown-item:focus {
  background: var(--content-bg);
  color: var(--text-primary);
}

.dropdown-item.active, .dropdown-item:active {
  background: var(--primary);
  color: #fff;
}

.dropdown-divider { border-color: var(--border-color); margin: .3rem; }
.dropdown-header { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); padding: .375rem .75rem; }

/* ============================================
   FOOTER
   ============================================ */

.app-footer {
  border-top: 1px solid var(--topbar-border);
  background: var(--topbar-bg);
  padding: .75rem 1.25rem;
  font-size: .78rem;
  color: var(--text-muted);
  text-align: center;
}

/* ============================================
   SIGNATURE PAD (unchanged)
   ============================================ */

.signature-pad-container {
  border: 2px dashed #9ca3af;
  border-radius: 8px;
  background: #fff;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

#signature-canvas {
  width: 100%;
  height: 200px;
  cursor: crosshair;
  display: block;
}

.color-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s, border-color .2s;
  padding: 0;
}
.color-btn:hover { transform: scale(1.1); }
.color-btn.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}
.color-black { background: #000; }
.color-blue  { background: var(--primary); }
.color-red   { background: var(--danger); }

.signature-preview {
  position: absolute;
  padding: 4px 8px;
  background: rgba(22,163,74,.9);
  color: #fff;
  font-size: 11px;
  border-radius: 4px;
  pointer-events: none;
  z-index: 100;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}
.signature-preview::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(22,163,74,.9);
  border-bottom: 0;
}

.signature-image {
  position: absolute;
  pointer-events: none;
  max-width: 200px;
  max-height: 100px;
}

.text-element.styled { background: transparent; border: none; }
.text-element.styled:hover { background: rgba(255,255,200,.5); outline: 1px dashed #ccc; }

@media (max-width: 768px) {
  #signature-canvas { height: 150px; }
  .color-btn { width: 40px; height: 40px; }
  .signature-pad-container { margin: 0 -1rem; border-radius: 0; border-left: none; border-right: none; }
}

/* ============================================
   PWA — Install Banner
   ============================================ */

.pwa-install-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top: 1px solid var(--border-color);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 9999;
  box-shadow: 0 -2px 12px rgba(0,0,0,.12);
}
.pwa-install-icon { width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0; }
.pwa-install-text { flex: 1; min-width: 0; }
.pwa-install-title { font-weight: 600; font-size: 14px; line-height: 1.2; }
.pwa-install-sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.pwa-install-action-btn {
  background: var(--primary); color: #fff; border: none;
  padding: 8px 16px; border-radius: 6px; font-size: 14px; cursor: pointer; white-space: nowrap; flex-shrink: 0;
}
.pwa-install-action-btn:active { opacity: .85; }
.pwa-install-dismiss-btn {
  background: none; border: none; font-size: 22px; line-height: 1;
  color: var(--text-muted); cursor: pointer; padding: 0 2px; flex-shrink: 0;
}

/* ============================================
   PWA — Web Share Toast
   ============================================ */

.pwa-share-toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: rgba(0,0,0,.72); color: #fff;
  padding: 8px 20px; border-radius: 20px;
  font-size: 14px; opacity: 0;
  transition: opacity .2s, transform .2s;
  pointer-events: none; z-index: 10000; white-space: nowrap;
}
.pwa-share-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================================
   Speech Recognition Mic Button
   ============================================ */

.speech-mic-btn {
  position: absolute;
  bottom: 6px; right: 6px;
  padding: 3px 7px;
  opacity: .5; line-height: 1; border-radius: 4px;
}
.speech-mic-btn:hover, .speech-mic-btn.active { opacity: 1; }

/* ============================================
   LEGACY PAGE TITLE AUTO-STYLE
   h1.h3 + surrounding row-pattern used across most templates
   ============================================ */

.app-content h1.h3,
.app-content h1.h4,
.app-content h2.h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--text-primary);
}

/* Row that wraps the page title — consistent spacing + vertical alignment */
.app-content > .container-fluid > .row:first-child,
.app-content > .container > .row:first-child {
  margin-bottom: 1.25rem !important;
  align-items: center;
}

/* ============================================
   PAGE HEADER (consistent across all pages)
   ============================================ */

.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.page-header-left { flex: 1; min-width: 0; }

.page-header h1,
.page-header .page-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--text-primary);
  margin-bottom: 0;
  line-height: 1.3;
}

.page-header .page-subtitle,
.page-header .breadcrumb {
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.page-header-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ============================================
   SECTION LABEL  (group separator like KPI dashboard)
   ============================================ */

.section-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .75rem;
  margin-top: .25rem;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-color);
}

/* ============================================
   CARD IMPROVEMENTS (apply globally)
   ============================================ */

/* Flush table inside card — no double top border */
.card > .table,
.card-body.p-0 > .table,
.card > .card-body.p-0 > .table {
  margin-bottom: 0;
}

.card .table > thead > tr > th:first-child,
.card .table > tbody > tr > td:first-child { padding-left: 1rem; }
.card .table > thead > tr > th:last-child,
.card .table > tbody > tr > td:last-child  { padding-right: 1rem; }

/* Card header when it contains h5/h6 — normalize sizing */
.card-header h5,
.card-header h6 {
  font-size: .875rem;
  font-weight: 600;
  margin-bottom: 0;
  color: var(--text-primary);
}

/* Clickable card row hover */
.card-row-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: background .12s;
}
.card-row-link:hover { background: rgba(0,144,255,.03); color: inherit; }

/* Stat card — bigger number variant */
.stat-card-lg .card-body { padding: 1.25rem 1.5rem; }
.stat-card-lg .stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
}
.stat-card-lg .stat-label {
  font-size: .75rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .25rem;
}

/* ============================================
   UTILITIES
   ============================================ */

.cursor-pointer { cursor: pointer; }

.text-primary   { color: var(--primary)   !important; }
.text-teal      { color: var(--teal)      !important; }
.text-success   { color: var(--success)   !important; }
.text-danger    { color: var(--danger)    !important; }
.text-warning   { color: var(--warning)   !important; }
.text-muted     { color: var(--text-muted) !important; }

.bg-primary     { background: var(--primary) !important; }
.border-primary-subtle { border-color: rgba(0,144,255,.25) !important; }
.border-success-subtle { border-color: rgba(22,163,74,.25)  !important; }
.border-warning-subtle { border-color: rgba(217,119,6,.25)  !important; }
.border-danger-subtle  { border-color: rgba(220,38,38,.25)  !important; }
