/* ═══════════════════════════════════════════════════════════
   LUXE AUTO DETAILING · Quotation System · v1.1
   Design: premium dark sidebar · gold accents · sharp grid
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Bebas+Neue&display=swap');

:root {
  --gold:        #F5C200;
  --gold-hover:  #FFD000;
  --gold-dim:    rgba(245,194,0,0.12);
  --gold-text:   #B38A00;
  --bg:          #F4F3F0;
  --surface:     #FFFFFF;
  --surface-2:   #F9F8F6;
  --border:      #E8E6E1;
  --border-2:    #D4D1CB;
  --text:        #1C1B18;
  --text-2:      #5C5A54;
  --text-3:      #9C9A94;
  --sb-bg:       #141412;
  --sb-border:   rgba(255,255,255,0.06);
  --sb-text:     rgba(255,255,255,0.5);
  --sb-active:   rgba(245,194,0,0.1);
  --sb-width:    240px;
  --red:         #C0392B;
  --red-bg:      #FEF0EE;
  --green:       #1A7A4A;
  --green-bg:    #E8F5EE;
  --blue:        #1A5FB4;
  --blue-bg:     #EBF2FF;
  --amber:       #B35A00;
  --amber-bg:    #FFF3E0;
  --r-sm: 4px;  --r-md: 8px;  --r-lg: 12px;  --r-xl: 16px;
  --font: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Bebas Neue', 'Impact', sans-serif;
}

#luxe-qt-app, #luxe-qt-app *, #luxe-qt-app *::before, #luxe-qt-app *::after {
  
}
#luxe-qt-app {
  font-family: var(--font); font-size: 14px; color: var(--text);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
#luxe-qt-app a { text-decoration: none; color: #fff; }

/* ── LOGIN ─────────────────────────────────────────── */
#lq-login {
  min-height: 100vh; display: flex; align-items: center;
  justify-content: center; background: var(--sb-bg); position: relative; overflow: hidden;
}
#lq-login::before {
  content: ''; position: absolute; top: -140px; left: -140px;
  width: 500px; height: 500px; background: var(--gold);
  opacity: 0.04; border-radius: 50%; pointer-events: none;
}
.lq-login-card {
  background: #1E1D1A; border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-xl); padding: 52px 48px; width: 420px;
  position: relative; z-index: 1;
}
.lq-login-logo { text-align: center; margin-bottom: 44px; }
.lq-login-brand {
  font-family: var(--font-display); font-size: 58px;
  letter-spacing: 6px; color: var(--gold); line-height: 0.9; display: block;
}
.lq-login-sub {
  font-size: 10px; font-weight: 500; letter-spacing: 3.5px;
  text-transform: uppercase; color: rgba(255,255,255,0.2); margin-top: 14px;
}
#lq-login .lq-field { margin-bottom: 16px; }
#lq-login .lq-field label {
  color: rgba(255,255,255,0.4); font-size: 10px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 7px; display: block;
}
#lq-login .lq-field input {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  color: #fff; border-radius: var(--r-md); padding: 13px 14px; font-size: 14px;
  font-family: var(--font); width: 100%; outline: none; transition: border-color 0.2s;
}
#lq-login .lq-field input:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245,194,0,0.1);
}
#lq-login .lq-field input::placeholder { color: rgba(255,255,255,0.18); }
#lq-login .lq-btn-primary {
  width: 100%; padding: 14px; font-size: 12px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; margin-top: 8px;
}
#lq-login .lq-error {
  background: rgba(192,57,43,0.15); border: 1px solid rgba(192,57,43,0.3);
  color: #FF8A7A; border-radius: var(--r-md); padding: 10px 14px;
  font-size: 13px; margin-top: 10px;
}

/* ── APP SHELL ─────────────────────────────────────── */
#lq-shell { display: flex; min-height: 100vh; background: var(--bg); }

