/* ============================================================
   ORCINUX - Admin Panel Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-dark:     #08110F;
  --bg-dark2:    #0d1c18;
  --sidebar-bg:  #06100d;
  --green-neon:  #83E80F;
  --green-glow:  #83E80F33;
  --cyan:        #00BFAC;
  --cyan-light:  #96C7CC;
  --blue-deep:   #10344C;
  --purple:      #321049;
  --bg-main:     #F0F4F2;
  --bg-card:     #ffffff;
  --text-dark:   #0f1f1c;
  --text-mid:    #3a4a47;
  --text-light:  #6b7c78;
  --border:      #e0e8e6;
  --border-dark: #1a2e2a;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --transition:  0.3s ease;
  --shadow-card: 0 2px 16px rgba(0,0,0,0.06);
  --shadow-glow: 0 0 24px rgba(131,232,15,0.25);
  --font:        'DM Sans', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg-main);
  color: var(--text-dark);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }
button, input, select, textarea { font-family: var(--font); outline: none; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--green-neon); border-radius: 3px; }

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

/* --- Sidebar --- */
.sidebar {
  width: 260px;
  background: var(--sidebar-bg);
  border-right: 1px solid var(--border-dark);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  transition: transform var(--transition);
  overflow-y: auto;
}
.sidebar-logo {
  padding: 1.5rem 1.5rem 1.25rem;
  border-bottom: 1px solid var(--border-dark);
}
.sidebar-logo .logo {
  color: var(--green-neon);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.sidebar-logo .logo-sub {
  font-size: 0.7rem;
  color: #2a5040;
  font-weight: 400;
  margin-top: 0.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sidebar-nav { padding: 1rem 0; flex: 1; }
.sidebar-section-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #2a5040;
  padding: 0.75rem 1.5rem 0.25rem;
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.5rem;
  color: #4a7060;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition);
  border-left: 3px solid transparent;
  cursor: pointer;
}
.sidebar-link:hover {
  color: var(--green-neon);
  background: rgba(131,232,15,0.05);
  border-left-color: rgba(131,232,15,0.3);
}
.sidebar-link.active {
  color: var(--green-neon);
  background: rgba(131,232,15,0.08);
  border-left-color: var(--green-neon);
}
.sidebar-link svg { width: 18px; height: 18px; flex-shrink: 0; }

.sidebar-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-dark);
}
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.sidebar-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-neon), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--bg-dark);
  flex-shrink: 0;
}
.sidebar-user-info .name { font-size: 0.875rem; font-weight: 600; color: #e0e0e0; }
.sidebar-user-info .role { font-size: 0.72rem; color: #2a5040; }
.btn-logout {
  width: 100%;
  background: rgba(255,71,87,0.1);
  border: 1px solid rgba(255,71,87,0.2);
  color: #ff7070;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.btn-logout:hover { background: rgba(255,71,87,0.2); }

/* --- Main Content --- */
.admin-main {
  flex: 1;
  margin-left: 260px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.admin-topbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-card);
}
.topbar-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
}
.topbar-right { display: flex; align-items: center; gap: 1rem; }
.topbar-badge {
  background: rgba(131,232,15,0.1);
  border: 1px solid rgba(131,232,15,0.3);
  color: #3a7010;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-view-store {
  background: var(--bg-dark);
  color: var(--cyan);
  border: 1px solid var(--cyan);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}
.btn-view-store:hover { background: rgba(0,191,172,0.1); }

.admin-content {
  flex: 1;
  padding: 2rem;
}

/* ============================================================
   METRICS CARDS
   ============================================================ */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.metric-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}
.metric-card.green::before { background: linear-gradient(90deg, var(--green-neon), var(--cyan)); }
.metric-card.cyan::before  { background: linear-gradient(90deg, var(--cyan), var(--cyan-light)); }
.metric-card.blue::before  { background: linear-gradient(90deg, var(--blue-deep), var(--cyan)); }
.metric-card.purple::before { background: linear-gradient(90deg, var(--purple), var(--cyan)); }

