/* ===== CSS VARIABLES ===== */
:root {
  --primary:    #1a3e6e;
  --primary-dk: #122c50;
  --primary-lt: #2a5298;
  --accent:     #c8a84b;
  --success:    #217346;
  --danger:     #c0392b;
  --warning:    #e67e22;
  --gray-lt:    #f4f6f8;
  --gray-md:    #dde1e7;
  --gray-dk:    #6c757d;
  --text:       #212529;
  --border:     #ced4da;
  --white:      #ffffff;
  --quote-hdr:  #1a3e6e;
  --quote-row:  #d0d8e8;
  --tbl-stripe: #f0f4f8;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 14px; }
body { font-family: Arial, Helvetica, sans-serif; color: var(--text); background: var(--gray-lt); }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
input, select, textarea, button { font-family: inherit; font-size: inherit; }

/* ===== NAVBAR ===== */
.navbar {
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  padding: 0 16px;
  height: 50px;
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.navbar-brand a {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 1px;
  display: flex; align-items: center;
}
.navbar-brand a:hover { text-decoration: none; }
.navbar-menu {
  list-style: none;
  display: flex;
  margin-left: 24px;
  gap: 2px;
}
.navbar-menu li a {
  color: rgba(255,255,255,0.85);
  padding: 6px 12px;
  border-radius: 4px;
  display: block;
  font-size: 0.9rem;
  transition: background 0.15s;
}
.navbar-menu li a:hover,
.navbar-menu li a.active {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  text-decoration: none;
}
.navbar-user {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
}
.role-badge {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 3px;
  padding: 2px 7px;
  font-size: 0.75rem;
}
.btn-logout {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9) !important;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  padding: 4px 10px;
  cursor: pointer;
  font-size: 0.82rem;
}
.btn-logout:hover { background: rgba(255,255,255,0.22); text-decoration: none; }
.app-version {
  font-size: 0.72rem;
  font-family: 'Courier New', monospace;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.5px;
  margin-right: 4px;
}

/* ===== PAGE CONTENT ===== */
.page-content { padding: 20px; }
.container { max-width: 1200px; margin: 0 auto; }

/* ===== LOGIN PAGE ===== */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-lt) 100%);
}
.login-card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  padding: 40px;
  width: 380px;
  text-align: center;
}
.login-logo { margin-bottom: 16px; }
.login-logo img { max-height: 70px; }
.login-title { font-size: 1.6rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.login-subtitle { color: var(--gray-dk); font-size: 0.85rem; margin-bottom: 28px; }
.login-card .form-group { margin-bottom: 16px; text-align: left; }
.login-card label { display: block; margin-bottom: 5px; font-weight: 600; color: var(--primary); }
.login-card input[type=text],
.login-card input[type=password] {
  width: 100%; padding: 10px 12px;
  border: 1px solid var(--border); border-radius: 4px;
  font-size: 0.95rem;
}
.login-card input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,62,110,0.15); }
.btn-login {
  width: 100%; padding: 11px;
  background: var(--primary); color: var(--white);
  border: none; border-radius: 4px;
  font-size: 1rem; font-weight: 600;
  cursor: pointer; margin-top: 8px;
  transition: background 0.15s;
}
.btn-login:hover { background: var(--primary-dk); }
.login-error {
  background: #fde8e8; border: 1px solid #e57373;
  color: var(--danger); border-radius: 4px;
  padding: 8px 12px; margin-bottom: 16px; font-size: 0.9rem;
}