/* ── SIDEBAR ───────────────────────────────────────── */
#lq-sidebar {
  width: var(--sb-width); background: var(--sb-bg);
  display: flex; flex-direction: column; flex-shrink: 0;
  position: sticky; top: 0; height: 100vh; overflow: hidden;
}
#lq-sidebar::before {
  content: ''; display: block; height: 3px; background: var(--gold); flex-shrink: 0;
}
.lq-sb-logo { padding: 24px 22px 20px; border-bottom: 1px solid var(--sb-border); }
.lq-sb-brand {
  font-family: var(--font-display); font-size: 36px; letter-spacing: 5px;
  color: var(--gold); line-height: 1; display: block;
}
.lq-sb-sub {
  font-size: 9.5px; font-weight: 500; letter-spacing: 2.5px;
  text-transform: uppercase; color: #fff; margin-top: 7px;
}
.lq-nav { flex: 1; padding: 12px 0; overflow-y: auto; }
.lq-nav-item {
  display: flex; align-items: center; gap: 12px; padding: 11px 22px;
  color: var(--sb-text); font-size: 13.5px; font-weight: 500; cursor: pointer;
  border-left: 2px solid transparent;
  transition: color 0.15s, background 0.15s, border-color 0.15s; margin: 2px 0;
}
.lq-nav-item:hover { color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.04); }
.lq-nav-item.active { color: var(--gold); background: var(--sb-active); border-left-color: var(--gold); }
.lq-nav-icon { font-size: 15px; width: 20px; text-align: center; flex-shrink: 0; }
.lq-sb-footer { padding: 16px 22px 20px; border-top: 1px solid var(--sb-border); }
.lq-sb-user {
  font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.3);
  margin-bottom: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#lq-sidebar .lq-btn-ghost {
  background: transparent; border-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.35); font-size: 12px; padding: 6px 14px;
}
#lq-sidebar .lq-btn-ghost:hover {
  background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.6); border-color: rgba(255,255,255,0.15);
}

/* ── MAIN ──────────────────────────────────────────── */
#lq-main { flex: 1; overflow-y: auto; min-width: 0; }
.lq-view { padding: 32px 36px; max-width: 980px; }
.lq-view-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.lq-view-header h2 { font-size: 20px; font-weight: 600; color: var(--text); letter-spacing: -0.3px; }
.lq-view-sub { font-size: 13px; color: var(--text-3); margin-top: 3px; }
.lq-view {
	max-width: 100% !important;
    padding: 36px 37px !important;
}

/* ── BUTTONS ───────────────────────────────────────── */
.lq-btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold); color: var(--sb-bg); border: none;
  border-radius: var(--r-md); padding: 9px 18px; font-size: 13px;
  font-weight: 600; font-family: var(--font); cursor: pointer;
  white-space: nowrap; transition: background 0.15s, transform 0.1s;
}
.lq-btn-primary:hover { background: var(--gold-hover); }
.lq-btn-primary:active { transform: scale(0.98); }

.lq-btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: var(--text-2); border: 1px solid var(--border-2);
  border-radius: var(--r-md); padding: 8px 16px; font-size: 13px;
  font-weight: 500; font-family: var(--font); cursor: pointer;
  white-space: nowrap; transition: background 0.15s, color 0.15s;
}
.lq-btn-ghost:hover { background: var(--surface-2); color: var(--text); }

.lq-btn-danger {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--red); color: #fff; border: none;
  border-radius: var(--r-md); padding: 9px 18px; font-size: 13px;
  font-weight: 600; font-family: var(--font); cursor: pointer; transition: opacity 0.15s;
}
.lq-btn-danger:hover { opacity: 0.88; }
.lq-btn-sm  { padding: 6px 12px !important; font-size: 12px !important; }
.lq-btn-full { width: 100%; justify-content: center; }

/* ── FORM FIELDS ───────────────────────────────────── */
.lq-field { display: flex; flex-direction: column; gap: 6px; }
.lq-field label { font-size: 12px; font-weight: 600; color: var(--text-2); letter-spacing: 0.3px; }
.lq-field .req { color: var(--gold-text); }
.lq-field .lq-field-opt { color: var(--text-3); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 11px; }
.lq-field-hint {
  font-size: 11px; color: var(--text-3); line-height: 1.45;
  margin-top: -2px;
}
.lq-field input, .lq-field select, .lq-field textarea {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 9px 12px; font-size: 13.5px;
  font-family: var(--font); color: var(--text); outline: none; width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s; -webkit-appearance: none;
}
.lq-field input:hover, .lq-field select:hover, .lq-field textarea:hover { border-color: var(--border-2); }
.lq-field input:focus, .lq-field select:focus, .lq-field textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245,194,0,0.12);
}
.lq-field input::placeholder, .lq-field textarea::placeholder { color: var(--text-3); }
.lq-field textarea { resize: vertical; line-height: 1.6; }
.lq-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-bottom: 16px; }
.lq-field-wide { grid-column: 1 / -1; }
.lq-form-actions {
  display: flex; gap: 10px; justify-content: flex-end;
  align-items: center; margin-top: 24px; flex-wrap: wrap;
}

