/* ================================================================
   PhotoSePDF.in — VIBRANT DESIGN SYSTEM 🎨
   Bright • Colorful • Fun • Modern • Stunning
   ================================================================ */

/* ──────────────────────────────────────────────
   GOOGLE FONT IMPORT
────────────────────────────────────────────── */
/* @import removed - font loaded via <link> in HTML for speed */

/* ──────────────────────────────────────────────
   DESIGN TOKENS — LIGHT MODE
────────────────────────────────────────────── */
:root {
  /* Brand Colors */
  --primary:        #6C63FF;
  --primary-dark:   #5A52D5;
  --primary-light:  #EEF0FF;
  --secondary:      #00C896;
  --secondary-dark: #00A87E;
  --accent:         #FF6B6B;
  --accent2:        #FFD93D;
  --accent3:        #4ECDC4;
  --purple:         #A855F7;
  --pink:           #EC4899;
  --orange:         #F97316;
  --blue:           #3B82F6;

  /* Text */
  --dark:           #1A1A2E;
  --text-main:      #2D3748;
  --text-muted:     #718096;
  --text-light:     #A0AEC0;

  /* Backgrounds */
  --bg-main:        #F7F7FF;
  --bg-card:        #FFFFFF;
  --bg-soft:        #F0F0FF;

  /* Borders & Shadows */
  --border:         #E8E8F5;
  --border-strong:  rgba(108,99,255,0.3);
  --shadow-sm:      0 2px 12px rgba(108,99,255,0.08);
  --shadow-md:      0 8px 30px rgba(108,99,255,0.14);
  --shadow-lg:      0 20px 60px rgba(108,99,255,0.18);
  --shadow-card:    0 4px 24px rgba(0,0,0,0.06);

  /* Radius */
  --r-sm:   10px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-xl:   36px;
  --r-full: 999px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  /* Motion */
  --bounce:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --smooth:  cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
}

