/* ─── Grand Ellora Admin Portal — Styles ─────────────────── */

/* ─── CSS Variables ──────────────────────────────────────── */
:root {
  --gold: #D4A84B;
  --gold-light: #E8C068;
  --gold-dark: #B8922F;
  --navy: #0A2E2A;
  --charcoal: #0f0f23;
  --charcoal-light: #1a1a35;
  --charcoal-lighter: #252545;
  --cream: #F8FAF8;
  --cream-dim: #c8cac8;
  --error: #E74C3C;
  --error-bg: rgba(231, 76, 60, 0.15);
  --success: #2ECC71;
  --success-bg: rgba(46, 204, 113, 0.15);
  --warning: #F39C12;
  --warning-bg: rgba(243, 156, 18, 0.15);
  --info: #3498DB;
  --info-bg: rgba(52, 152, 219, 0.15);
  --border: rgba(212, 168, 75, 0.15);
  --border-hover: rgba(212, 168, 75, 0.3);
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.2s ease;
}

/* ─── Reset & Base ───────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--charcoal);
  color: var(--cream);
  line-height: 1.6;
  min-height: 100vh;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--cream);
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold-light);
}

/* ─── Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--charcoal);
}

::-webkit-scrollbar-thumb {
  background: var(--charcoal-lighter);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-dark);
}

/* ─── Navigation Bar ─────────────────────────────────────── */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--charcoal-light);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-brand img {
  height: 40px;
  width: auto;
  border-radius: 4px;
}

.navbar-brand span {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--gold);
  font-weight: 600;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.navbar-links a {
  display: block;
  padding: 8px 16px;
  color: var(--cream-dim);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.navbar-links a:hover {
  color: var(--cream);
  background: var(--charcoal-lighter);
}

.navbar-links a.active {
  color: var(--gold);
  background: rgba(212, 168, 75, 0.1);
}

.navbar-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-user .user-name {
  font-size: 0.875rem;
  color: var(--cream-dim);
}

.navbar-user .user-role {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
  background: rgba(212, 168, 75, 0.1);
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 4px;
}

.btn-logout {
  background: transparent;
  border: 1px solid rgba(231, 76, 60, 0.4);
  color: var(--error);
  padding: 6px 14px;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-logout:hover {
  background: var(--error-bg);
  border-color: var(--error);
}

/* ─── Page Container ─────────────────────────────────────── */
.page-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.page-header h1 {
  font-size: 1.75rem;
  color: var(--cream);
}

.page-header h1 span {
  color: var(--gold);
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  line-height: 1;
}

.btn-primary {
  background: var(--gold);
  color: var(--charcoal);
}

.btn-primary:hover {
  background: var(--gold-light);
  box-shadow: 0 0 20px rgba(212, 168, 75, 0.3);
}

.btn-secondary {
  background: var(--charcoal-lighter);
  color: var(--cream);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.05);
}

.btn-danger {
  background: transparent;
  color: var(--error);
  border: 1px solid rgba(231, 76, 60, 0.4);
}

.btn-danger:hover {
  background: var(--error-bg);
}

.btn-success {
  background: transparent;
  color: var(--success);
  border: 1px solid rgba(46, 204, 113, 0.4);
}

.btn-success:hover {
  background: var(--success-bg);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.8rem;
}

.btn-icon {
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 0.85rem;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ─── Stats Cards ────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--charcoal-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  opacity: 0;
  transition: opacity var(--transition);
}

.stat-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card .stat-icon {
  width: 44px;
  height: 44px;
  background: rgba(212, 168, 75, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.stat-card .stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-card .stat-label {
  font-size: 0.85rem;
  color: var(--cream-dim);
  margin-bottom: 0.5rem;
}

.stat-card .stat-sub {
  font-size: 0.75rem;
  color: var(--gold);
  opacity: 0.8;
}

/* ─── Data Tables ────────────────────────────────────────── */
.table-container {
  background: var(--charcoal-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.table-header h3 {
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  background: rgba(0, 0, 0, 0.2);
}

thead th {
  padding: 12px 16px;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cream-dim);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: background var(--transition);
}

tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.015);
}

tbody tr:hover {
  background: rgba(212, 168, 75, 0.04);
}

tbody td {
  padding: 12px 16px;
  font-size: 0.875rem;
  color: var(--cream);
  vertical-align: middle;
}

.td-actions {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
}

/* ─── Status Badges ──────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.badge-new {
  background: var(--info-bg);
  color: var(--info);
  border: 1px solid rgba(52, 152, 219, 0.3);
}

.badge-contacted {
  background: var(--warning-bg);
  color: var(--warning);
  border: 1px solid rgba(243, 156, 18, 0.3);
}

.badge-site-visit {
  background: rgba(155, 89, 182, 0.15);
  color: #9B59B6;
  border: 1px solid rgba(155, 89, 182, 0.3);
}

.badge-negotiation {
  background: rgba(230, 126, 34, 0.15);
  color: #E67E22;
  border: 1px solid rgba(230, 126, 34, 0.3);
}

.badge-closed-won {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid rgba(46, 204, 113, 0.3);
}

.badge-closed-lost {
  background: var(--error-bg);
  color: var(--error);
  border: 1px solid rgba(231, 76, 60, 0.3);
}

.badge-active {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid rgba(46, 204, 113, 0.3);
}

.badge-inactive {
  background: var(--error-bg);
  color: var(--error);
  border: 1px solid rgba(231, 76, 60, 0.3);
}

.badge-admin {
  background: rgba(212, 168, 75, 0.15);
  color: var(--gold);
  border: 1px solid rgba(212, 168, 75, 0.3);
}

.badge-staff {
  background: var(--info-bg);
  color: var(--info);
  border: 1px solid rgba(52, 152, 219, 0.3);
}

.badge-partner {
  background: rgba(155, 89, 182, 0.15);
  color: #9B59B6;
  border: 1px solid rgba(155, 89, 182, 0.3);
}

/* ─── Filter Bar ─────────────────────────────────────────── */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.filter-bar select,
.filter-bar input[type="text"],
.filter-bar input[type="search"] {
  background: var(--charcoal-light);
  border: 1px solid var(--border);
  color: var(--cream);
  padding: 8px 14px;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  transition: border-color var(--transition);
  min-width: 160px;
}

.filter-bar select:focus,
.filter-bar input:focus {
  outline: none;
  border-color: var(--gold);
}

.filter-bar select option {
  background: var(--charcoal);
  color: var(--cream);
}

/* ─── Forms ──────────────────────────────────────────────── */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cream-dim);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--cream);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 168, 75, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(200, 202, 200, 0.4);
}

