/* ═══════════════════════════════════════════════════════════
   FRAGRANCIA ADMIN — admin.css
   Dark theme, gold accents, Plus Jakarta Sans + DM Sans
═══════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────── */
:root {
  --gold:        #c9a84c;
  --gold-light:  #e2c47a;
  --gold-dim:    rgba(201,168,76,.12);
  --gold-border: rgba(201,168,76,.22);

  --bg:          #0e0f11;
  --bg-2:        #14161a;
  --bg-3:        #1a1c22;
  --bg-4:        #20232b;
  --bg-5:        #272b34;

  --border:      rgba(255,255,255,.06);
  --border-md:   rgba(255,255,255,.1);

  --white:       #ffffff;
  --text-1:      #f0ede8;
  --text-2:      #b8b2a8;
  --text-3:      #787470;

  --green:       #4caf82;
  --green-dim:   rgba(76,175,130,.12);
  --orange:      #e8954a;
  --orange-dim:  rgba(232,149,74,.12);
  --red:         #e05c5c;
  --red-dim:     rgba(224,92,92,.12);
  --blue:        #5c9fe8;
  --blue-dim:    rgba(92,159,232,.12);

  --sidebar-w:   240px;
  --topbar-h:    62px;
  --radius:      10px;
  --radius-sm:   6px;
  --radius-lg:   14px;
  --transition:  all .2s ease;

  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 14px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: var(--font-body); cursor: pointer; }
input, textarea, select { font-family: var(--font-body); }

/* ── Scrollbar ─────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--bg-5); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-border); }

/* ═══════════════════════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════════════════════ */
.sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w);
  background: var(--bg-2);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  overflow-x: hidden;
}

/* Logo */
.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 20px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.sidebar-logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  color: #0e0f11;
  flex-shrink: 0;
}
.logo-brand {
  display: block;
  font-family: var(--font-display);
  font-size: .88rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: .5px;
  line-height: 1.2;
}
.logo-sub {
  display: block;
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-3);
}

/* Nav */
.sidebar-nav {
  flex: 1;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-section-label {
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 0 8px 10px;
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-2);
  font-size: .82rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}
.sidebar-link:hover {
  background: var(--bg-3);
  color: var(--text-1);
}
.sidebar-link.active {
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid var(--gold-border);
}
.sidebar-link.active .sidebar-link-icon { color: var(--gold); }
.sidebar-link-icon {
  width: 20px;
  text-align: center;
  font-size: .82rem;
  color: var(--text-3);
  flex-shrink: 0;
  transition: var(--transition);
}
.sidebar-link:hover .sidebar-link-icon { color: var(--text-2); }
.sidebar-link-label { flex: 1; }
.sidebar-badge {
  font-size: .55rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 99px;
  line-height: 1.6;
}
.sidebar-badge--orange { background: var(--orange-dim); color: var(--orange); }
.sidebar-badge--blue   { background: var(--blue-dim);   color: var(--blue); }

/* Footer */
.sidebar-footer {
  padding: 14px 12px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}
.sidebar-ext-link {
  display: flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: .78rem;
  color: var(--text-3);
  transition: var(--transition);
}
.sidebar-ext-link:hover { background: var(--bg-3); color: var(--text-2); }
.sidebar-ext-link--danger:hover { color: var(--red); }

/* Sidebar overlay (mobile) */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 999;
  backdrop-filter: blur(3px);
}
.sidebar-overlay.show { display: block; }

/* ═══════════════════════════════════════════════════════
   MAIN WRAP + TOPBAR
═══════════════════════════════════════════════════════ */
.main-wrap {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: margin-left .3s cubic-bezier(.4,0,.2,1);
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  height: var(--topbar-h);
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 100;
  flex-shrink: 0;
  position: relative;
}
.topbar-left { display: flex; align-items: center; gap: 16px; }
.topbar-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none;
  border: none;
  padding: 6px;
}
.topbar-hamburger span {
  display: block;
  height: 2px;
  background: var(--text-2);
  border-radius: 99px;
  transition: var(--transition);
}
.topbar-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
}
.breadcrumb-root { color: var(--text-3); }
.breadcrumb-sep { font-size: .5rem; color: var(--text-3); }
.breadcrumb-current {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-1);
  font-size: .82rem;
}
.topbar-right { display: flex; align-items: center; gap: 12px; }