/* ──────────────────────────────────────────────
   DARK MODE — Deep Space 🌌
────────────────────────────────────────────── */
[data-theme="dark"] {
  --primary:        #8B83FF;
  --primary-dark:   #6C63FF;
  --primary-light:  rgba(139,131,255,0.12);
  --secondary:      #00E5AD;
  --accent:         #FF8080;
  --accent2:        #FFE066;
  --accent3:        #5EEAE0;
  --purple:         #C084FC;
  --pink:           #F472B6;
  --orange:         #FB923C;
  --blue:           #60A5FA;

  --dark:           #F0F0FF;
  --text-main:      #E2E2F5;
  --text-muted:     #9090B5;
  --text-light:     #6060A0;

  --bg-main:        #0D0D1A;
  --bg-card:        #15152A;
  --bg-soft:        #1A1A30;

  --border:         rgba(139,131,255,0.12);
  --border-strong:  rgba(139,131,255,0.3);
  --shadow-sm:      0 2px 12px rgba(0,0,0,0.3);
  --shadow-md:      0 8px 30px rgba(0,0,0,0.4);
  --shadow-lg:      0 20px 60px rgba(0,0,0,0.5);
  --shadow-card:    0 4px 24px rgba(0,0,0,0.3);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Background blobs removed for performance */

/* Canvas background removed for performance */

/* ──────────────────────────────────────────────
   LAYOUT
────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.hidden { display: none !important; }

/* ──────────────────────────────────────────────
   TYPOGRAPHY
────────────────────────────────────────────── */
.text-gradient {
  background: linear-gradient(135deg, #6C63FF 0%, #EC4899 50%, #00C896 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title {
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 800; color: var(--dark); margin-bottom: 14px; letter-spacing: -0.02em; }
h3 { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
p  { color: var(--text-muted); margin-bottom: 12px; }

/* ──────────────────────────────────────────────
   BADGE  ✨
────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, #EEF0FF, #FFE4F5);
  color: var(--primary);
  border: 1.5px solid rgba(108,99,255,0.25);
  padding: 8px 20px;
  border-radius: var(--r-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  box-shadow: 0 2px 16px rgba(108,99,255,0.12);
}
[data-theme="dark"] .badge {
  background: linear-gradient(135deg, rgba(139,131,255,0.15), rgba(236,72,153,0.1));
}

/* ──────────────────────────────────────────────
   🚀 NAVBAR — Glass + Colorful Accent
────────────────────────────────────────────── */
.navbar, .glass-nav {
  background: rgba(247,247,255,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}
[data-theme="dark"] .navbar, [data-theme="dark"] .glass-nav {
  background: rgba(13,13,26,0.9);
  border-bottom: 1px solid rgba(139,131,255,0.1);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 9px;
  letter-spacing: -0.02em;
}
.logo i {
  font-size: 1.7rem;
  background: linear-gradient(135deg, #6C63FF, #EC4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 8px rgba(108,99,255,0.4));
}
.logo span { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 7px 14px;
  border-radius: var(--r-full);
  transition: all 0.2s ease;
}
.nav-links a:hover {
  color: var(--primary);
  background: var(--primary-light);
}

/* Theme Toggle Button */
.theme-btn {
  width: 40px; height: 40px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: all 0.25s var(--bounce);
  flex-shrink: 0;
}
.theme-btn:hover {
  background: linear-gradient(135deg, var(--primary), var(--pink));
  color: white;
  border-color: transparent;
  transform: rotate(20deg) scale(1.1);
  box-shadow: 0 4px 16px rgba(108,99,255,0.4);
}

/* Mobile */
.mobile-menu-btn { display:none; background:none; border:none; color:var(--text-main); font-size:1.3rem; cursor:pointer; padding:8px; }
.menu-toggle-cb  { display:none; }
@media (max-width: 768px) { .nav-links { display:none; } .mobile-menu-btn { display:flex; } }

/* ──────────────────────────────────────────────
   🎯 BUTTONS — Colorful & Punchy
────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border: none;
  border-radius: var(--r-full);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.15s var(--bounce), box-shadow 0.2s ease;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity 0.2s;
  border-radius: inherit;
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, #6C63FF 0%, #EC4899 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(108,99,255,0.4);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 32px rgba(108,99,255,0.5);
}
.btn-primary:active { transform: translateY(1px) scale(0.98); }

.btn-3d {
  background: linear-gradient(135deg, #6C63FF, #8B83FF);
  color: white;
  box-shadow: 0 6px 0 #4A44B0, 0 8px 24px rgba(108,99,255,0.35);
  transition: transform 0.12s ease, box-shadow 0.12s ease !important;
}
.btn-3d:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 0 #4A44B0, 0 14px 30px rgba(108,99,255,0.45);
}
.btn-3d:active {
  transform: translateY(4px) !important;
  box-shadow: 0 2px 0 #4A44B0, 0 4px 10px rgba(108,99,255,0.2) !important;
}

.btn-outline-danger {
  background: transparent;
  border: 1.5px solid rgba(255,107,107,0.4);
  color: var(--accent);
  border-radius: var(--r-full);
}
.btn-outline-danger:hover {
  background: rgba(255,107,107,0.08);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.btn-block { width: 100%; }
.btn-large { padding: 16px 36px; font-size: 1.05rem; }
.btn-lg    { padding: 14px 30px; font-size: 0.98rem; }
.btn-sm    { padding: 8px 16px; font-size: 0.84rem; }

/* ──────────────────────────────────────────────
   💎 CARDS — Elevated White with Color Accent
────────────────────────────────────────────── */
.card-3d {
  transform-style: preserve-3d;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
}
.card-3d:hover {
  box-shadow: 0 30px 60px rgba(108,99,255,0.2) !important;
}

.glass-glow {
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.glass-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(108,99,255,0.08) 0%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 0;
}
/* Top shimmer line */
.glass-glow::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #6C63FF, #EC4899, #00C896);
  z-index: 2;
  pointer-events: none;
}

.float-depth-icon {
  transform: translateZ(40px) scale(0.95);
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
  will-change: transform;
}
.float-depth-text {
  transform: translateZ(20px);
  transition: transform 0.3s ease;
}

.premium-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--bounce), box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}
.premium-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6C63FF, #EC4899, #00C896);
  opacity: 0;
  transition: opacity 0.3s;
}
.premium-card:hover::before { opacity: 1; }
.premium-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* ──────────────────────────────────────────────
   🏠 APP CONTAINER (Main Converter Box)
────────────────────────────────────────────── */
.app-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  padding: 44px;
  margin: 0 auto;
  max-width: 920px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--bounce), box-shadow 0.3s ease;
}
/* Clean top border (static, no animation) */
.app-container::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6C63FF 0%, #EC4899 33%, #00C896 66%, #FFD93D 100%);
}
.app-container:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
[data-theme="dark"] .app-container {
  background: var(--bg-card);
  border-color: rgba(139,131,255,0.15);
}