.form-group select option {
  background: var(--charcoal);
  color: var(--cream);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-error {
  color: var(--error);
  font-size: 0.8rem;
  margin-top: 4px;
}

/* ─── Checkbox Group ─────────────────────────────────────── */
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--cream);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
  cursor: pointer;
}

/* ─── Group Card ─────────────────────────────────────────── */
.group-card {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.group-card .group-info {
  flex: 1;
}

.group-card .group-name {
  font-weight: 600;
  color: var(--cream);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.group-card .group-portals {
  font-size: 0.75rem;
  color: var(--gold);
}

.group-card .group-members {
  font-size: 0.75rem;
  color: var(--cream-dim);
  margin-top: 2px;
}

.group-card .group-actions {
  display: flex;
  gap: 6px;
}

/* ─── Password Toggle ────────────────────────────────────── */
.input-password-wrapper {
  position: relative;
}

.input-password-wrapper input {
  padding-right: 3rem;
}

.password-toggle {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--cream-dim);
  transition: color var(--transition);
  padding: 0;
}

.password-toggle:hover {
  color: var(--gold);
}

.password-toggle svg {
  width: 18px;
  height: 18px;
}

/* ─── Login Page ─────────────────────────────────────────── */
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--charcoal);
  padding: 2rem;
}

.login-card {
  background: var(--charcoal-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
}

.login-card .login-logo {
  text-align: center;
  margin-bottom: 2rem;
}

.login-card .login-logo img {
  height: 72px;
  width: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.login-card .login-logo h1 {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.login-card .login-logo p {
  font-size: 0.85rem;
  color: var(--cream-dim);
}

.login-card .login-error {
  background: var(--error-bg);
  border: 1px solid rgba(231, 76, 60, 0.3);
  border-radius: var(--radius);
  padding: 10px 14px;
  color: var(--error);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  display: none;
}

.login-card .login-error.visible {
  display: block;
}

.login-card .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 12px;
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

/* ─── Modal ──────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--charcoal-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 540px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.modal-backdrop.open .modal {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.modal-header h3 {
  font-size: 1.1rem;
  font-family: 'Playfair Display', serif;
}

.modal-close {
  background: none;
  border: none;
  color: var(--cream-dim);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color var(--transition);
}

.modal-close:hover {
  color: var(--cream);
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
}

/* ─── Temp Password Display ──────────────────────────────── */
.temp-password-box {
  background: rgba(212, 168, 75, 0.08);
  border: 1px solid rgba(212, 168, 75, 0.25);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  text-align: center;
  margin: 1rem 0;
}

.temp-password-box .temp-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cream-dim);
  margin-bottom: 8px;
}

.temp-password-box .temp-value {
  font-size: 1.4rem;
  font-family: 'Courier New', monospace;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  user-select: all;
}

.temp-password-box .temp-hint {
  font-size: 0.75rem;
  color: var(--cream-dim);
  margin-top: 8px;
  opacity: 0.7;
}

/* ─── Activity Feed ──────────────────────────────────────── */
.activity-feed {
  background: var(--charcoal-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.activity-feed .feed-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.activity-feed .feed-header h3 {
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: background var(--transition);
}

.activity-item:hover {
  background: rgba(212, 168, 75, 0.03);
}

.activity-item:last-child {
  border-bottom: none;
}

.activity-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(212, 168, 75, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
}

.activity-content {
  flex: 1;
  min-width: 0;
}

.activity-content .activity-text {
  font-size: 0.85rem;
  color: var(--cream);
  line-height: 1.4;
}

.activity-content .activity-text strong {
  color: var(--gold);
}

.activity-content .activity-time {
  font-size: 0.75rem;
  color: var(--cream-dim);
  margin-top: 2px;
  opacity: 0.7;
}

/* ─── Toast Notifications ────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-family: 'Montserrat', sans-serif;
  color: var(--cream);
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.3s ease forwards;
  max-width: 360px;
  word-break: break-word;
}

.toast.toast-success {
  background: var(--navy);
  border: 1px solid rgba(46, 204, 113, 0.4);
  border-left: 4px solid var(--success);
}

.toast.toast-error {
  background: var(--navy);
  border: 1px solid rgba(231, 76, 60, 0.4);
  border-left: 4px solid var(--error);
}

.toast.toast-info {
  background: var(--navy);
  border: 1px solid rgba(52, 152, 219, 0.4);
  border-left: 4px solid var(--info);
}

.toast.removing {
  animation: toastOut 0.3s ease forwards;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes toastOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(40px);
  }
}

/* ─── Empty State ────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--cream-dim);
}

.empty-state .empty-icon {
  font-size: 2.5rem;
  color: var(--charcoal-lighter);
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
}

.empty-state p {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ─── Loading Spinner ────────────────────────────────────── */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ─── Load More ──────────────────────────────────────────── */
.load-more {
  text-align: center;
  padding: 1rem;
}

/* ─── Password Change Modal ──────────────────────────────── */
.password-strength {
  height: 3px;
  background: var(--charcoal);
  border-radius: 2px;
  margin-top: 6px;
  overflow: hidden;
}

.password-strength .bar {
  height: 100%;
  width: 0%;
  border-radius: 2px;
  transition: width 0.3s, background 0.3s;
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .page-container {
    padding: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .table-container {
    overflow-x: auto;
  }

  table {
    min-width: 700px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 1rem;
    flex-wrap: wrap;
    height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 8px;
  }

  .navbar-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .navbar-links a {
    padding: 6px 12px;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-bar select,
  .filter-bar input {
    min-width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .modal {
    max-width: 100%;
    margin: 1rem;
  }
}

/* ─── Utility ────────────────────────────────────────────── */
.text-gold { color: var(--gold); }
.text-muted { color: var(--cream-dim); }
.text-error { color: var(--error); }
.text-success { color: var(--success); }
.text-sm { font-size: 0.8rem; }
.text-xs { font-size: 0.7rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.hidden { display: none !important; }
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 200px;
}
