/* admin/admin.css — Premium Dark Admin Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400&display=swap');

/* ============================================================
   ADMIN DESIGN TOKENS
   ============================================================ */
:root {
  --a-black:    #F3F4F6;
  --a-dark:     #F3F4F6;
  --a-dark-mid: #FFFFFF;
  --a-surface:  #FFFFFF;
  --a-elevated: #F9FAFB;
  --a-border:   #E5E7EB;
  --a-border-gold: rgba(201,161,74,0.4);
  --a-gold:     #C9A14A;
  --a-gold-light: #B48E3D;
  --a-text:     #111827;
  --a-text-mid: #4B5563;
  --a-text-dim: #6B7280;
  --a-white:    #111827;

  --a-green:  #22C55E;
  --a-amber:  #F59E0B;
  --a-red:    #EF4444;
  --a-blue:   #60A5FA;

  --a-font:    'Inter', system-ui, sans-serif;
  --a-heading: 'Poppins', sans-serif;
  --a-serif:   'Cormorant Garamond', Georgia, serif;

  --a-radius-xs: 4px;
  --a-radius-sm: 8px;
  --a-radius-md: 14px;
  --a-radius-lg: 20px;

  --a-shadow-sm:  0 2px 12px rgba(0,0,0,0.35);
  --a-shadow-md:  0 6px 28px rgba(0,0,0,0.45);
  --a-shadow-lg:  0 16px 56px rgba(0,0,0,0.55);
  --a-shadow-gold: 0 6px 24px rgba(201,161,74,0.25);

  --a-sidebar-width: 260px;
  --a-header-height: 64px;

  --a-t-fast: 0.18s cubic-bezier(0.25,0.46,0.45,0.94);
  --a-t-base: 0.35s cubic-bezier(0.25,1,0.5,1);
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--a-font);
  background: var(--a-black);
  color: var(--a-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color var(--a-t-fast); }
button { cursor: pointer; font-family: inherit; border: none; outline: none; background: none; }
input, select, textarea { font-family: inherit; outline: none; }
img { max-width: 100%; height: auto; display: block; }

/* ============================================================
   LAYOUT
   ============================================================ */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-main {
  flex: 1;
  margin-left: var(--a-sidebar-width);
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--a-dark);
}

.admin-content {
  flex: 1;
  padding: 28px 32px 48px;
}

@media (max-width: 1024px) {
  .admin-main { margin-left: 0; }
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.admin-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--a-sidebar-width);
  height: 100vh;
  background: var(--a-dark-mid);
  border-right: 1px solid var(--a-border);
  display: flex;
  flex-direction: column;
  z-index: 500;
  overflow-y: auto;
  scrollbar-width: none;
}
.admin-sidebar::-webkit-scrollbar { display: none; }

/* Brand */
.sidebar-brand {
  padding: 24px 24px 20px;
  border-bottom: 1px solid var(--a-border);
  flex-shrink: 0;
}

.sidebar-brand-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.sidebar-brand-name {
  font-family: var(--a-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--a-white);
  letter-spacing: 0.02em;
}
.sidebar-brand-name span { color: var(--a-gold); }

.sidebar-brand-tag {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--a-text-dim);
  margin-top: 4px;
  font-family: 'Inter', sans-serif;
}

.sidebar-brand-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 99px;
  background: rgba(201,161,74,0.12);
  border: 1px solid rgba(201,161,74,0.22);
  color: var(--a-gold);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 10px;
  width: fit-content;
}

/* Nav sections */
.sidebar-section-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--a-text-dim);
  padding: 20px 24px 8px;
}

.sidebar-nav { padding: 8px 12px; flex: 1; }

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--a-radius-sm);
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--a-text-mid);
  transition: all var(--a-t-fast);
  position: relative;
  margin-bottom: 2px;
}

.sidebar-link i.nav-icon {
  width: 18px;
  text-align: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: color var(--a-t-fast);
}

.sidebar-link:hover {
  background: rgba(0,0,0,0.05);
  color: var(--a-text);
}

.sidebar-link.active {
  background: rgba(201,161,74,0.12);
  color: var(--a-gold);
  border: 1px solid rgba(201,161,74,0.2);
}

.sidebar-link.active i.nav-icon { color: var(--a-gold); }