/* ──────────────────────────────────────────────
   📂 DROPZONE — Fun & Inviting
────────────────────────────────────────────── */
.dropzone {
  border: 2.5px dashed #CBD5E1;
  border-radius: var(--r-lg);
  padding: 56px 24px;
  text-align: center;
  cursor: pointer;
  background: linear-gradient(135deg, #FAFAFF 0%, #FFF5FC 100%);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
[data-theme="dark"] .dropzone {
  background: linear-gradient(135deg, rgba(108,99,255,0.05), rgba(236,72,153,0.04));
  border-color: rgba(139,131,255,0.25);
}
.dropzone:hover {
  border-color: var(--primary);
  border-style: solid;
  background: linear-gradient(135deg, #F0F0FF 0%, #FFF0F8 100%);
  transform: scale(1.005);
  box-shadow: 0 0 0 6px rgba(108,99,255,0.08), var(--shadow-md);
}
.dropzone.dragover {
  border-color: var(--primary);
  border-style: solid;
  transform: scale(1.01);
  box-shadow: 0 0 0 10px rgba(108,99,255,0.1), var(--shadow-lg);
  background: linear-gradient(135deg, #EEEEFF 0%, #FFF0FF 100%);
}
.hidden-input { display: none; }

/* Icon Blob — Animated */
.icon-blob {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #EEF0FF, #FFE4F5);
  border: 1px solid rgba(108,99,255,0.15);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  color: var(--primary);
  font-size: 2.2rem;
  box-shadow: 0 8px 24px rgba(108,99,255,0.15);
  transition: all 0.3s ease;
}
.dropzone:hover .icon-blob {
  background: linear-gradient(135deg, var(--primary), #EC4899);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(108,99,255,0.4);
}
@keyframes icon-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.dropzone h2, .upload-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
}
.dropzone p, .upload-hint {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 22px;
}

/* Format Tags */
.format-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 700;
  margin: 3px;
  border: 1px solid rgba(108,99,255,0.15);
}

/* ──────────────────────────────────────────────
   ⚙️ SETTINGS AREA
────────────────────────────────────────────── */
.settings-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px;
}
[data-theme="dark"] .settings-card { background: rgba(139,131,255,0.05); }

.settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}
.setting-group { display: flex; flex-direction: column; gap: 7px; }
.setting-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex; align-items: center; gap: 5px;
}
.setting-group label i { color: var(--primary); }

.setting-group select,
.setting-group input[type="text"],
.setting-group input[type="number"],
.setting-group input[type="password"] {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.setting-group select:focus,
.setting-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108,99,255,0.12);
}

/* Tab Nav */
.settings-tabs {
  display: flex; gap: 6px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 14px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 8px 16px;
  border: 1.5px solid transparent;
  border-radius: var(--r-full);
  background: none;
  font-family: inherit;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  display: flex; align-items: center; gap: 6px;
  transition: all 0.2s ease;
}
.tab-btn:hover, .tab-btn.active {
  color: var(--primary);
  background: var(--primary-light);
  border-color: rgba(108,99,255,0.2);
}

/* Tab Content */
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity:0; transform: translateY(8px); } to { opacity:1; transform: translateY(0); } }