/* Clock */
.topbar-clock {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  color: var(--text-2);
  pointer-events: none;
  white-space: nowrap;
}
.clock-date {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-1);
}
.clock-sep { color: var(--text-3); }
.clock-time {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--gold);
  letter-spacing: .5px;
}
@media (max-width: 575px) {
  .clock-date { display: none; }
}

/* Notification */
.topbar-notif { position: relative; }
.topbar-icon-btn {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: .82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: var(--transition);
}
.topbar-icon-btn:hover { border-color: var(--gold-border); color: var(--gold); }
.notif-dot {
  position: absolute;
  top: 7px; right: 7px;
  width: 7px; height: 7px;
  background: var(--orange);
  border-radius: 50%;
  border: 1.5px solid var(--bg-2);
}
.notif-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 280px;
  background: var(--bg-3);
  border: 1px solid var(--border-md);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
  z-index: 200;
  overflow: hidden;
}
.notif-dropdown.open { display: block; }
.notif-header {
  padding: 14px 16px;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-3);
  border-bottom: 1px solid var(--border);
}
.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.notif-item:hover { background: var(--bg-4); }
.notif-item--unread { background: rgba(255,255,255,.015); }
.notif-icon {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  flex-shrink: 0;
}
.notif-icon--orange { background: var(--orange-dim); color: var(--orange); }
.notif-icon--blue   { background: var(--blue-dim);   color: var(--blue); }
.notif-icon--green  { background: var(--green-dim);  color: var(--green); }
.notif-title { font-size: .78rem; color: var(--text-1); font-weight: 500; }
.notif-time  { font-size: .65rem; color: var(--text-3); margin-top: 2px; }
.notif-footer {
  display: block;
  text-align: center;
  padding: 12px;
  font-size: .72rem;
  color: var(--gold);
  transition: var(--transition);
}
.notif-footer:hover { background: var(--gold-dim); }

/* Admin info */
.topbar-admin { display: flex; align-items: center; gap: 10px; }
.admin-avatar {
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  color: var(--gold);
}
.admin-name { font-size: .78rem; font-weight: 600; color: var(--text-1); line-height: 1.2; }
.admin-role { font-size: .62rem; color: var(--text-3); }

/* ═══════════════════════════════════════════════════════
   PAGE CONTENT
═══════════════════════════════════════════════════════ */
.page-content {
  flex: 1;
  padding: 28px 28px 40px;
}
.page-header {
  margin-bottom: 28px;
}
.page-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 4px;
}
.page-subtitle {
  font-size: .8rem;
  color: var(--text-3);
}
.page-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════
   CARDS
═══════════════════════════════════════════════════════ */
.card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.card-sm { padding: 16px; }
.card-title {
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--text-1);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-title i { color: var(--gold); font-size: .75rem; }

/* Stat cards */
.stat-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: var(--transition);
}
.stat-card:hover { border-color: var(--gold-border); }
/* Keep old .stat-info as alias so nothing breaks */
.stat-info, .stat-left { flex: 1; min-width: 0; }
.stat-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 6px;
}
.stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
/* Amount line below count */
.stat-amount, .stat-sub {
  font-size: .72rem;
  color: var(--text-3);
  font-family: var(--font-body);
  font-weight: 500;
}
.stat-change {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .68rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 99px;
}
.stat-change--up   { background: var(--green-dim);  color: var(--green); }
.stat-change--down { background: var(--red-dim);    color: var(--red); }
.stat-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.stat-icon--gold   { background: var(--gold-dim);   color: var(--gold); }
.stat-icon--green  { background: var(--green-dim);  color: var(--green); }
.stat-icon--orange { background: var(--orange-dim); color: var(--orange); }
.stat-icon--blue   { background: var(--blue-dim);   color: var(--blue); }
.stat-icon--purple { background: rgba(168,85,247,.15); color: #a855f7; }

/* ═══════════════════════════════════════════════════════
   TABLE
═══════════════════════════════════════════════════════ */
.admin-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .8rem;
}
.admin-table thead th {
  background: var(--bg-3);
  padding: 12px 16px;
  text-align: left;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
  border-bottom: 1px solid var(--border);
}
.admin-table tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
  vertical-align: middle;
}
.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover td { background: var(--bg-3); }

