@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@1,600;1,700;1,800;1,900&display=swap');

:root {
  --bg-dark: #090d16;
  --bg-card: rgba(20, 28, 45, 0.65);
  --bg-card-hover: rgba(30, 42, 68, 0.8);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-glow: rgba(99, 102, 241, 0.4);
  
  --primary: #6366f1;
  --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --radius-xl: 20px;
  --radius-lg: 14px;
  --radius-md: 10px;

  --shadow-glow: 0 10px 40px -10px rgba(99, 102, 241, 0.35);
  --backdrop: blur(16px) saturate(180%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(99, 102, 241, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(217, 70, 239, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.08) 0%, transparent 60%);
  background-attachment: fixed;
}

h1, h2, h3, h4, .brand-title {
  font-family: 'Outfit', sans-serif;
}

/* detik kita Logo Typography */
.logo-detikkita {
  font-family: 'Playfair Display', 'Didot', 'Bodoni MT', Georgia, serif;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(255, 255, 255, 0.2);
  display: inline-block;
  user-select: none;
}

.auth-brand-wrapper {
  margin-bottom: 0.8rem;
}

.auth-brand-wrapper .logo-detikkita {
  font-size: 2.75rem;
  letter-spacing: -1px;
}

.nav-logo {
  font-size: 1.85rem;
  letter-spacing: -0.5px;
  transition: transform 0.2s ease;
}

.nav-logo:hover {
  transform: scale(1.02);
}

/* Glass Card Utility */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: var(--backdrop);
  -webkit-backdrop-filter: var(--backdrop);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* App Container */
#app-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2.5rem;
  background: rgba(9, 13, 22, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-glow);
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.user-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.4rem 0.9rem;
  border-radius: 30px;
  border: 1px solid var(--border-glass);
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.user-name {
  font-size: 0.9rem;
  font-weight: 600;
}

.btn-logout {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-logout:hover {
  background: rgba(239, 68, 68, 0.3);
  border-color: rgba(239, 68, 68, 0.6);
  transform: translateY(-1px);
}

/* Login Overlay Screen */
.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  padding: 2.5rem;
  text-align: center;
  animation: fadeIn 0.4s ease-out;
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 1.25rem 0;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-divider:not(:empty)::before {
  margin-right: 0.8em;
}

.auth-divider:not(:empty)::after {
  margin-left: 0.8em;
}

.auth-logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.2rem;
  border-radius: 18px;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: var(--shadow-glow);
}

.auth-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.auth-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.8rem;
}

.demo-credentials-box {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: #a5b4fc;
  margin-bottom: 1.5rem;
  text-align: left;
}

.demo-credentials-box code {
  background: rgba(0, 0, 0, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
  color: #fff;
  font-family: monospace;
}

.form-group {
  margin-bottom: 1.2rem;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.btn-primary {
  width: 100%;
  padding: 0.9rem;
  background: var(--primary-gradient);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* Dashboard Layout */
.dashboard {
  max-width: 1320px;
  margin: 2rem auto;
  padding: 0 1.5rem;
  width: 100%;
  flex: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.stat-card {
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Upload Panel */
.upload-section {
  padding: 2rem;
  margin-bottom: 2.5rem;
}

.section-header {
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.dropzone {
  border: 2px dashed var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.dropzone:hover, .dropzone.dragover {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.08);
  box-shadow: inset 0 0 30px rgba(99, 102, 241, 0.15);
}

.dropzone-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.dropzone:hover .dropzone-icon {
  transform: translateY(-6px) scale(1.05);
}

.dropzone-text {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.dropzone-subtext {
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Settings Bar */
.settings-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-glass);
}

.threshold-control {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  max-width: 400px;
}

.threshold-slider {
  flex: 1;
  accent-color: var(--primary);
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.threshold-badge {
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid var(--border-glow);
}

/* Results Section */
.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.results-grid-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 2rem;
}

@media (max-width: 960px) {
  .results-grid-layout {
    grid-template-columns: 1fr;
  }
}

.query-preview-card {
  padding: 1.5rem;
  text-align: center;
}

.query-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  background: #000;
  margin-bottom: 1rem;
}

.query-img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.faces-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Matches Gallery Grid */
.matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
}

.match-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.match-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), var(--shadow-glow);
}

.match-img-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #090d16;
}

.match-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.match-card:hover .match-img-wrapper img {
  transform: scale(1.08);
}

.similarity-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #38bdf8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.similarity-badge.high-match {
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.4);
}

.match-details {
  padding: 1rem;
}

.match-filename {
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.5rem;
}

.face-tag {
  display: inline-block;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(99, 102, 241, 0.2);
  color: #c7d2fe;
  font-weight: 600;
}

/* Empty State */
.empty-state {
  padding: 4rem 2rem;
  text-align: center;
  color: var(--text-muted);
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.6;
}

/* Action Toolbar */
.action-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 0.8rem 1.2rem;
  margin-bottom: 1.5rem;
}

.btn-action {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.btn-action:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

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

.btn-action-primary {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--border-glow);
  color: #a5b4fc;
}

.btn-action-primary:hover:not(:disabled) {
  background: rgba(99, 102, 241, 0.4);
  color: #fff;
}