.sidebar-badge {
  margin-left: auto;
  background: var(--a-red);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 99px;
  font-family: 'Inter', sans-serif;
}

.sidebar-link.external { opacity: 0.7; }
.sidebar-link.external:hover { opacity: 1; }

/* Footer */
.sidebar-footer {
  padding: 16px 16px 20px;
  border-top: 1px solid var(--a-border);
  flex-shrink: 0;
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--a-radius-sm);
  background: rgba(0,0,0,0.03);
  margin-bottom: 10px;
}

.sidebar-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--a-gold), var(--a-gold-light));
  color: var(--a-black);
  font-weight: 700;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
}

.sidebar-user-info { min-width: 0; }
.sidebar-user-name { font-size: 0.85rem; font-weight: 600; color: var(--a-white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user-role { font-size: 0.7rem; color: var(--a-text-dim); }

.sidebar-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px;
  border-radius: var(--a-radius-sm);
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.15);
  color: #FCA5A5;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all var(--a-t-fast);
}
.sidebar-logout:hover { background: rgba(239,68,68,0.16); border-color: rgba(239,68,68,0.3); }

/* ============================================================
   ADMIN HEADER
   ============================================================ */
.admin-header {
  height: var(--a-header-height);
  background: var(--a-dark-mid);
  border-bottom: 1px solid var(--a-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 100;
  flex-shrink: 0;
  gap: 20px;
}

.admin-header-title { font-size: 1rem; font-weight: 600; color: var(--a-white); }
.admin-header-sub   { font-size: 0.78rem; color: var(--a-text-dim); margin-top: 1px; }

.admin-header-right { display: flex; align-items: center; gap: 16px; }

.admin-header-date {
  font-size: 0.78rem;
  color: var(--a-text-dim);
  background: rgba(0,0,0,0.04);
  border: 1px solid var(--a-border);
  border-radius: var(--a-radius-xs);
  padding: 6px 14px;
  font-family: 'Inter', sans-serif;
}

/* ============================================================
   PAGE TITLE AREA
   ============================================================ */
.admin-page-header {
  padding: 28px 32px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.admin-page-title {
  font-family: var(--a-serif);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--a-white);
  line-height: 1.15;
}

.admin-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--a-text-dim);
  margin-top: 4px;
}
.admin-breadcrumb i { font-size: 0.6rem; color: var(--a-gold); }
.admin-breadcrumb a { color: var(--a-text-mid); transition: color var(--a-t-fast); }
.admin-breadcrumb a:hover { color: var(--a-gold); }

/* ============================================================
   STAT CARDS
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

@media (max-width: 1200px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .stats-grid { grid-template-columns: 1fr; } }

.stat-card {
  background: var(--a-surface);
  border: 1px solid var(--a-border);
  border-radius: var(--a-radius-md);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all var(--a-t-base);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--a-gold), var(--a-gold-light), var(--a-gold));
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 100%);
  pointer-events: none;
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--a-shadow-md);
  border-color: var(--a-border-gold);
}

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--a-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  background: rgba(201,161,74,0.1);
  color: var(--a-gold);
  border: 1px solid rgba(201,161,74,0.2);
}
.stat-icon.green  { background: rgba(34,197,94,0.1);  color: var(--a-green); border-color: rgba(34,197,94,0.2); }
.stat-icon.blue   { background: rgba(96,165,250,0.1); color: var(--a-blue); border-color: rgba(96,165,250,0.2); }
.stat-icon.amber  { background: rgba(245,158,11,0.1); color: var(--a-amber); border-color: rgba(245,158,11,0.2); }
.stat-icon.red    { background: rgba(239,68,68,0.1);  color: var(--a-red); border-color: rgba(239,68,68,0.2); }

.stat-info { flex: 1; min-width: 0; }

.stat-label {
  font-family: var(--a-font);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--a-text-dim);
  display: block;
  margin-bottom: 8px;
}

.stat-value {
  font-family: var(--a-heading);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--a-text);
  line-height: 1.1;
  display: block;
}

.stat-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 99px;
  margin-top: 6px;
  display: inline-block;
}
.stat-badge.up   { background: rgba(34,197,94,0.12); color: var(--a-green); }
.stat-badge.down { background: rgba(239,68,68,0.12); color: var(--a-red); }

/* ============================================================
   ADMIN CARDS
   ============================================================ */