/* ═══════════════════════════════════════════════════════
   BADGES / STATUS
═══════════════════════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 99px;
  white-space: nowrap;
}
.badge--green  { background: var(--green-dim);  color: var(--green); }
.badge--orange { background: var(--orange-dim); color: var(--orange); }
.badge--red    { background: var(--red-dim);    color: var(--red); }
.badge--blue   { background: var(--blue-dim);   color: var(--blue); }
.badge--gold   { background: var(--gold-dim);   color: var(--gold); }
.badge--gray   { background: rgba(255,255,255,.06); color: var(--text-3); }
.badge--purple { background: rgba(168,85,247,.15); color: #a855f7; }

/* ═══════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .5px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: #0e0f11;
}
.btn-gold:hover { background: var(--gold-light); }
.btn-outline {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border-md);
}
.btn-outline:hover { border-color: var(--gold-border); color: var(--gold); }
.btn-ghost {
  background: var(--bg-3);
  color: var(--text-2);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--gold-border); color: var(--gold); }
.btn-danger { background: var(--red-dim); color: var(--red); border: 1px solid rgba(224,92,92,.25); }
.btn-danger:hover { background: var(--red); color: #fff; }
.btn-sm { padding: 6px 12px; font-size: .7rem; }
.btn-icon-only {
  width: 32px; height: 32px; padding: 0;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════
   FORM ELEMENTS
═══════════════════════════════════════════════════════ */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .5px;
  color: var(--text-2);
  margin-bottom: 7px;
}
.form-control {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: .82rem;
  outline: none;
  transition: var(--transition);
}
.form-control:focus { border-color: var(--gold-border); background: var(--bg-4); box-shadow: 0 0 0 3px var(--gold-dim); }
.form-control::placeholder { color: var(--text-3); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 90px; }
.form-hint { font-size: .65rem; color: var(--text-3); margin-top: 5px; }

/* Search bar */
.search-bar {
  position: relative;
  display: flex;
  align-items: center;
}
.search-bar-icon {
  position: absolute;
  left: 12px;
  color: var(--text-3);
  font-size: .75rem;
  pointer-events: none;
}
.search-bar input {
  padding-left: 34px;
  min-width: 200px;
}

/* ═══════════════════════════════════════════════════════
   TOOLBAR (filter row above tables)
═══════════════════════════════════════════════════════ */
.toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.toolbar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════
   PAGINATION