/* Tab Info Strip */
.tab-info-strip {
  background: rgba(108,99,255,0.08);
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--primary);
  display: flex; align-items: center; gap: 8px;
}
.studio-strip { background: rgba(0,200,150,0.08); border-left-color: var(--secondary); color: var(--secondary-dark); }

/* ──────────────────────────────────────────────
   📋 IMAGE LIST CARD
────────────────────────────────────────────── */
.image-list-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.card-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.card-header h3 { font-size: 0.95rem; margin:0; display:flex; align-items:center; gap:8px; }
.image-list { list-style: none; max-height: 290px; overflow-y: auto; padding: 8px; }
.image-list::-webkit-scrollbar { width: 4px; }
.image-list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.image-list::-webkit-scrollbar-thumb:hover { background: var(--primary); }

.image-list-item {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  transition: background 0.2s;
  cursor: grab;
}
.image-list-item:hover { background: var(--primary-light); }
.item-thumb { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; border: 1px solid var(--border); flex-shrink: 0; }
.item-info  { flex:1; min-width:0; }
.item-name  { font-size: 0.86rem; font-weight: 600; color: var(--dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item-size  { font-size: 0.76rem; color: var(--text-muted); }
.item-drag-handle { color: var(--text-light); cursor: grab; padding: 4px; font-size: 1rem; }
.item-remove-btn { background: none; border: none; color: var(--text-light); cursor: pointer; padding: 6px; border-radius: 50%; transition: all 0.2s; font-size: 0.88rem; }
.item-remove-btn:hover { background: rgba(255,107,107,0.1); color: var(--accent); }

/* ──────────────────────────────────────────────
   🎯 CONTROLS & ACTIONS
────────────────────────────────────────────── */
.controls-panel {
  display: flex; flex-direction: column; gap: 18px;
  margin-top: 22px;
  animation: slideUp 0.35s var(--bounce);
}
@keyframes slideUp { from { opacity:0; transform: translateY(18px); } to { opacity:1; transform: translateY(0); } }

.actions { display: flex; flex-direction: column; gap: 10px; }

/* ──────────────────────────────────────────────
   📊 STATS BAR
────────────────────────────────────────────── */
.stats-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.stat-item {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 32px;
  flex: 1;
  min-width: 160px;
  justify-content: center;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--border);
}
.stat-item i {
  font-size: 1.4rem;
  background: linear-gradient(135deg, var(--primary), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-num {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
  display: block;
}
.stat-item > span:last-child {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}
.stat-divider { display: none; }

/* ──────────────────────────────────────────────
   ⚡ QUICK TOOL PILLS
────────────────────────────────────────────── */
.quick-tools-scroll-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.quick-tools-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  display: flex; align-items: center; gap: 5px;
}
.quick-tools-wrapper {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.quick-tool-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-main);
  transition: all 0.2s var(--bounce);
  box-shadow: var(--shadow-sm);
}
.quick-tool-pill:hover, .quick-tool-pill.active {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.pill-icon {
  width: 26px; height: 26px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ──────────────────────────────────────────────
   🔐 PRIVACY BANNER
────────────────────────────────────────────── */
.privacy-assurance-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(0,200,150,0.08), rgba(0,200,150,0.04));
  border: 1.5px dashed rgba(0,200,150,0.4);
  border-radius: var(--r-full);
  padding: 9px 20px;
  font-size: 0.87rem;
  font-weight: 600;
  color: #00A87E;
  margin-top: 16px;
}
[data-theme="dark"] .privacy-assurance-banner { color: var(--secondary); }

/* Trust badges inline */
.trust-badges-hero {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 8px;
}
.t-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
}
.t-badge i { color: var(--primary); }

/* ──────────────────────────────────────────────
   🔧 TOOL CARDS (Home + Tools page)
────────────────────────────────────────────── */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
}