.admin-card {
  background: var(--a-surface);
  border: 1px solid var(--a-border);
  border-radius: var(--a-radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: var(--a-shadow-sm);
}

.admin-card-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--a-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-card-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--a-white);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-card-title i { color: var(--a-gold); font-size: 0.85rem; }

.admin-card-body { padding: 0; }

/* ============================================================
   TABLES
   ============================================================ */
.table-wrap { overflow-x: auto; }

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

.admin-table thead tr {
  background: rgba(0,0,0,0.02);
  border-bottom: 1px solid var(--a-border);
}

.admin-table th {
  padding: 12px 18px;
  text-align: left;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--a-text-dim);
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
}

.admin-table td {
  padding: 14px 18px;
  font-size: 0.87rem;
  color: var(--a-text);
  border-bottom: 1px solid var(--a-border);
  vertical-align: middle;
}

.admin-table tbody tr { transition: background var(--a-t-fast); }
.admin-table tbody tr:hover { background: rgba(0,0,0,0.03); }
.admin-table tbody tr:last-child td { border-bottom: none; }

.table-empty {
  text-align: center;
  padding: 64px 40px;
  color: var(--a-text-dim);
}
.table-empty i { font-size: 2.5rem; color: rgba(0,0,0,0.08); display: block; margin-bottom: 14px; }
.table-empty p { font-size: 0.88rem; }

/* ============================================================
   STATUS BADGES
   ============================================================ */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: capitalize;
  font-family: 'Inter', sans-serif;
}

.badge-confirmed,
.badge-active    { background: rgba(34,197,94,0.12);  color: var(--a-green); border: 1px solid rgba(34,197,94,0.2); }
.badge-pending   { background: rgba(245,158,11,0.12); color: var(--a-amber); border: 1px solid rgba(245,158,11,0.2); }
.badge-cancelled,
.badge-rejected  { background: rgba(239,68,68,0.12);  color: var(--a-red);   border: 1px solid rgba(239,68,68,0.2); }

/* ============================================================
   ADMIN BUTTONS
   ============================================================ */
.a-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--a-radius-xs);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border: 1px solid transparent;
  transition: all var(--a-t-fast);
  cursor: pointer;
  font-family: var(--a-font);
  white-space: nowrap;
}

.a-btn-gold    { background: var(--a-gold); color: var(--a-black); border-color: var(--a-gold); }
.a-btn-gold:hover { background: var(--a-gold-light); border-color: var(--a-gold-light); }

.a-btn-outline { background: transparent; color: var(--a-text-mid); border-color: var(--a-border); }
.a-btn-outline:hover { color: var(--a-text); border-color: rgba(0,0,0,0.2); background: rgba(0,0,0,0.04); }

.a-btn-success { background: rgba(34,197,94,0.12); color: var(--a-green); border-color: rgba(34,197,94,0.2); }
.a-btn-success:hover { background: rgba(34,197,94,0.22); }

.a-btn-danger  { background: rgba(239,68,68,0.12); color: var(--a-red); border-color: rgba(239,68,68,0.2); }
.a-btn-danger:hover { background: rgba(239,68,68,0.22); }

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

/* ============================================================
   FORMS (Admin) - ULTRA PREMIUM DESIGN
   ============================================================ */
.admin-form { display: flex; flex-direction: column; gap: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 700px) { .form-row { grid-template-columns: 1fr; } }

.a-field { display: flex; flex-direction: column; gap: 8px; position: relative; }

.a-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--a-text-mid);
  font-family: 'Inter', sans-serif;
  margin-left: 2px;
}

.a-input, .a-select, .a-textarea {
  padding: 14px 18px;
  background: var(--a-surface);
  border: 1px solid var(--a-border);
  border-radius: var(--a-radius-md);
  color: var(--a-text);
  font-size: 1rem;
  font-family: var(--a-font);
  transition: all var(--a-t-fast);
  box-shadow: 0 1px 4px rgba(0,0,0,0.02);
}

.a-input:hover, .a-select:hover, .a-textarea:hover {
  border-color: rgba(201,161,74,0.4);
}

.a-input:focus, .a-select:focus, .a-textarea:focus {
  border-color: var(--a-gold);
  box-shadow: 0 0 0 4px rgba(201,161,74,0.15);
  background: var(--a-surface);
  outline: none;
}