/* ── TOOLBAR ───────────────────────────────────────── */
.lq-toolbar { margin-bottom: 18px; }
.lq-search-input {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 9px 14px 9px 36px;
  font-size: 13.5px; font-family: var(--font); color: var(--text);
  width: 100%; max-width: 380px; outline: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239C9A94' stroke-width='2.5'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 12px center;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.lq-search-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245,194,0,0.1); }

/* ── TABLES ────────────────────────────────────────── */
.lq-table-wrap {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
}
.lq-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.lq-table thead tr { background: var(--sb-bg); }
.lq-table thead th {
  padding: 7px 17px; font-family: var(--font-display); font-size: 16px;
  letter-spacing: 1.5px; font-weight: 400; color: #fff;
  text-align: left; white-space: nowrap;
}
.lq-table thead th.num { text-align: right; }
.lq-table tbody tr { border-bottom: 1px solid var(--border); transition: background 0.1s; }
.lq-table tbody tr:last-child { border-bottom: none; }
.lq-table tbody tr:hover { background: var(--surface-2); }
.lq-table td { padding: 12px 16px; color: var(--text); vertical-align: middle; }
.lq-table td.num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 500; }
.lq-table td.muted { color: var(--text-3); font-size: 12.5px; }
.lq-table td.bold { font-weight: 600; }

.lq-tbl-actions { display: flex; gap: 4px; justify-content: flex-end; }
.lq-tbl-btn {
  display: inline-flex; align-items: center; gap: 4px; border: none;
  background: transparent; cursor: pointer; font-size: 12px; font-family: var(--font);
  font-weight: 500; padding: 5px 10px; border-radius: var(--r-sm);
  transition: background 0.12s, color 0.12s; color: var(--text-2);
}
.lq-tbl-btn:hover { background: var(--bg); }
.lq-tbl-btn.edit:hover { color: var(--blue); background: var(--blue-bg); }
.lq-tbl-btn.del:hover  { color: var(--red);  background: var(--red-bg); }
.lq-tbl-btn.pdf        { color: var(--text-2); }
.lq-tbl-btn.pdf:hover  { color: var(--sb-bg); background: var(--gold-dim); }

.lq-badge {
  display: inline-flex; align-items: center; padding: 3px 9px;
  border-radius: 20px; font-size: 11.5px; font-weight: 600;
  text-transform: capitalize; letter-spacing: 0.2px;
}
.lq-badge-draft    { background: var(--bg); color: var(--text-2); border: 1px solid var(--border-2); }
.lq-badge-sent     { background: var(--blue-bg); color: var(--blue); }
.lq-badge-accepted { background: var(--green-bg); color: var(--green); }
.lq-badge-rejected { background: var(--red-bg); color: var(--red); }

.lq-empty { text-align: center; padding: 64px 20px; color: var(--text-3); }
.lq-empty-icon { font-size: 32px; margin-bottom: 14px; opacity: 0.5; }
.lq-empty p { font-size: 14px; line-height: 1.7; }
.lq-loading { padding: 40px; text-align: center; color: var(--text-3); font-size: 13px; }

/* ── LINE ITEMS ────────────────────────────────────── */
.lq-section-title {
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-3); margin: 24px 0 12px;
  display: flex; align-items: center; gap: 12px;
}
.lq-section-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.lq-items-header {
  display: grid; grid-template-columns: 1fr 130px 90px 120px 36px;
  gap: 8px; padding: 9px 12px;
  font-size: 10.5px; font-weight: 600; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--text-3);
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-md) var(--r-md) 0 0; border-bottom: none;
}
.lq-col-rate, .lq-col-qty, .lq-col-sub { text-align: right; }