.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px 18px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: all 0.25s var(--bounce);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.tool-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--pink));
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}
.tool-card:hover::before { transform: scaleX(1); }
.tool-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(108,99,255,0.18);
  border-color: rgba(108,99,255,0.2);
  text-decoration: none;
  color: inherit;
}
.tool-card .icon-wrapper {
  width: 58px; height: 58px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s var(--bounce);
  flex-shrink: 0;
}
.tool-card:hover .icon-wrapper { transform: scale(1.15) rotate(-5deg); }
.tool-card-title { font-size: 0.9rem; font-weight: 700; color: var(--dark); line-height: 1.3; }
.tool-card-desc  { font-size: 0.77rem; color: var(--text-muted); margin: 0; }

/* Category header */
.category-header {
  display: flex; align-items: center; gap: 14px;
  margin: 44px 0 20px;
}
.category-header h2 { font-size: 1.3rem; font-weight: 800; margin: 0; }
.category-header::before, .category-header::after {
  content: ''; flex: 1; height: 1.5px;
  background: linear-gradient(90deg, var(--primary), transparent);
  opacity: 0.2;
}
.category-header::after { background: linear-gradient(-90deg, var(--primary), transparent); }

/* ──────────────────────────────────────────────
   📄 ARTICLE / INFO PAGES
────────────────────────────────────────────── */
.article-hero {
  padding: 110px 0 60px;
  text-align: center;
  background: linear-gradient(180deg, var(--primary-light) 0%, transparent 100%);
  position: relative;
}
.article-hero h1 {
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.seo-content-section { padding: 50px 0; }
.seo-content-section h2 { color: var(--dark); margin-bottom: 16px; }
.seo-content-section h3 { color: var(--primary); margin: 24px 0 10px; }
.seo-content-section p  { color: var(--text-muted); line-height: 1.8; }
.seo-content-section ul, .seo-content-section ol { padding-left: 22px; color: var(--text-muted); margin-bottom: 14px; }
.seo-content-section li { margin-bottom: 7px; line-height: 1.7; }

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px 22px;
  margin-bottom: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item:hover { border-color: rgba(108,99,255,0.3); box-shadow: var(--shadow-sm); }
.faq-item h4 { color: var(--primary); font-size: 0.98rem; margin-bottom: 8px; }
.faq-item p  { color: var(--text-muted); margin: 0; font-size: 0.9rem; }

/* ──────────────────────────────────────────────
   🔄 LOADER / OVERLAY
────────────────────────────────────────────── */
.loading-overlay {
  position: fixed; inset: 0;
  background: rgba(10, 10, 30, 0.65);
  backdrop-filter: blur(12px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 18px;
  z-index: 9999;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.loading-overlay.active { opacity: 1; pointer-events: all; }
.loading-overlay h3 { color: white; font-size: 1rem; font-weight: 600; opacity: 0.9; }

/* Colorful spinner */
.spinner {
  width: 50px; height: 50px;
  position: relative;
}
.spinner::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 4px solid transparent;
  border-top-color: #6C63FF;
  border-right-color: #EC4899;
  animation: spin 0.9s linear infinite;
}
.spinner::after {
  content: '';
  position: absolute; inset: 8px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-bottom-color: #00C896;
  border-left-color: #FFD93D;
  animation: spin 0.6s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }

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

/* Global Progress Overlay */
.global-progress-overlay {
  position: fixed; inset: 0;
  background: rgba(10,10,30,0.7);
  backdrop-filter: blur(10px);
  z-index: 9990;
  display: flex; align-items: center; justify-content: center;
}
.global-progress-overlay.hidden { display: none; }
.progress-card {
  width: 320px;
  text-align: center;
  display: flex; flex-direction: column; gap: 16px;
  align-items: center;
}
.progress-card h3 { color: var(--dark); font-size: 1rem; }
.progress-bar-bg {
  width: 100%;
  background: var(--border);
  border-radius: var(--r-full);
  height: 8px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #6C63FF, #EC4899, #00C896);
  background-size: 200% 100%;
  width: 0%;
  border-radius: var(--r-full);
  transition: width 0.2s ease;
  animation: shimmer 1.5s linear infinite;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.progress-hint { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

/* Bar Container (used in tool pages) */
.bar-container {
  background: var(--border);
  border-radius: var(--r-full);
  height: 10px;
  overflow: hidden;
}
.bar-fill {
  background: linear-gradient(90deg, #6C63FF, #EC4899, #00C896);
  background-size: 200% 100%;
  height: 100%;
  width: 0%;
  border-radius: var(--r-full);
  transition: width 0.15s ease;
  animation: shimmer 2s linear infinite;
}

/* Progress Box */
.progress-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  text-align: center;
  margin-top: 28px;
  box-shadow: var(--shadow-sm);
}

/* ──────────────────────────────────────────────
   🌟 FEATURES GRID
────────────────────────────────────────────── */
.pro-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 48px;
}
.pro-features-grid .premium-card {
  text-align: center; padding: 26px 20px;
}
.pro-features-grid .premium-card h3 {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 0.98rem;
}
.pro-features-grid .premium-card h3 i { color: var(--primary); }
.pro-features-grid .premium-card p { font-size: 0.88rem; margin: 0; }

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 18px;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s var(--bounce);
}
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step-number {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--pink));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 900; font-size: 1rem;
  margin: 0 auto 16px;
  box-shadow: 0 4px 14px rgba(108,99,255,0.3);
}
.step-card h3 { font-size: 0.96rem; margin-bottom: 6px; }
.step-card p  { font-size: 0.84rem; margin: 0; }