═══════════════════════════════════════════════════════ */
.pagination {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 18px;
}
.page-btn {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: .75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.page-btn:hover, .page-btn.active { background: var(--gold-dim); border-color: var(--gold-border); color: var(--gold); }

/* ═══════════════════════════════════════════════════════
   UTILITY
═══════════════════════════════════════════════════════ */
.d-none { display: none !important; }
.d-flex { display: flex !important; }
.d-grid { display: grid !important; }
.align-items-center { align-items: center !important; }
.justify-content-between { justify-content: space-between !important; }
.gap-2 { gap: 8px !important; }
.gap-3 { gap: 14px !important; }
.gap-4 { gap: 20px !important; }
.mt-1 { margin-top: 4px; }  .mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 14px; } .mt-4 { margin-top: 20px; }
.mt-5 { margin-top: 28px; }
.me-1 { margin-right: 4px; }
.me-2 { margin-right: 8px; }
.ms-1 { margin-left: 4px; }
.ms-2 { margin-left: 8px; }
.mb-1 { margin-bottom: 4px; }  .mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 14px; } .mb-4 { margin-bottom: 20px; }
.fw-600 { font-weight: 600; } .fw-700 { font-weight: 700; }
.text-gold   { color: var(--gold) !important; }
.text-green  { color: var(--green) !important; }
.text-orange { color: var(--orange) !important; }
.text-red    { color: var(--red) !important; }
.text-muted  { color: var(--text-3) !important; }
.text-sm     { font-size: .75rem; }
.text-xs     { font-size: .65rem; }
.w-100       { width: 100%; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1199px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px)  { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.divider { height: 1px; background: var(--border); margin: 20px 0; }

/* ═══════════════════════════════════════════════════════
   EMPTY STATE
═══════════════════════════════════════════════════════ */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-3);
}
.empty-state i { font-size: 2.5rem; color: var(--bg-5); margin-bottom: 16px; display: block; }
.empty-state h3 { font-family: var(--font-display); font-size: 1rem; color: var(--text-2); margin-bottom: 6px; }
.empty-state p  { font-size: .8rem; }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .sidebar {
    transform: translateX(-100%);
  }
  .sidebar.open {
    transform: translateX(0);
    box-shadow: 4px 0 30px rgba(0,0,0,.5);
  }
  .main-wrap {
    margin-left: 0;
  }
  .topbar-hamburger {
    display: flex;
  }
}
@media (max-width: 768px) {
  .page-content { padding: 18px 16px 32px; }
  .topbar { padding: 0 16px; }
  .page-title { font-size: 1.25rem; }
}
@media (max-width: 480px) {
  .page-content { padding: 14px 12px 28px; }
}
@media (min-width: 1025px) {
  .d-lg-block { display: block !important; }
  .d-sm-block { display: block !important; }
}
@media (max-width: 575px) {
  .d-sm-block { display: none !important; }
}

/* ═══════════════════════════════════════════════════════
   MODAL (global — used across collections, offer, etc.)
═══════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.72);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  backdrop-filter: blur(2px);
}
.modal-box {
  background: var(--bg-2);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-lg);
  width: 100%; max-width: 480px;
  max-height: 90vh; overflow-y: auto;
  animation: modalIn .2s ease;
}
.modal-box--lg  { max-width: 640px; }
.modal-box--xl  { max-width: 780px; }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px 16px;
  border-bottom: 1px solid var(--border);
}
.modal-title {
  font-family: var(--font-display);
  font-size: .92rem; font-weight: 700;
  color: var(--text-1);
  display: flex; align-items: center; gap: 8px;
}
.modal-title i { color: var(--gold); }
.modal-close {
  background: none; border: none;
  color: var(--text-3); font-size: 1rem;
  cursor: pointer; padding: 4px 6px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.modal-close:hover { color: var(--text-1); background: var(--bg-4); }
.modal-body {
  padding: 22px;
  display: flex; flex-direction: column; gap: 14px;
}
.modal-footer {
  padding: 14px 22px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: flex-end; gap: 8px;
}

/* ═══════════════════════════════════════════════════════
   FORM GRID ROWS
═══════════════════════════════════════════════════════ */
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
@media (max-width: 600px) {
  .form-row-2, .form-row-3 { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════
   PRICE / NUM helpers (global)
═══════════════════════════════════════════════════════ */
.price-cell { font-family: var(--font-body); font-weight: 600; color: var(--gold); }
.num        { font-family: var(--font-body); font-weight: 600; }

/* ═══════════════════════════════════════════════════════
   MODULE TAB NAV — shared across orders, offer, etc.
═══════════════════════════════════════════════════════ */
.order-type-nav,
.offer-tab-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 24px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px;
  flex-wrap: wrap;
}
.otn-link {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: .78rem;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}
.otn-link i { font-size: .72rem; }
.otn-link:hover { background: var(--bg-3); color: var(--text-1); }
.otn-link.active { background: var(--gold-dim); color: var(--gold); border: 1px solid var(--gold-border); }
.otn-count {
  font-size: .6rem; font-weight: 700;
  background: var(--bg-4); color: var(--text-3);
  padding: 2px 6px; border-radius: 99px;
}
.otn-link.active .otn-count { background: rgba(201,168,76,.2); color: var(--gold); }
@media (max-width: 768px) {
  .order-type-nav, .offer-tab-nav { gap: 2px; padding: 4px; }
  .otn-link { padding: 7px 10px; font-size: .72rem; }
}