/* Two-line line-item row:
   row 1 (.lq-item-main) = title/desc + rate + qty + subtotal + delete
   row 2 (.lq-item-subwrap) = optional sub_line textarea, full width        */
.lq-item-row {
  background: var(--surface);
  border: 1px solid var(--border); border-top: none;
  padding: 8px 12px;
  transition: background 0.1s;
}
.lq-item-row:last-child { border-radius: 0 0 var(--r-md) var(--r-md); }
.lq-item-row:hover { background: var(--surface-2); }

.lq-item-main {
  display: grid;
  grid-template-columns: 1fr 130px 90px 120px 36px;
  gap: 8px;
  align-items: center;
}

/* Locked service title (pill look, non-editable) */
.lq-item-locked {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px; min-height: 34px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 13px; font-weight: 600; color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.lq-item-locked .lq-item-title-text {
  flex: 1;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.lq-item-locked .lq-item-change {
  flex-shrink: 0;
  font-size: 10px; font-weight: 600; letter-spacing: 0.6px;
  text-transform: uppercase; color: var(--gold-text);
  background: transparent; border: 1px solid transparent;
  border-radius: var(--r-sm);
  padding: 3px 8px; cursor: pointer;
  transition: background 0.12s, border-color 0.12s;
}
.lq-item-locked .lq-item-change:hover {
  background: var(--gold-dim); border-color: rgba(245,194,0,0.3);
}

/* Freeform title input (for custom items, not picked from services) */
.lq-item-row input.item-desc,
.lq-item-row input.item-rate,
.lq-item-row input.item-qty {
  border: 1px solid transparent; border-radius: var(--r-sm);
  padding: 6px 8px; font-size: 13px; font-family: var(--font);
  color: var(--text); background: transparent; outline: none; width: 100%;
  transition: border-color 0.12s, background 0.12s;
  min-height: 34px;
}
.lq-item-row input.item-desc { font-weight: 600; }
.lq-item-row input.item-desc:hover,
.lq-item-row input.item-rate:hover,
.lq-item-row input.item-qty:hover { background: var(--bg); border-color: var(--border); }
.lq-item-row input.item-desc:focus,
.lq-item-row input.item-rate:focus,
.lq-item-row input.item-qty:focus {
  background: var(--surface); border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(245,194,0,0.1);
}
.lq-item-row input[type="number"] { text-align: right; }

.lq-item-row .item-sub {
  font-size: 13px; font-weight: 600; text-align: right;
  color: var(--text); font-variant-numeric: tabular-nums; padding-right: 4px;
}
.lq-item-row .item-del {
  background: none; border: none; color: var(--text-3); cursor: pointer;
  font-size: 16px; line-height: 1; padding: 4px; border-radius: var(--r-sm);
  transition: color 0.12s, background 0.12s; display: flex; align-items: center; justify-content: center;
}
.lq-item-row .item-del:hover { color: var(--red); background: var(--red-bg); }

/* Sub-line area (row 2) */
.lq-item-subwrap {
  margin-top: 6px;
  padding-left: 2px;
}
.lq-item-row textarea.item-subline {
  width: 100%;
  border: 1px dashed var(--border);
  border-radius: var(--r-sm);
  padding: 6px 10px;
  font-size: 12px; font-family: var(--font);
  color: var(--text-2); background: transparent;
  line-height: 1.5; resize: vertical;
  min-height: 32px;
  outline: none;
  transition: border-color 0.12s, background 0.12s, color 0.12s;
}
.lq-item-row textarea.item-subline::placeholder { color: var(--text-3); font-style: italic; }
.lq-item-row textarea.item-subline:hover { background: var(--bg); border-color: var(--border-2); }
.lq-item-row textarea.item-subline:focus {
  background: var(--surface); border-style: solid; border-color: var(--gold);
  color: var(--text);
  box-shadow: 0 0 0 2px rgba(245,194,0,0.1);
}

.lq-items-actions { display: flex; gap: 10px; align-items: center; margin-top: 10px; }

.lq-service-picker {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 7px 32px 7px 12px; font-size: 13px;
  font-family: var(--font); color: var(--text-2); cursor: pointer; outline: none;
  min-width: 220px; transition: border-color 0.15s; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239C9A94' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: calc(100% - 10px) center;
}
.lq-service-picker:focus { border-color: var(--gold); }
.lq-customer-select-wrap { display: flex; gap: 8px; align-items: center; }
.lq-customer-select-wrap select { flex: 1; }

/* ── TOTALS ────────────────────────────────────────── */
.lq-totals-block { display: flex; flex-direction: column; align-items: flex-end; margin-top: 20px; gap: 12px; }
.lq-total-row { display: flex; align-items: center; gap: 14px; }
.lq-total-row label {
  font-size: 12px; font-weight: 600; color: var(--text-2);
  min-width: 100px; text-align: right; letter-spacing: 0.2px;
}
.lq-total-input {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 8px 12px; font-size: 13.5px;
  font-family: var(--font); color: var(--text); width: 140px; text-align: right;
  outline: none; font-variant-numeric: tabular-nums; transition: border-color 0.15s;
}
.lq-total-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245,194,0,0.1); }