/* ──────────────────────────────────────────────
   🌟 TESTIMONIALS
────────────────────────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s var(--bounce);
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review-stars { display:flex; gap:3px; color:#FFD93D; font-size:0.9rem; margin-bottom:12px; }
.review-text  { font-size: 0.88rem; color: var(--text-muted); line-height:1.7; margin-bottom:16px; font-style:italic; }
.reviewer     { display:flex; align-items:center; gap:10px; }
.reviewer-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--pink));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 800; font-size: 0.88rem;
}
.reviewer-name { font-size: 0.88rem; font-weight: 700; color: var(--dark); }
.reviewer-role { font-size: 0.76rem; color: var(--text-muted); }

/* ──────────────────────────────────────────────
   🦶 FOOTER — Dark & Clean
────────────────────────────────────────────── */
footer, .premium-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 40px 0 28px;
  margin-top: 80px;
  position: relative;
}
footer::before, .premium-footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #6C63FF, #EC4899, #00C896, #FFD93D);
  background-size: 200% 100%;
  animation: rainbow-slide 4s linear infinite;
}
footer p, .premium-footer p { color: rgba(255,255,255,0.5); font-size: 0.88rem; margin: 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 24px;
  margin-bottom: 28px;
}
.footer-brand { font-size: 1.1rem; font-weight: 800; color: white; display:flex; align-items:center; gap:8px; flex-direction: column; align-items: flex-start; }
.footer-brand i { color: var(--primary); }
.footer-brand p { font-size: 0.83rem; color: rgba(255,255,255,0.4); margin-top: 4px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.45); text-decoration: none; font-size: 0.86rem; font-weight: 500; transition: color 0.2s; }
.footer-links a:hover { color: #8B83FF; }
.copyright {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.83rem;
  color: rgba(255,255,255,0.3) !important;
}

/* ──────────────────────────────────────────────
   📱 RESPONSIVE
────────────────────────────────────────────── */
@media (max-width: 900px) {
  .app-container { padding: 28px 20px; }
}
@media (max-width: 600px) {
  .hero-title { font-size: 1.95rem; }
  .app-container { padding: 22px 16px; border-radius: var(--r-lg); }
  .dropzone { padding: 40px 14px; }
  .stat-item { padding: 14px 20px; min-width: 120px; }
  .stat-num  { font-size: 1.1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .pro-features-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .tools-grid { grid-template-columns: repeat(2,1fr); }
  .settings-grid { grid-template-columns: 1fr; }
  .btn-large { padding: 13px 22px; }
  .privacy-assurance-banner { font-size: 0.8rem; padding: 8px 14px; }
}
@media (max-width: 380px) {
  .pro-features-grid, .steps-grid { grid-template-columns: 1fr; }
}

/* ──────────────────────────────────────────────
   ✨ ANIMATIONS
────────────────────────────────────────────── */
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.7; } }
.fade-up { animation: fadeUp 0.6s var(--bounce) both; }
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
@keyframes fadeUp { from { opacity:0; transform: translateY(24px); } to { opacity:1; transform: translateY(0); } }