.a-input::placeholder, .a-textarea::placeholder { color: var(--a-text-dim); opacity: 0.7; }
.a-textarea { resize: vertical; min-height: 110px; }
.a-select option { background: var(--a-surface); }

/* Layout Grid for Professional Forms */
.admin-form-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
  max-width: 1300px;
  margin: 0 auto;
}

@media (max-width: 1100px) {
  .admin-form-layout {
    grid-template-columns: 1fr;
  }
}

.admin-form-main {
  background: var(--a-surface);
  border: 1px solid var(--a-border);
  border-radius: var(--a-radius-lg);
  padding: 48px 56px;
  box-shadow: var(--a-shadow-md);
  display: flex;
  flex-direction: column;
  gap: 40px;
}
@media (max-width: 768px) {
  .admin-form-main { padding: 32px 24px; }
}

.form-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.form-section-header {
  font-family: var(--a-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--a-text);
  padding-bottom: 16px;
  margin-bottom: 8px;
  border-bottom: 2px solid rgba(0,0,0,0.04);
}

.admin-form-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Checkbox */
.a-check-group { display: flex; flex-wrap: wrap; gap: 12px; }
.a-check {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--a-text-mid);
}
.a-check input[type=checkbox] { accent-color: var(--a-gold); }
.a-check:hover { border-color: var(--a-border-gold); }

/* ============================================================
   LOGIN PAGE
   ============================================================ */
.admin-login-page {
  min-height: 100vh;
  background: var(--a-black);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
}

.login-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(201,161,74,0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 70%, rgba(15,35,24,0.5) 0%, transparent 60%);
}

.login-card {
  position: relative;
  z-index: 2;
  background: var(--a-dark-mid);
  border: 1px solid var(--a-border);
  border-radius: var(--a-radius-lg);
  padding: 48px 44px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--a-shadow-lg);
}

@media (max-width: 480px) { .login-card { padding: 36px 28px; } }

.login-brand {
  text-align: center;
  margin-bottom: 36px;
}

.login-brand-name {
  font-family: var(--a-serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--a-white);
}
.login-brand-name span { color: var(--a-gold); }

.login-brand-tag {
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--a-text-dim);
  margin-top: 6px;
  font-family: 'Inter', sans-serif;
}

.login-divider {
  width: 32px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--a-gold), var(--a-gold-light));
  margin: 14px auto 0;
  border-radius: 99px;
}

.login-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--a-text);
  margin-bottom: 24px;
  text-align: center;
}

.login-form { display: flex; flex-direction: column; gap: 16px; }

.login-submit {
  width: 100%;
  padding: 13px;
  background: var(--a-gold);
  color: var(--a-black);
  border: none;
  border-radius: var(--a-radius-xs);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--a-t-base);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--a-font);
  margin-top: 4px;
}
.login-submit:hover { background: var(--a-gold-light); }

.login-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 0.78rem;
  color: var(--a-text-dim);
}
.login-footer a { color: var(--a-gold); }
.login-footer a:hover { color: var(--a-gold-light); }