.lq-summary {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden; min-width: 280px;
}
.lq-sum-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 16px; font-size: 13.5px; border-bottom: 1px solid var(--border);
}
.lq-sum-row:last-child { border-bottom: none; }
.lq-sum-row span:last-child { font-variant-numeric: tabular-nums; font-weight: 500; }
.lq-sum-row span:first-child { color: var(--text-2); font-size: 13px; }
.lq-sum-discount span:last-child { color: var(--red); }
.lq-sum-total { background: var(--sb-bg); padding: 14px 16px !important; }
.lq-sum-total span:first-child {
  color: rgba(255,255,255,0.5) !important; font-size: 10px !important;
  font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
}
.lq-sum-total span:last-child {
  color: var(--gold) !important; font-size: 20px !important;
  font-weight: 400; font-family: var(--font-display); letter-spacing: 2px;
}

/* ── MODALS ────────────────────────────────────────── */
.lq-overlay {
  position: fixed; inset: 0; background: rgba(10,10,8,0.6);
  z-index: 1000; backdrop-filter: blur(3px);
}
.lq-modal {
  position: fixed; inset: 0; z-index: 1001;
  display: flex; align-items: center; justify-content: center; pointer-events: none;
}
.lq-modal[style*="display: flex"] { pointer-events: auto; }
.lq-modal-box {
  background: var(--surface); border-radius: var(--r-xl); width: 560px;
  max-width: 95vw; max-height: 88vh; overflow-y: auto;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.18), 0 4px 16px rgba(0,0,0,0.08);
  animation: lq-modal-in 0.18s cubic-bezier(0.34,1.56,0.64,1);
}
.lq-modal-sm { width: 440px; }
@keyframes lq-modal-in {
  from { opacity:0; transform: scale(0.94) translateY(-10px); }
  to   { opacity:1; transform: scale(1) translateY(0); }
}
.lq-modal-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px 16px; border-bottom: 1px solid var(--border);
}
.lq-modal-header h3 { font-size: 16px; font-weight: 600; color: var(--text); letter-spacing: -0.2px; }
.lq-modal-close {
  background: var(--bg); border: 1px solid var(--border); font-size: 14px;
  cursor: pointer; color: var(--text-2); padding: 5px 9px; border-radius: var(--r-sm);
  line-height: 1; transition: background 0.12s, color 0.12s; font-family: var(--font);
}
.lq-modal-close:hover { background: var(--red-bg); color: var(--red); border-color: transparent; }
.lq-modal-body { padding: 20px 24px; }
.lq-modal-body p { font-size: 14px; color: var(--text-2); line-height: 1.7; }
.lq-modal-box form { padding: 20px 24px 8px; }
.lq-modal-box .lq-form-actions { padding: 0 24px 24px; margin-top: 20px; }

/* ── UTILITY ───────────────────────────────────────── */
.lq-error {
  background: var(--red-bg); color: var(--red); border: 1px solid rgba(192,57,43,0.2);
  border-radius: var(--r-md); padding: 9px 14px; font-size: 13px; flex: 1; line-height: 1.5;
}
.lq-success-toast {
  position: fixed; bottom: 28px; right: 28px; background: var(--sb-bg);
  border: 1px solid rgba(245,194,0,0.3); color: var(--gold); padding: 13px 20px;
  border-radius: var(--r-lg); font-size: 13.5px; font-weight: 500; letter-spacing: 0.2px;
  z-index: 2000; animation: lq-toast-in 0.2s ease; max-width: 320px;
}
@keyframes lq-toast-in {
  from { opacity:0; transform: translateY(14px); }
  to   { opacity:1; transform: translateY(0); }
}