.visible { /* Keep class, animation handles itself */ }

/* ──────────────────────────────────────────────
   🔧 MISC / UTILITY
────────────────────────────────────────────── */
::selection { background: rgba(108,99,255,0.2); color: var(--dark); }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-main); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* Comparison table */
.comparison-table { width:100%; border-collapse:collapse; border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--shadow-md); margin:24px 0; }
.comparison-table th { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color:white; padding:14px 18px; font-size:0.88rem; text-align:left; }
.comparison-table td { padding:12px 18px; border-bottom:1px solid var(--border); font-size:0.88rem; background:var(--bg-card); }
.comparison-table tr:last-child td { border-bottom:none; }
.comparison-table tr:hover td { background: var(--primary-light); }
.check-yes { color: var(--secondary); font-weight:700; }
.check-no  { color: var(--accent);    font-weight:700; }

/* Camera preview */
.camera-preview { width:100%; max-width:480px; aspect-ratio:4/3; border-radius:var(--r-md); overflow:hidden; background:var(--dark); margin:0 auto; position:relative; }
.camera-preview video, .camera-preview canvas { width:100%; height:100%; object-fit:cover; display:block; }

/* Signature canvas */
.signature-canvas-wrapper { border:2px dashed var(--border); border-radius:var(--r-md); overflow:hidden; background:white; transition:border-color 0.2s; }
.signature-canvas-wrapper:hover { border-color: var(--primary); }

/* OCR output */
.ocr-output { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--r-md); padding:18px; font-family:monospace; font-size:0.88rem; line-height:1.7; color:var(--text-main); min-height:140px; white-space:pre-wrap; word-break:break-word; }

/* Section header */
.section-header { text-align:center; margin-bottom:44px; }
.section-header p { font-size:1rem; max-width:520px; margin:0 auto; line-height:1.7; }


/* ================================================================
   PREMIUM SUBPAGE TOOL WIDGET STYLES 🛠️
   ================================================================ */

.preset-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.preset-pill {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 6px 12px;
  border-radius: var(--r-full);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.preset-pill:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.preset-pill.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.step-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  border-bottom: 1.5px solid var(--border);
  padding-bottom: 8px;
}

.step-badge {
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--r-sm);
  text-transform: uppercase;
}

.step-title-text {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--dark);
  margin: 0;
}

.tool-btn-group {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.tool-control-btn {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tool-control-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

.stats-badge-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 15px 0;
}

.stats-badge-item {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 10px;
  text-align: center;
}

.stats-badge-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.stats-badge-val {
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark);
}

.stats-saving-green {
  color: var(--secondary) !important;
}

/* Custom Styled Range Slider */
input[type="range"].custom-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border);
  outline: none;
  cursor: pointer;
}

input[type="range"].custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid white;
  box-shadow: 0 2px 6px rgba(108,99,255,0.4);
  transition: transform 0.1s;
}

input[type="range"].custom-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Tool dropzone visual state updates */
.tool-dropzone-active {
  border-color: var(--secondary) !important;
  background: rgba(0, 200, 150, 0.04) !important;
}