.metric-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.metric-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.metric-icon.green  { background: rgba(131,232,15,0.1); color: #5aaa00; }
.metric-icon.cyan   { background: rgba(0,191,172,0.1);  color: var(--cyan); }
.metric-icon.blue   { background: rgba(16,52,76,0.1);   color: var(--blue-deep); }
.metric-icon.purple { background: rgba(50,16,73,0.1);   color: var(--purple); }
.metric-icon svg { width: 22px; height: 22px; }

.metric-label { font-size: 0.8rem; font-weight: 600; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; }
.metric-value { font-size: 1.8rem; font-weight: 800; color: var(--text-dark); line-height: 1; }
.metric-change {
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.metric-change.up   { color: #5aaa00; }
.metric-change.down { color: #ff4757; }

/* ============================================================
   ADMIN TABLES
   ============================================================ */
.admin-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.admin-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
  flex-wrap: wrap;
}
.admin-card-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.admin-card-header h3::before {
  content: '';
  width: 3px;
  height: 1rem;
  background: var(--green-neon);
  border-radius: 2px;
}
.admin-card-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.table-wrapper { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
thead th {
  background: var(--bg-main);
  padding: 0.75rem 1.25rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
tbody td {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-mid);
  vertical-align: middle;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: #f8faf9; }

/* ============================================================
   ADMIN BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green-neon);
  color: var(--bg-dark);
  border-color: var(--green-neon);
}
.btn-primary:hover { background: #9af020; box-shadow: var(--shadow-glow); }
.btn-secondary {
  background: transparent;
  color: var(--cyan);
  border-color: var(--cyan);
}
.btn-secondary:hover { background: rgba(0,191,172,0.1); }
.btn-danger {
  background: transparent;
  color: #ff4757;
  border-color: rgba(255,71,87,0.3);
}
.btn-danger:hover { background: rgba(255,71,87,0.1); }
.btn-dark {
  background: var(--bg-dark);
  color: var(--green-neon);
  border-color: rgba(131,232,15,0.3);
}
.btn-dark:hover { border-color: var(--green-neon); box-shadow: var(--shadow-glow); }
.btn-sm { padding: 0.35rem 0.75rem; font-size: 0.8rem; }
.btn svg { width: 15px; height: 15px; }

/* ============================================================
   STATUS BADGES
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.badge-success { background: rgba(131,232,15,0.1); color: #3a7010; }
.badge-success::before { background: #83E80F; }
.badge-warning { background: rgba(240,165,0,0.1); color: #8a6000; }
.badge-warning::before { background: #f0a500; animation: pulse-dot 1.5s infinite; }
.badge-danger  { background: rgba(255,71,87,0.1);  color: #cc2030; }
.badge-danger::before  { background: #ff4757; }
.badge-info    { background: rgba(0,191,172,0.1);  color: #006b60; }
.badge-info::before    { background: var(--cyan); }

/* ============================================================
   FORMS (Admin)
   ============================================================ */
.form-page {
  max-width: 900px;
}
.form-section {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-card);
}
.form-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.form-section-title::before {
  content: '';
  width: 3px;
  height: 1rem;
  background: linear-gradient(180deg, var(--green-neon), var(--cyan));
  border-radius: 2px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.form-grid.full { grid-column: 1/-1; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-mid);
}
.form-label span { color: #ff4757; margin-left: 2px; }
.form-control {
  width: 100%;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem;
  font-family: var(--font);
  font-size: 0.875rem;
  color: var(--text-dark);
  transition: all var(--transition);
}
.form-control:focus {
  border-color: var(--green-neon);
  box-shadow: 0 0 0 3px rgba(131,232,15,0.15);
  outline: none;
  background: #fff;
}
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-hint { font-size: 0.75rem; color: var(--text-light); }
.form-error { font-size: 0.75rem; color: #ff4757; }
.form-switch {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}
.switch-track {
  width: 44px;
  height: 24px;
  background: #d0d8d4;
  border-radius: 12px;
  position: relative;
  transition: background var(--transition);
  flex-shrink: 0;
}
.switch-thumb {
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: transform var(--transition);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
input[type="checkbox"]:checked + .switch-track { background: var(--green-neon); }
input[type="checkbox"]:checked + .switch-track .switch-thumb { transform: translateX(20px); }
input[type="checkbox"].sr-only { position: absolute; opacity: 0; width: 0; height: 0; }

/* ============================================================
   IMAGE UPLOAD
   ============================================================ */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--bg-main);
}
.upload-zone:hover,
.upload-zone.drag-over {
  border-color: var(--green-neon);
  background: rgba(131,232,15,0.03);
}
.upload-zone svg { color: var(--text-light); margin: 0 auto 0.5rem; }
.upload-zone p { color: var(--text-light); font-size: 0.875rem; }
.upload-zone span { color: var(--green-neon); font-weight: 600; }

.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}
.preview-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--border);
  background: var(--bg-main);
}
.preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.preview-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  background: rgba(255,71,87,0.9);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: background var(--transition);
}
.preview-remove:hover { background: #ff4757; }
.preview-item.main-img { border-color: var(--green-neon); }
.preview-main-badge {
  position: absolute;
  bottom: 4px;
  left: 4px;
  background: var(--green-neon);
  color: var(--bg-dark);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
  text-transform: uppercase;
}

/* ============================================================
   LOGIN PAGE
   ============================================================ */
.login-page {
  min-height: 100vh;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.login-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 30% 30%, rgba(131,232,15,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 70% 70%, rgba(0,191,172,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.login-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(131,232,15,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(131,232,15,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.login-card {
  background: rgba(13,28,24,0.9);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(131,232,15,0.1);
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.6s ease;
}
.login-logo {
  text-align: center;
  margin-bottom: 2rem;
}
.login-logo .logo { font-size: 2rem; font-weight: 800; color: var(--green-neon); justify-content: center; }
.login-logo p { color: #2a5040; font-size: 0.85rem; margin-top: 0.25rem; }
.login-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}
.login-subtitle { font-size: 0.875rem; color: #2a5040; margin-bottom: 1.75rem; }

.form-group-login { margin-bottom: 1.25rem; }
.form-label-login {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyan-light);
  margin-bottom: 0.5rem;
}
.form-input-login {
  width: 100%;
  background: rgba(131,232,15,0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-family: var(--font);
  font-size: 0.9rem;
  color: #e0e0e0;
  transition: all var(--transition);
}
.form-input-login:focus {
  border-color: var(--green-neon);
  box-shadow: 0 0 0 3px rgba(131,232,15,0.15);
  outline: none;
  background: rgba(131,232,15,0.07);
}
.form-input-login::placeholder { color: #2a5040; }
.btn-login-submit {
  width: 100%;
  background: var(--green-neon);
  color: var(--bg-dark);
  border: none;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.btn-login-submit:hover {
  background: #9af020;
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}
.login-error {
  background: rgba(255,71,87,0.1);
  border: 1px solid rgba(255,71,87,0.3);
  color: #ff7070;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ============================================================
   CHART (CSS-based)
   ============================================================ */
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 120px;
  padding: 0 0.5rem;
}
.chart-bar {
  flex: 1;
  min-width: 12px;
  background: linear-gradient(180deg, var(--green-neon), var(--cyan));
  border-radius: 4px 4px 0 0;
  transition: all 0.5s ease;
  cursor: pointer;
  position: relative;
}
.chart-bar:hover { filter: brightness(1.2); }
.chart-bar-tooltip {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-dark);
  color: var(--green-neon);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.chart-bar:hover .chart-bar-tooltip { opacity: 1; }
.chart-labels {
  display: flex;
  gap: 6px;
  padding: 4px 0.5rem 0;
}
.chart-label {
  flex: 1;
  text-align: center;
  font-size: 0.65rem;
  color: var(--text-light);
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================================
   ALERTS
   ============================================================ */
.alert {
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}
.alert svg { flex-shrink: 0; margin-top: 1px; }
.alert-success { background: rgba(131,232,15,0.1); border: 1px solid rgba(131,232,15,0.3); color: #3a7010; }
.alert-error   { background: rgba(255,71,87,0.1);  border: 1px solid rgba(255,71,87,0.3);  color: #cc2030; }
.alert-info    { background: rgba(0,191,172,0.1);  border: 1px solid rgba(0,191,172,0.3);  color: #006b60; }
.alert-warning { background: rgba(240,165,0,0.1);  border: 1px solid rgba(240,165,0,0.3);  color: #8a6000; }

/* ============================================================
   SEARCH / FILTERS
   ============================================================ */
.filter-bar {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}
.filter-search {
  display: flex;
  align-items: center;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition);
}
.filter-search:focus-within { border-color: var(--green-neon); }
.filter-search input {
  background: transparent;
  border: none;
  padding: 0.55rem 0.9rem;
  font-size: 0.875rem;
  color: var(--text-dark);
  min-width: 200px;
}
.filter-search input::placeholder { color: var(--text-light); }
.filter-search button {
  background: transparent;
  border: none;
  padding: 0.55rem 0.75rem;
  cursor: pointer;
  color: var(--text-light);
  display: flex;
  align-items: center;
  transition: color var(--transition);
}
.filter-search button:hover { color: var(--green-neon); }

select.filter-select {
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.9rem;
  font-size: 0.875rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: border-color var(--transition);
}
select.filter-select:focus { border-color: var(--green-neon); outline: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
}
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-grid.cols-3 { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .admin-content { padding: 1rem; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240,165,0,0.6); }
  50%       { box-shadow: 0 0 0 6px rgba(240,165,0,0); }
}