/* ── CUSTOMER DETAIL VIEW ──────────────────────────── */
.lq-breadcrumb {
  display: inline-flex; align-items: center;
  font-size: 13px; font-weight: 600;
  color: var(--text); letter-spacing: 0.2px;
  text-decoration: none;
  margin-bottom: 18px;
  padding: 6px 10px 6px 0;
  transition: color 0.12s;
}
.lq-breadcrumb:hover { color: var(--gold-text); }

.lq-cust-panel {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px 26px;
  margin-bottom: 18px;
}
.lq-cust-panel-main { flex: 1; min-width: 0; }
.lq-cust-panel-main h2 {
  font-size: 22px; font-weight: 600;
  color: var(--text); letter-spacing: -0.3px;
  margin: 0 0 10px 0;
}
.lq-cust-panel-contact,
.lq-cust-panel-business,
.lq-cust-panel-address {
  font-size: 13px; color: var(--text-2); line-height: 1.55;
}
.lq-cust-panel-contact { margin-bottom: 2px; }
.lq-cust-panel-business { margin-bottom: 2px; }
.lq-cust-panel-address { color: var(--text-3); white-space: pre-line; }
.lq-cust-panel-actions { flex-shrink: 0; }

.lq-cust-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
.lq-metric {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 16px;
}
.lq-metric-label {
  font-size: 10.5px; font-weight: 600;
  color: var(--text-3); letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.lq-metric-value {
  font-size: 18px; font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.3px;
}
.lq-metric-accent { color: var(--green); }

@media (max-width: 720px) {
  .lq-cust-panel { flex-direction: column; align-items: stretch; }
  .lq-cust-metrics { grid-template-columns: repeat(2, 1fr); }
}

/* ── SHARE URL BOX ──────────────────────────────────── */
.lq-share-url-box {
  display: flex; gap: 8px; align-items: stretch;
}
.lq-share-url-box input {
  flex: 1; min-width: 0;
  border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 9px 12px; font-size: 12px; font-family: var(--font);
  color: var(--text-2); background: var(--bg);
  font-family: 'Courier New', 'Monaco', monospace;
}
.lq-share-url-box input:focus { outline: none; border-color: var(--gold); }

/* Clickable customer name cell on Customers list */
.lq-cust-name-link {
  cursor: pointer;
  color: var(--text);
  border-bottom: 1px dashed transparent;
  transition: color 0.12s, border-color 0.12s;
}
.lq-cust-name-link:hover {
  color: var(--gold-text);
  border-bottom-color: var(--gold);
}

/* Row action buttons — reduce padding around inline SVGs for tight layout */
.lq-tbl-btn.whatsapp,
.lq-tbl-btn.email {
  padding: 4px 6px;
}
.lq-tbl-btn.whatsapp:hover { color: #25D366; background: rgba(37, 211, 102, 0.08); }
.lq-tbl-btn.email:hover    { color: var(--blue); background: var(--blue-bg); }

.lq-tbl-btn[disabled],
.lq-tbl-btn[disabled]:hover {
  opacity: 0.3; cursor: not-allowed;
  background: transparent; color: inherit;
}

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 720px) {
  :root { --sb-width: 56px; }
  .lq-sb-brand, .lq-sb-sub, .lq-sb-user, .lq-nav-item span:not(.lq-nav-icon) { display: none; }
  .lq-nav-item { justify-content: center; padding: 14px 0; }
  .lq-view { padding: 20px 16px; }
  .lq-form-grid { grid-template-columns: 1fr; }
  .lq-field-wide { grid-column: auto; }
  .lq-items-header, .lq-item-main { grid-template-columns: 1fr 80px 60px 36px; }
  .lq-col-sub, .lq-item-row .item-sub { display: none; }
  .lq-search-input { max-width: 100%; }
}


.lq-brand{

    flex-direction: initial !important;
}

}