.file-loaded-badge {
  background: rgba(0, 200, 150, 0.08);
  border: 1px solid rgba(0, 200, 150, 0.25);
  color: var(--secondary-dark);
  padding: 12px;
  border-radius: var(--r-md);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

.file-loaded-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.file-loaded-info i {
  font-size: 1.3rem;
  color: var(--secondary);
}

.file-loaded-name {
  font-weight: 700;
  font-size: 0.88rem;
  word-break: break-all;
}

.file-loaded-size {
  font-size: 0.75rem;
  color: var(--text-muted);
}


/* ── Social Share Floating Bar ─────────────────────── */
.share-bar{position:fixed;right:16px;bottom:90px;display:flex;flex-direction:column;gap:10px;z-index:999;opacity:0;transform:translateX(80px);transition:all 0.4s ease;}
.share-bar.visible{opacity:1;transform:translateX(0);}
.share-btn{width:46px;height:46px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.2rem;text-decoration:none;box-shadow:0 4px 15px rgba(0,0,0,0.2);transition:all 0.3s ease;border:none;cursor:pointer;}
.share-btn:hover{transform:scale(1.15);box-shadow:0 6px 20px rgba(0,0,0,0.3);}
.share-btn.wa{background:linear-gradient(135deg,#25D366,#128C7E);}
.share-btn.tg{background:linear-gradient(135deg,#2AABEE,#229ED9);}
.share-btn.fb{background:linear-gradient(135deg,#1877F2,#0C5DC7);}
.share-btn.tw{background:linear-gradient(135deg,#1DA1F2,#0C85D0);}
.share-btn.cp{background:linear-gradient(135deg,var(--primary,#6366F1),#8B5CF6);}
.share-btn.cp.copied{background:linear-gradient(135deg,#10B981,#059669);}
.share-label{position:absolute;right:56px;background:var(--bg-card,#1E293B);color:var(--text-main,#E2E8F0);padding:5px 12px;border-radius:8px;font-size:0.75rem;font-weight:600;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity 0.2s;box-shadow:0 2px 8px rgba(0,0,0,0.2);}
.share-btn:hover .share-label{opacity:1;}
@media(max-width:768px){.share-bar{right:10px;bottom:75px;gap:8px;}.share-btn{width:42px;height:42px;font-size:1.1rem;}}

/* ================================================================
    GOOGLE ADSENSE PLACEHOLDER & CLS PREVENTION STYLES
   ================================================================ */
.ad-container-top {
    min-height: 90px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    border: 1px dashed rgba(0, 0, 0, 0.05);
    margin: 15px auto;
    max-width: 1200px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ad-container-top::before {
    content: "Advertisement";
    font-size: 0.72rem;
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    opacity: 0.6;
}
.ad-container-mid {
    min-height: 280px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 12px;
    border: 1px dashed rgba(0, 0, 0, 0.05);
    margin: 20px auto;
    max-width: 900px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ad-container-mid::before {
    content: "Advertisement";
    font-size: 0.72rem;
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    opacity: 0.6;
}
.ad-container-sidebar {
    min-height: 600px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 12px;
    border: 1px dashed rgba(0, 0, 0, 0.05);
    margin: 15px auto;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ad-container-sidebar::before {
    content: "Advertisement";
    font-size: 0.72rem;
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    opacity: 0.6;
}
[data-theme="dark"] .ad-container-top,
[data-theme="dark"] .ad-container-mid,
[data-theme="dark"] .ad-container-sidebar {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
}

/* ================================================================
   🖨️ PRINT STYLES - CYBER CAFE PRINT STUDIO
   ================================================================ */
@media print {
  /* Hide every single element on the page */
  body * {
    visibility: hidden !important;
  }
  
  /* Show only the modal backdrop grid and the A4 sheet container */
  #print-studio-modal,
  #print-studio-modal *,
  #studio-a4-sheet,
  #studio-a4-sheet * {
    visibility: visible !important;
  }
  
  /* Reset the modal layout to print full size */
  #print-studio-modal {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: auto !important;
    background: white !important;
    backdrop-filter: none !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    display: block !important;
  }
  
  /* Completely hide the configuration sidebar during printing */
  #studio-sidebar {
    display: none !important;
  }
  
  /* Position the A4 print sheet precisely at 0,0 in full layout scale */
  #studio-a4-sheet {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 210mm !important;
    height: 297mm !important;
    margin: 0 !important;
    padding: 8mm !important;
    border: none !important;
    box-shadow: none !important;
    background: white !important;
    page-break-after: avoid;
    page-break-before: avoid;
  }
  
  /* Hide user interface items like action buttons and layout descriptions */
  button, 
  .studio-control-group, 
  h3, 
  #studio-title {
    display: none !important;
  }
  
  /* Force print background graphics (cut marks, borders, name strips) */
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
}