.btn-action-success {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}

.btn-action-success:hover:not(:disabled) {
  background: rgba(16, 185, 129, 0.4);
  color: #fff;
}

/* Match Card Selection State */
.match-card {
  cursor: pointer;
  user-select: none;
}

.match-card.selected {
  border-color: #6366f1 !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.4), var(--shadow-glow);
}

.card-select-checkbox {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(9, 13, 22, 0.85);
  border: 2px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s ease;
}

.match-card.selected .card-select-checkbox {
  background: var(--primary);
  border-color: var(--primary);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  .navbar {
    padding: 1rem 1.2rem;
  }
  .brand-name {
    font-size: 1.2rem;
  }
  .dashboard {
    padding: 0 1rem;
    margin: 1rem auto;
  }
  .upload-section {
    padding: 1.2rem;
  }
  .dropzone {
    padding: 2rem 1rem;
  }
  .dropzone-icon {
    font-size: 2.8rem;
  }
  .settings-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .threshold-control {
    max-width: 100%;
  }
  .btn-primary {
    width: 100% !important;
  }
  .action-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
  }
  .action-toolbar > div {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
  }
  .btn-action {
    justify-content: center;
    width: 100%;
  }
  .results-grid-layout {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   ADMIN PANEL TABS & QR CODE GENERATOR STUDIO
   ========================================================= */
.admin-tab-nav {
  display: flex;
  background: rgba(15, 23, 42, 0.6);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  gap: 4px;
}

.admin-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.admin-tab-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.admin-tab-btn.active {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.25) 0%, rgba(202, 138, 4, 0.35) 100%);
  color: #fef08a;
  border: 1px solid rgba(234, 179, 8, 0.4);
}

.qr-studio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .qr-studio-grid {
    grid-template-columns: 1fr;
  }
}

.qr-config-card {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.qr-theme-picker {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

.qr-theme-chip {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.qr-theme-chip::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--chip-color);
  box-shadow: 0 0 8px var(--chip-color);
}

.qr-theme-chip:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(51, 65, 85, 0.7);
}

.qr-theme-chip.active {
  border-color: #facc15;
  background: rgba(234, 179, 8, 0.15);
  color: #fef08a;
}

.qr-preview-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr-preview-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* =========================================================
   ELEGANT EVENT SIGNAGE STAND CARD
   ========================================================= */
.event-signage-card {
  width: 100%;
  max-width: 360px;
  background: #ffffff;
  color: #0f172a;
  border-radius: 18px;
  padding: 2rem 1.6rem;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-signage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
}

.signage-badge {
  display: inline-block;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.25rem 0.6rem;
  border-radius: 12px;
  margin-bottom: 0.5rem;
}

.signage-brand {
  color: #0f172a !important;
  font-size: 2.2rem !important;
  line-height: 1.1;
  text-shadow: none !important;
  margin-bottom: 0.4rem;
}

.signage-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.signage-subtitle {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.35;
  margin-bottom: 1.25rem;
  padding: 0 0.5rem;
}

.signage-qr-frame {
  background: #ffffff;
  padding: 0.8rem;
  border-radius: 14px;
  border: 2px dashed #cbd5e1;
  display: inline-block;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

#qrcode-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 170px;
  height: 170px;
  margin: 0 auto;
}

#qrcode-container canvas {
  display: none !important;
}

#qrcode-container img {
  display: block !important;
  width: 170px !important;
  height: 170px !important;
  margin: 0 auto !important;
  border-radius: 6px;
}

#qrcode-container img,
#qrcode-container canvas {
  display: block;
  margin: 0 auto;
  border-radius: 6px;
}

.signage-steps {
  background: #f8fafc;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  text-align: left;
  border: 1px solid #e2e8f0;
}

.signage-step {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: #334155;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.signage-step:last-child {
  margin-bottom: 0;
}

.step-num {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #6366f1;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.signage-footer {
  border-top: 1px solid #f1f5f9;
  padding-top: 0.75rem;
}

.signage-url-text {
  font-family: monospace;
  font-size: 0.78rem;
  color: #4f46e5;
  font-weight: 600;
  word-break: break-all;
  margin-bottom: 0.25rem;
}

.signage-powered {
  font-size: 0.65rem;
  color: #94a3b8;
  font-weight: 500;
}

/* =========================================================
   PRINT MEDIA STYLING (PERFECT 5x7" / A5 EVENT SIGNAGE)
   ========================================================= */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
    background-image: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .navbar,
  .auth-overlay,
  .stats-grid,
  .upload-section:not(#admin-panel),
  .results-section,
  .admin-tab-nav,
  .qr-config-card,
  .section-header,
  .qr-preview-label,
  #admin-view-gallery {
    display: none !important;
  }

  #admin-panel {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  #admin-view-qr {
    display: block !important;
  }

  .qr-studio-grid {
    display: block !important;
  }

  .qr-preview-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 100vh !important;
  }

  .event-signage-card {
    max-width: 480px !important;
    width: 100% !important;
    box-shadow: none !important;
    border: 2px solid #0f172a !important;
    padding: 2.5rem !important;
    page-break-inside: avoid !important;
  }
}