/* ===== DASHBOARD ===== */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.dash-card {
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--border);
  padding: 28px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  text-decoration: none;
  color: var(--text);
  display: block;
}
.dash-card:hover { border-color: var(--primary); box-shadow: 0 4px 16px rgba(26,62,110,0.15); transform: translateY(-2px); text-decoration: none; color: var(--text); }
.dash-card.disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
.dash-card-icon { font-size: 2.4rem; margin-bottom: 12px; }
.dash-card-title { font-size: 1.1rem; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.dash-card-desc { font-size: 0.85rem; color: var(--gray-dk); }

/* ===== FORMS ===== */
.form-group { margin-bottom: 14px; }
.form-group label { display: block; margin-bottom: 4px; font-weight: 600; font-size: 0.85rem; color: #444; }
.form-control {
  width: 100%; padding: 7px 10px;
  border: 1px solid var(--border); border-radius: 3px;
  font-size: 0.9rem; background: var(--white);
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 2px rgba(26,62,110,0.12); }
.form-control[readonly] { background: #f8f9fa; color: #555; }
select.form-control { height: 32px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block; padding: 7px 16px;
  border-radius: 4px; border: 1px solid transparent;
  font-size: 0.9rem; font-weight: 600; cursor: pointer;
  transition: all 0.15s; text-align: center;
}
.btn-primary   { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dk); text-decoration: none; color: var(--white); }
.btn-success   { background: var(--success); color: var(--white); border-color: var(--success); }
.btn-success:hover { background: #1a5c38; }
.btn-danger    { background: var(--danger); color: var(--white); border-color: var(--danger); }
.btn-danger:hover  { background: #a93226; }
.btn-warning   { background: var(--warning); color: var(--white); border-color: var(--warning); }
.btn-secondary { background: var(--gray-dk); color: var(--white); border-color: var(--gray-dk); }
.btn-outline   { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-disabled { opacity: 0.4; cursor: not-allowed; }
.btn-sm { padding: 4px 10px; font-size: 0.8rem; }
.btn-lg { padding: 10px 22px; font-size: 1rem; }
.btn + .btn { margin-left: 6px; }
a.btn:hover { text-decoration: none; }

/* ===== TABLES ===== */
.table-wrap { background: var(--white); border-radius: 6px; box-shadow: 0 1px 6px rgba(0,0,0,0.08); overflow: auto; }
table.data-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
table.data-table th {
  background: var(--primary); color: var(--white);
  padding: 10px 12px; text-align: left;
  white-space: nowrap;
}
table.data-table td { padding: 8px 12px; border-bottom: 1px solid var(--gray-md); vertical-align: middle; }
table.data-table tbody tr:hover { background: var(--tbl-stripe); }
table.data-table tbody tr:last-child td { border-bottom: none; }

/* ===== BADGES ===== */
.badge { display: inline-block; padding: 3px 9px; border-radius: 12px; font-size: 0.78rem; font-weight: 600; }
.badge-draft    { background: #e9ecef; color: #495057; }
.badge-sent     { background: #cce5ff; color: #004085; }
.badge-accepted { background: #d4edda; color: #155724; }
.badge-rejected { background: #f8d7da; color: #721c24; }
.badge-abandoned{ background: #fff3cd; color: #856404; }
.badge-oc       { background: #e3d5f5; color: #4a148c; }
.badge-admin    { background: #fce4ec; color: #880e4f; }
.badge-editor   { background: #e8f5e9; color: #1b5e20; }
.badge-user     { background: #e3f2fd; color: #0d47a1; }

/* ===== ALERTS ===== */
.alert { padding: 10px 16px; border-radius: 4px; margin-bottom: 16px; font-size: 0.9rem; border: 1px solid transparent; }
.alert-success { background: #d4edda; color: #155724; border-color: #c3e6cb; }
.alert-danger  { background: #f8d7da; color: #721c24; border-color: #f5c6cb; }
.alert-info    { background: #d1ecf1; color: #0c5460; border-color: #bee5eb; }
.alert-warning { background: #fff3cd; color: #856404; border-color: #ffeeba; }

/* ===== SECTION CARDS ===== */
.card { background: var(--white); border: 1px solid var(--border); border-radius: 6px; margin-bottom: 20px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.card-header { padding: 12px 18px; background: var(--primary); color: var(--white); border-radius: 6px 6px 0 0; font-weight: 700; font-size: 0.95rem; }
.card-body { padding: 18px; }

/* ===== MODAL ===== */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.5); z-index: 2000;
  align-items: center; justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: var(--white); border-radius: 8px;
  max-width: 620px; width: 95%;
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.modal-header {
  background: var(--primary); color: var(--white);
  padding: 14px 20px; border-radius: 8px 8px 0 0;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 700; font-size: 1rem;
}
.modal-close { background: none; border: none; color: var(--white); font-size: 1.3rem; cursor: pointer; }
.modal-body { padding: 20px; }
.modal-footer { padding: 14px 20px; border-top: 1px solid var(--gray-md); text-align: right; }
.form-row { display: flex; gap: 12px; }
.form-row .form-group { flex: 1; }

/* ===== SEARCH BAR ===== */
.search-bar {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 16px; align-items: flex-end;
}
.search-bar .form-control { max-width: 200px; }
.search-bar select.form-control { max-width: 160px; }
.search-bar input[type=date] { max-width: 145px; }

/* ===== PAGINATION ===== */
.pagination { display: flex; gap: 4px; margin-top: 16px; justify-content: center; }
.pagination a, .pagination span {
  padding: 5px 10px; border: 1px solid var(--border);
  border-radius: 3px; font-size: 0.85rem; color: var(--primary);
}
.pagination a:hover { background: var(--primary); color: var(--white); text-decoration: none; }
.pagination .current { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ===== SPINNER ===== */
.spinner {
  width: 18px; height: 18px;
  border: 3px solid rgba(0,0,0,0.1);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block; vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== TOAST NOTIFICATIONS ===== */
#toast-container {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 9999; display: flex; flex-direction: column; gap: 8px;
}
.toast {
  background: var(--text); color: var(--white);
  padding: 12px 18px; border-radius: 5px;
  max-width: 340px; font-size: 0.88rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  animation: fadeInUp 0.3s ease;
  border-left: 4px solid var(--accent);
}
.toast.success { border-left-color: var(--success); }
.toast.error   { border-left-color: var(--danger); }
.toast.info    { border-left-color: var(--primary-lt); }
@keyframes fadeInUp { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }

/* ===================================================
   QUOTE DOCUMENT — mirrors Excel Maestro desc layout
   =================================================== */
.quote-wrap {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gray-md);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 0;
  font-size: 0.88rem;
}

/* ---- Header Row (rows 1–7) ---- */
.qh-table {
  width: 100%;
  border-collapse: collapse;
  border-bottom: 2px solid var(--primary);
}
.qh-company {
  padding: 10px 14px;
  vertical-align: top;
  width: 55%;
}
.qh-company img.co-logo { max-height: 60px; display: block; margin-bottom: 6px; }
.qh-company .co-name    { font-size: 1rem; font-weight: 700; color: var(--primary); }
.qh-company .co-rut     { font-size: 0.82rem; color: #444; }
.qh-company .co-addr    { font-size: 0.82rem; color: #444; }
.qh-company .co-contact { font-size: 0.82rem; color: #444; }

.qh-title {
  background: var(--primary);
  color: var(--white);
  padding: 10px 16px;
  vertical-align: top;
  text-align: center;
  width: 45%;
}
.qh-title .cot-label  { font-size: 1.6rem; font-weight: 900; letter-spacing: 3px; display: block; }
.qh-title .cot-fields { margin-top: 8px; font-size: 0.85rem; }
.qh-title .cot-fields table { width: 100%; color: var(--white); }
.qh-title .cot-fields td   { padding: 2px 4px; }
.qh-title .cot-fields .lbl { text-align: right; opacity: 0.8; white-space: nowrap; width: 110px; }
.qh-title .cot-fields input,
.qh-title .cot-fields .val { background: rgba(255,255,255,0.15); color: var(--white); border: 1px solid rgba(255,255,255,0.35); border-radius: 3px; padding: 3px 7px; min-width: 120px; font-size: 0.85rem; }
.qh-title .cot-fields input { width: 100%; }
.qh-title .cot-number { font-size: 1.1rem; font-weight: 700; color: var(--accent); }

/* ---- Customer Section (rows 9–12) ---- */
.qc-table {
  width: 100%;
  border-collapse: collapse;
  border-bottom: 1px solid var(--primary);
}
.qc-table td {
  padding: 4px 10px;
  border: 1px solid var(--gray-md);
  vertical-align: middle;
}
.qc-table .lbl {
  background: var(--quote-row);
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  width: 80px;
  font-size: 0.82rem;
}
.qc-table .rut-cell { width: 180px; }
.qc-table input[type=text],
.qc-table input[type=email],
.qc-table select {
  border: none; background: transparent; width: 100%;
  padding: 2px 4px; font-size: 0.88rem;
}
.qc-table input:focus, .qc-table select:focus { outline: 1px solid var(--primary); background: #fffde7; }
.rut-input-wrap { display: flex; align-items: center; gap: 6px; }
.rut-status { font-size: 0.75rem; font-weight: 700; white-space: nowrap; }
.rut-found    { color: var(--success); }
.rut-notfound { color: var(--danger); }

/* ---- New customer inline panel ---- */
#new-customer-panel {
  display: none;
  background: #fffde7;
  border: 1px solid var(--accent);
  padding: 12px 16px;
  margin: 0;
  font-size: 0.85rem;
}
#new-customer-panel .panel-title { font-weight: 700; color: var(--primary); margin-bottom: 10px; }
#new-customer-panel .form-row { display: flex; gap: 10px; flex-wrap: wrap; }
#new-customer-panel .form-group { margin-bottom: 8px; }
#new-customer-panel label { font-size: 0.78rem; font-weight: 600; color: #555; }
#new-customer-panel input,
#new-customer-panel select { padding: 4px 8px; border: 1px solid var(--border); border-radius: 3px; font-size: 0.85rem; width: 100%; }

/* ---- Quote Metadata (rows 16–17) ---- */
.qm-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--quote-row);
  border-bottom: 2px solid var(--primary);
}
.qm-table th {
  background: var(--primary);
  color: var(--white);
  padding: 4px 8px;
  font-size: 0.78rem;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.2);
  white-space: nowrap;
}
.qm-table td {
  padding: 4px 8px;
  border: 1px solid var(--gray-md);
  text-align: center;
  font-size: 0.85rem;
}
.qm-table input,
.qm-table select {
  border: none; background: transparent; width: 100%;
  text-align: center; font-size: 0.85rem; padding: 1px 4px;
}
.qm-table input:focus, .qm-table select:focus { outline: 1px solid var(--primary); background: #fff; }

/* ---- Product Table (rows 19–45) ---- */
.qp-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}
.qp-table thead th {
  background: var(--primary);
  color: var(--white);
  padding: 6px 6px;
  font-size: 0.78rem;
  text-align: center;
  border: 1px solid var(--primary-dk);
  white-space: nowrap;
}
.qp-table tbody td {
  border: 1px solid var(--gray-md);
  padding: 1px 2px;
  vertical-align: middle;
}
.qp-table tbody tr:nth-child(even) td { background: var(--tbl-stripe); }
.qp-table tbody tr:hover td { background: #e8f0fe; }

/* Column widths matching Excel proportions */
.qp-table .col-n    { width: 3%;  text-align: center; color: #aaa; font-size: 0.75rem; }
.qp-table .col-qty  { width: 8%;  text-align: center; }
.qp-table .col-sku  { width: 10%; text-align: center; }
.qp-table .col-desc { width: 40%; }
.qp-table .col-price{ width: 13%; text-align: right; }
.qp-table .col-disc { width: 7%;  text-align: center; }
.qp-table .col-total{ width: 13%; text-align: right; }
.qp-table .col-del  { width: 4%;  text-align: center; }

.qp-table .product-input {
  border: none; background: transparent; width: 100%;
  padding: 3px 5px; font-size: 0.87rem;
  text-align: inherit;
}
.qp-table .product-input:focus {
  outline: 1px solid var(--primary);
  background: #fffde7;
}
.qp-table .input-qty   { text-align: right; }
.qp-table .input-price { text-align: right; font-family: 'Courier New', monospace; }
.qp-table .input-total { text-align: right; font-weight: 600; font-family: 'Courier New', monospace; background: #f0f4f0; color: var(--success); }
.qp-table .input-disc  { text-align: center; }
.qp-table .input-sku   { text-align: center; font-weight: 600; text-transform: uppercase; }
.qp-table .sku-loading { color: var(--gray-dk); font-size: 0.75rem; }
.qp-table .manual-tag  { font-size: 0.7rem; color: var(--warning); }
.btn-del-row {
  background: none; border: none; color: #ccc; cursor: pointer;
  font-size: 1rem; padding: 2px 4px;
}
.btn-del-row:hover { color: var(--danger); }

/* ---- Totals (rows 46–48) ---- */
.qt-section {
  display: flex;
  justify-content: flex-end;
  border-top: 2px solid var(--primary);
  padding: 8px 12px;
}
.qt-box {
  width: 280px;
  border: 1px solid var(--gray-md);
  border-radius: 3px;
  overflow: hidden;
}
.qt-box table { width: 100%; border-collapse: collapse; }
.qt-box td { padding: 5px 10px; border-bottom: 1px solid var(--gray-md); font-size: 0.9rem; }
.qt-box td:first-child { font-weight: 600; color: var(--primary); background: var(--tbl-stripe); width: 55%; }
.qt-box td:last-child  { text-align: right; font-family: 'Courier New', monospace; font-weight: 600; }
.qt-box tr.total-row td { background: var(--primary); color: var(--white); font-size: 1rem; font-weight: 700; border: none; }
.qt-box tr:last-child td { border-bottom: none; }

/* ---- Observations ---- */
.qobs-section { padding: 8px 14px; border-top: 1px solid var(--gray-md); }
.qobs-section .obs-lbl { font-weight: 700; color: var(--primary); margin-bottom: 4px; font-size: 0.85rem; }
.qobs-section textarea { width: 100%; border: 1px solid var(--border); border-radius: 3px; padding: 6px 8px; font-size: 0.85rem; resize: vertical; min-height: 48px; }

/* ---- Footer ---- */
.qfoot-section {
  padding: 8px 14px;
  border-top: 1px solid var(--gray-md);
  background: #f8f9fa;
}
.qfoot-cond { font-size: 0.78rem; color: #444; margin-bottom: 4px; }
.qfoot-bank { font-size: 0.78rem; color: #444; }
.qfoot-slogan {
  text-align: center; font-size: 0.78rem; font-weight: 700;
  color: var(--primary); margin-top: 8px; letter-spacing: 1px;
}

/* ---- Action Bar ---- */
.quote-actions {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 12px 14px;
  background: var(--gray-lt);
  border-top: 2px solid var(--primary);
  border-radius: 0 0 6px 6px;
}

/* ===== AUTOCOMPLETE DROPDOWN ===== */
.autocomplete-container { position: relative; display: inline-block; width: 100%; }
.autocomplete-dropdown {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--white); border: 1px solid var(--border);
  border-top: none; border-radius: 0 0 4px 4px;
  max-height: 200px; overflow-y: auto;
  z-index: 500; box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.autocomplete-item {
  padding: 7px 10px; cursor: pointer; font-size: 0.85rem;
  border-bottom: 1px solid var(--gray-md);
  display: flex; justify-content: space-between; align-items: center;
}
.autocomplete-item:last-child { border-bottom: none; }
.autocomplete-item:hover, .autocomplete-item.selected { background: var(--quote-row); }
.autocomplete-item .ac-sku   { font-weight: 700; color: var(--primary); margin-right: 8px; min-width: 80px; }
.autocomplete-item .ac-name  { flex: 1; color: var(--text); font-size: 0.82rem; }
.autocomplete-item .ac-price { color: var(--success); font-weight: 600; font-size: 0.82rem; white-space: nowrap; }

/* ===================================================
   PRINT / PDF STYLES
   =================================================== */
@media print {
  body { background: white; font-size: 11pt; }
  .navbar, .quote-actions, .no-print, #new-customer-panel,
  .btn-del-row, #add-row-btn, #toast-container { display: none !important; }
  .page-content { padding: 0; }
  .quote-wrap { box-shadow: none; border: none; max-width: 100%; }

  /* Input fields look like text when printing */
  input.product-input,
  .qc-table input,
  .qm-table input,
  .qm-table select,
  .qobs-section textarea {
    border: none !important;
    background: transparent !important;
    -webkit-appearance: none;
  }
  .qc-table input[type=text],
  .qh-title .cot-fields input { color: black; }

  a { text-decoration: none; color: black; }
  .qp-table { page-break-inside: auto; }
  .qp-table tr { page-break-inside: avoid; }

  /* Keep header colors in print */
  .qh-title { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .qp-table thead th { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .qm-table th { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .qc-table .lbl { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .qt-box tr.total-row td { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ===== UTILITY ===== */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.text-muted { color: var(--gray-dk); }
.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-danger  { color: var(--danger); }
.fw-bold { font-weight: 700; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-1 { gap: 8px; }
.w-100 { width: 100%; }