.login-alert {
  padding: 12px 16px;
  border-radius: var(--a-radius-sm);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.login-alert.error   { background: rgba(239,68,68,0.1); color: #FCA5A5; border: 1px solid rgba(239,68,68,0.2); }
.login-alert.success { background: rgba(34,197,94,0.1); color: #86EFAC; border: 1px solid rgba(34,197,94,0.2); }

/* ============================================================
   PROPERTY IMAGE UPLOAD
   ============================================================ */
.upload-zone {
  border: 2px dashed var(--a-border);
  border-radius: var(--a-radius-md);
  padding: 48px 32px;
  text-align: center;
  cursor: pointer;
  transition: all var(--a-t-base);
  background: rgba(0,0,0,0.01);
}

.upload-zone:hover, .upload-zone.dragging {
  border-color: var(--a-gold);
  background: rgba(201,161,74,0.04);
}

.upload-zone i { font-size: 2rem; color: var(--a-text-dim); margin-bottom: 14px; display: block; }
.upload-zone h3 { font-size: 0.92rem; font-weight: 600; color: var(--a-text-mid); margin-bottom: 6px; }
.upload-zone p { font-size: 0.8rem; color: var(--a-text-dim); }
.upload-zone span { color: var(--a-gold); font-weight: 600; }

.image-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.image-preview-item {
  position: relative;
  border-radius: var(--a-radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: rgba(0,0,0,0.04);
  border: 1px solid var(--a-border);
}

.image-preview-item img { width: 100%; height: 100%; object-fit: cover; }

.image-preview-delete {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(239,68,68,0.8);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity var(--a-t-fast);
}
.image-preview-item:hover .image-preview-delete { opacity: 1; }

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--a-dark); }
::-webkit-scrollbar-thumb { background: rgba(201,161,74,0.35); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--a-gold); }

/* ============================================================
   ALERTS
   ============================================================ */
.a-alert {
  padding: 13px 18px;
  border-radius: var(--a-radius-sm);
  font-size: 0.87rem;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.a-alert.success { background: rgba(34,197,94,0.1); color: #86EFAC; border: 1px solid rgba(34,197,94,0.15); }
.a-alert.error   { background: rgba(239,68,68,0.1); color: #FCA5A5; border: 1px solid rgba(239,68,68,0.15); }
.a-alert.warn    { background: rgba(245,158,11,0.1); color: #FCD34D; border: 1px solid rgba(245,158,11,0.15); }

/* ============================================================
   MISC UTILITIES
   ============================================================ */
.text-gold    { color: var(--a-gold); }
.text-green   { color: var(--a-green); }
.text-red     { color: var(--a-red); }
.text-dim     { color: var(--a-text-dim); }
.text-mid     { color: var(--a-text-mid); }
.fw-600       { font-weight: 600; }
.fw-700       { font-weight: 700; }
.fs-sm        { font-size: 0.82rem; }
.font-serif   { font-family: var(--a-serif); }
.mt-0 { margin-top: 0; }

/* Grid helpers */
.col-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.col-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 768px) { .col-2, .col-3 { grid-template-columns: 1fr; } }

/* Selection */
::selection { background: var(--a-gold); color: var(--a-black); }

/* ============================================================
   PREMIUM SAAS COMPONENTS (AMENITY CHIPS & LIVE PREVIEW)
   ============================================================ */
.amenity-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.amenity-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--a-elevated);
  border: 1px solid var(--a-border);
  border-radius: 99px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--a-text-mid);
  cursor: pointer;
  transition: all var(--a-t-fast);
  user-select: none;
}
.amenity-chip:hover {
  border-color: var(--a-gold-light);
  color: var(--a-text);
}
.amenity-chip.active {
  background: rgba(201, 161, 74, 0.1);
  border-color: var(--a-gold);
  color: var(--a-gold);
  box-shadow: 0 4px 12px rgba(201, 161, 74, 0.15);
}
.amenity-chip i { font-size: 1rem; }

.live-preview-card {
  background: var(--a-surface);
  border-radius: var(--a-radius-lg);
  overflow: hidden;
  box-shadow: var(--a-shadow-md);
  border: 1px solid var(--a-border);
  position: sticky;
  top: 100px;
}
.preview-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #E5E7EB;
}
.preview-content {
  padding: 24px;
}
.preview-type {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--a-text-dim);
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}
.preview-title {
  font-family: var(--a-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--a-text);
  margin-bottom: 12px;
  line-height: 1.3;
}
.preview-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--a-gold);
}
.preview-meta {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--a-border);
  font-size: 0.85rem;
  color: var(--a-text-mid);
}
.preview-meta span { display: flex; align-items: center; gap: 6px; }

.uploader-zone {
  border: 2px dashed var(--a-border);
  border-radius: var(--a-radius-lg);
  padding: 40px;
  text-align: center;
  background: var(--a-elevated);
  cursor: pointer;
  transition: all var(--a-t-fast);
}
.uploader-zone:hover, .uploader-zone.dragover {
  border-color: var(--a-gold);
  background: rgba(201, 161, 74, 0.05);
}
.uploader-icon {
  font-size: 3rem;
  color: var(--a-gold);
  margin-bottom: 16px;
}
.uploader-zone h3 {
  font-family: var(--a-heading);
  font-size: 1.2rem;
  color: var(--a-text);
  margin-bottom: 8px;
}
.uploader-zone p { color: var(--a-text-dim); font-size: 0.9rem; }
