/* ==========================================================================
   ZIM PHOTO PICKER - PREMIUM PHOTOGRAPHY-FIRST STYLING SYSTEM
   Redesigned in 2026 for luxury, minimalism, and ultra-smooth animations.
   ========================================================================== */

/* Typography & Root Variables */
:root {
  --bg-pure: #0B0B0C;
  --bg-card: #151518;
  --text-primary: #ffffff;
  --text-secondary: #a2a2a7;
  --text-muted: #636366;
  
  /* Accent Color: White (Primary) / Soft Blue (Secondary) */
  --accent-primary: #ffffff;
  --accent-secondary: #007AFF;
  --accent-secondary-glow: rgba(0, 122, 255, 0.25);
  
  /* System colors */
  --color-danger: #ff453a;
  --color-success: #30d158;
  --color-border: rgba(255, 255, 255, 0.06);
  --color-border-glow: rgba(0, 122, 255, 0.45);
  
  /* Timings matching standard motion rules */
  --ease-spring: cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: 0.15s var(--ease-spring);
  --transition-normal: 0.22s var(--ease-spring);
  --transition-slow: 0.35s var(--ease-spring);
  
  /* Fonts */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  
  /* Rounded Corners */
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

/* Base Styles & Core Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--bg-pure);
  color: var(--text-primary);
  font-family: var(--font-body);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg-pure);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

button, input, textarea {
  font-family: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Subtle texture/noise overlay */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.02;
  z-index: 999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Floating ambient glow flares */
.bg-orb {
  position: fixed;
  filter: blur(120px);
  z-index: -2;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.08;
  animation: orbDrift 24s infinite alternate ease-in-out;
}

.orb-a {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%);
  left: -100px;
  top: 15%;
}

.orb-b {
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, #ffffff 0%, transparent 80%);
  right: -150px;
  bottom: 15%;
  opacity: 0.04;
  animation-delay: -6s;
  animation-duration: 30s;
}

@keyframes orbDrift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(40px, 30px) scale(1.05);
  }
}

/* Glassmorphism Styles */
.glass {
  background: rgba(21, 21, 24, 0.7);
  backdrop-filter: blur(24px) saturate(120%);
  -webkit-backdrop-filter: blur(24px) saturate(120%);
  border: 1px solid var(--color-border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.glass:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 20px;
  z-index: 100;
  width: min(1200px, calc(100% - 32px));
  height: 76px;
  margin: 20px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  background: rgba(11, 11, 12, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.brand img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 8px;
}

.brand span {
  font-size: 15px;
  font-weight: 500;
}

nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
}

nav a {
  padding: 6px 14px;
  border-radius: 100px;
  color: var(--text-secondary);
  transition: color var(--transition-fast), background var(--transition-fast);
}

nav a:hover, nav a.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border-radius: 100px;
  background: var(--text-primary);
  color: var(--bg-pure);
  font-size: 13px;
  font-weight: 500;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.login:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.login.muted {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--color-border);
}

.login.muted:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

/* UI Badges & Metadata */
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.soft-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.02);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
}

.soft-pill span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 8px var(--color-success);
}

.step-badge {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 12px;
}

/* Layout Core Elements */
main {
  position: relative;
  z-index: 10;
  min-height: calc(100vh - 200px);
}

footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
  padding: 40px 0;
  border-top: 1px solid var(--color-border);
  width: min(1200px, calc(100% - 32px));
  margin: 80px auto 0;
}

/* Typographic Headings & Paragraphs */
h1 {
  font-family: var(--font-heading);
  font-size: clamp(34px, 4.5vw, 64px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2 {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 400;
  line-height: 1.25;
}

h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
}

p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.lead {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 640px;
}

.muted {
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  min-height: 48px;
  border: none;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: transform var(--transition-fast), opacity var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  background: linear-gradient(135deg, #007AFF 0%, #0056B3 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 122, 255, 0.3);
  font-weight: 600;
}

.btn.primary:hover {
  opacity: 0.95;
  box-shadow: 0 8px 28px rgba(0, 122, 255, 0.45);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

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

.btn.ghost {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  color: var(--text-primary);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.btn.danger {
  background: rgba(255, 69, 58, 0.08);
  border: 1px solid rgba(255, 69, 58, 0.18);
  color: #ff9f9f;
}

.btn.danger:hover {
  background: rgba(255, 69, 58, 0.14);
  border-color: rgba(255, 69, 58, 0.3);
}

.btn.wide {
  width: 100%;
}

.btn.small {
  min-height: 36px;
  padding: 6px 14px;
  font-size: 12px;
}

.btn.disabled {
  opacity: 0.25;
  pointer-events: none;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* Inputs & Form Controls */
label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 18px 0 6px;
}

input, textarea {
  width: 100%;
  min-height: 50px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 14px;
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

input:focus, textarea:focus {
  border-color: var(--accent-secondary);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 0 1px var(--accent-secondary-glow);
}

/* Form Success & Error Alerts */
.alert, .success {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin: 18px 0;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert {
  background: rgba(255, 69, 58, 0.06);
  border: 1px solid rgba(255, 69, 58, 0.18);
  color: #ff9f9f;
}

.success {
  background: rgba(48, 209, 88, 0.06);
  border: 1px solid rgba(48, 209, 88, 0.18);
  color: #a3f2b5;
}

/* Page: Index Welcome & Auth Chooser */
.landing-page {
  position: relative;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 80px 0 120px;
  text-align: center;
  overflow: visible;
  z-index: 1;
}

.landing-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: visible;
}

.landing-glow-1 {
  position: absolute;
  top: -10%;
  left: 25%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 122, 255, 0.08) 0%, transparent 70%);
  filter: blur(60px);
}

.landing-glow-2 {
  position: absolute;
  top: 40%;
  right: 15%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  filter: blur(50px);
}

.landing-hero {
  max-width: 800px;
  margin: 0 auto 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 24px;
  animation: heroFadeIn 0.8s ease both;
}

.badge-icon {
  color: var(--accent-secondary);
  text-shadow: 0 0 8px rgba(0, 122, 255, 0.5);
}

.landing-hero h1 {
  font-size: clamp(36px, 5.5vw, 56px);
  line-height: 1.15;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  animation: heroFadeIn 0.8s ease 0.1s both;
}

.landing-hero .lead {
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 36px;
  animation: heroFadeIn 0.8s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 20px;
  animation: heroFadeIn 0.8s ease 0.3s both;
}

.btn-glow {
  box-shadow: 0 0 20px rgba(0, 122, 255, 0.2);
}

.btn-glow:hover {
  box-shadow: 0 0 30px rgba(0, 122, 255, 0.35);
}

.hero-hint {
  font-size: 12px;
  color: var(--text-muted);
  animation: heroFadeIn 0.8s ease 0.4s both;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Showcase Device Mockup */
.showcase-container {
  max-width: 960px;
  margin: 0 auto 80px;
  position: relative;
  animation: heroFadeIn 1s ease 0.4s both;
}

.showcase-mockup {
  border-radius: 16px;
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7);
  background: rgba(11, 11, 12, 0.4);
}

.mockup-header {
  height: 40px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
}

.mockup-header .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.mockup-title {
  font-size: 11px;
  color: var(--text-muted);
  margin-left: 12px;
  font-family: monospace;
}

.mockup-body {
  position: relative;
  aspect-ratio: 16 / 9.5;
  background: #000;
  overflow: hidden;
}

.mockup-body img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

/* Floating HUD Badges */
.hud-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: rgba(21, 21, 24, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  text-align: left;
  animation: hudFloat 6s infinite ease-in-out;
}

.hud-1 {
  top: 20%;
  left: 5%;
}

.hud-2 {
  bottom: 15%;
  right: 5%;
  animation-delay: -3s;
}

.hud-3 {
  top: 10%;
  right: 8%;
  animation-delay: -1.5s;
}

@keyframes hudFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hud-icon {
  font-size: 20px;
  color: var(--accent-secondary);
}

.hud-dot {
  width: 10px;
  height: 10px;
  background: #30d158;
  border-radius: 50%;
  box-shadow: 0 0 10px #30d158;
  position: relative;
}

.hud-text {
  display: flex;
  flex-direction: column;
}

.hud-text b {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.hud-text span {
  font-size: 11px;
  color: var(--text-muted);
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: left;
  border: 1px solid var(--color-border);
  background: var(--bg-card);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}


/* Page: Auth Cards (Login/Register) */
.auth-page {
  position: relative;
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  overflow: hidden;
  z-index: 1;
}

.auth-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.auth-glow-1 {
  position: absolute;
  top: 20%;
  left: 15%;
  width: min(400px, 80vw);
  height: min(400px, 80vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 122, 255, 0.12) 0%, transparent 70%);
  filter: blur(40px);
  animation: glowFloat 12s infinite alternate ease-in-out;
}

.auth-glow-2 {
  position: absolute;
  bottom: 20%;
  right: 15%;
  width: min(350px, 70vw);
  height: min(350px, 70vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
  filter: blur(30px);
  animation: glowFloat 16s infinite alternate-reverse ease-in-out;
}

@keyframes glowFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -20px) scale(1.1); }
}

.auth-card {
  position: relative;
  z-index: 2;
  width: min(440px, 100%);
  border-radius: 20px;
  padding: 40px 32px;
  border: 1px solid var(--color-border);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
  animation: authCardEnter 0.6s var(--ease-spring) both;
  display: flex;
  flex-direction: column;
}

@keyframes authCardEnter {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  margin: 0 auto 24px;
}

.logo-symbol {
  font-size: 20px;
  color: var(--accent-secondary);
  text-shadow: 0 0 10px rgba(0, 122, 255, 0.5);
}

.auth-card h1 {
  font-size: clamp(22px, 4vw, 26px);
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--text-primary);
  text-align: center;
}

.auth-card .small-lead {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 28px;
  text-align: center;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.input-group label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left;
}

.input-group input {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 14.5px;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.input-group input:focus {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--accent-secondary);
  box-shadow: 0 0 12px rgba(0, 122, 255, 0.2);
  outline: none;
}

.error-toast {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(239, 68, 68, 0.08) !important;
  border: 1px solid rgba(239, 68, 68, 0.2) !important;
  color: #ef4444 !important;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  margin-bottom: 24px !important;
}

.error-toast .icon {
  font-weight: bold;
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
}

.auth-footer .hint {
  font-size: 13.5px;
  color: var(--text-muted);
}

.auth-footer .hint a {
  color: var(--accent-secondary);
  text-decoration: underline;
}

.auth-footer .hint a:hover {
  color: var(--text-primary);
}

.auth-card .hint {
  display: block;
  text-align: center;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text-muted);
  margin-top: 16px;
}

/* Page: Dashboard */
.dashboard, .client-gallery, .filter-tool, .guide-page {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.create-hero {
  max-width: 800px;
  margin-bottom: 48px;
}

.create-copy h1 {
  font-size: clamp(34px, 5vw, 48px);
  margin: 14px 0;
}

.create-copy h1 em {
  font-style: italic;
  font-family: var(--font-heading);
  color: var(--text-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.create-copy p:not(.soft-pill) {
  margin-bottom: 24px;
}

.tag-row {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}

.tag-row span {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  padding: 5px 12px;
  border-radius: 100px;
}

.hero-preview {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11, 11, 12, 0.8) 100%);
  z-index: 1;
}

.big-photo button {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  color: #ff453a;
  font-size: 18px;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.big-photo strong {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(21, 21, 24, 0.85);
  border: 1px solid var(--color-border);
  padding: 12px 16px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1;
  text-align: right;
  z-index: 2;
}

.big-photo small {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 4px;
}

.thumb-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.thumb-row i {
  aspect-ratio: 1;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Creation Panels Form Layout */
.create-panels {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 20px;
  margin-bottom: 48px;
}

.drive-create-card, .result-card, .pending-card {
  border-radius: var(--radius-lg);
  padding: 32px;
}

.drive-create-card h2, .result-card h2, .album-section-head h2, .workflow-card h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 16px;
}

.upload-zone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 130px;
  border: 1px dashed rgba(255, 255, 255, 0.15) !important;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.01);
  color: var(--text-secondary);
  cursor: pointer;
  padding: 20px;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.upload-zone:hover {
  border-color: rgba(255, 255, 255, 0.3) !important;
  background: rgba(255, 255, 255, 0.03);
}

.upload-zone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-zone strong {
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 4px;
  font-size: 14px;
}

.upload-zone small {
  color: var(--text-muted);
  font-size: 11px;
}

.fake-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--color-border);
  padding: 10px 10px 10px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 13px;
  margin-bottom: 16px;
}

.fake-link button {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fake-link button:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* System Dashboard & Stats Grid */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.stat-card {
  border-radius: var(--radius-md);
  padding: 24px;
}

.stat-card b {
  display: block;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card span {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

.album-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 48px 0 20px;
}

.album-section-head h2 {
  font-size: 28px;
}

.album-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.album-card, .empty-state {
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.album-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.album-card p {
  font-size: 13.5px;
  margin-bottom: 10px;
}

.album-card small {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.card-actions, .admin-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.card-actions form, .admin-actions form {
  display: inline;
}

/* Page: Admin Panel */
.admin-page {
  padding-top: 32px;
}

.admin-table {
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 20px;
}

.admin-table .album-section-head {
  margin-top: 0;
  margin-bottom: 12px;
}

.table-scroll {
  overflow-x: auto;
  margin-top: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
  font-size: 13.5px;
}

th, td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--color-border);
}

th {
  color: var(--text-secondary);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

td {
  color: var(--text-secondary);
}

td b {
  color: var(--text-primary);
  font-weight: 500;
}

td small {
  display: block;
  color: var(--text-muted);
  font-size: 11px;
  margin-top: 2px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.pill.drive {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--color-border);
}

.pill.upload {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-secondary);
  border: 1px solid var(--color-border);
}

/* Page: RAW Filter Workspace */
.filter-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 20px;
  margin-top: 20px;
}

.selected-panel, .filter-card {
  border-radius: var(--radius-lg);
  padding: 32px;
}

.selected-panel textarea {
  margin-top: 16px;
  min-height: 360px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  font-family: Monaco, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-secondary);
  resize: vertical;
}

.browser-warning {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-secondary);
  border: 1px solid var(--color-border);
  font-size: 12.5px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.filter-actions {
  display: flex;
  gap: 10px;
  margin: 16px 0;
  flex-wrap: wrap;
}

.raw-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 6px;
  margin-bottom: 20px;
}

.raw-options label {
  margin: 0;
  padding: 8px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.015);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.raw-options label:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.raw-options input {
  width: auto;
  min-height: auto;
  cursor: pointer;
}

.filter-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.filter-stats div {
  padding: 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--color-border);
  text-align: center;
}

.filter-stats b {
  display: block;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.filter-stats span {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.filter-log {
  white-space: pre-wrap;
  margin-top: 20px;
  min-height: 140px;
  max-height: 220px;
  overflow-y: auto;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: #000000;
  border: 1px solid var(--color-border);
  color: var(--text-secondary);
  font-family: Monaco, Consolas, monospace;
  font-size: 11.5px;
  line-height: 1.5;
}

/* Page: Guide and Documentation */
.guide-hero {
  max-width: 800px;
  margin: 0 auto 64px;
  text-align: center;
}

.guide-hero h1 {
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.15;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.guide-hero .lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 auto;
  text-align: center;
}

.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto 64px;
  padding-left: 72px;
}

.timeline-track {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 24px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-secondary) 0%, rgba(255, 255, 255, 0.05) 100%);
  pointer-events: none;
}

.timeline-step {
  position: relative;
  margin-bottom: 48px;
}

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

.step-marker {
  position: absolute;
  left: -72px;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--accent-secondary);
  color: var(--accent-secondary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  display: grid;
  place-items: center;
  box-shadow: 0 0 16px rgba(0, 122, 255, 0.2);
  z-index: 2;
}

.step-content {
  text-align: left;
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.step-content:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.step-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.step-icon {
  font-size: 24px;
}

.step-badge {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  color: var(--text-secondary);
}

.step-content h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.step-content p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Step Visual Mockups */
.step-visual {
  margin-top: 24px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 18px;
  overflow: hidden;
}

.visual-mock-auth {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mock-lock {
  font-size: 20px;
}

.mock-status {
  font-size: 12px;
  color: #ff9f0a;
}

.visual-mock-link {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 8px 12px;
}

.gdrive-logo {
  color: #34a853;
  font-weight: bold;
}

.mock-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: monospace;
  font-size: 12px;
  outline: none;
}

.visual-mock-pick {
  display: flex;
  gap: 12px;
}

.mock-thumb {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  position: relative;
  display: grid;
  place-items: center;
}

.mock-star {
  font-size: 18px;
  cursor: default;
}

.mock-star.selected {
  color: var(--accent-secondary);
}

.visual-mock-terminal {
  font-family: monospace;
  font-size: 12px;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.visual-mock-terminal code.green {
  color: #30d158;
}

/* Note section */
.guide-note {
  display: flex;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid rgba(0, 122, 255, 0.15);
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.02) 0%, rgba(21, 21, 24, 0.85) 100%);
  text-align: left;
}

.note-icon {
  font-size: 32px;
  line-height: 1;
}

.note-content h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  margin-top: 0;
}

.note-content p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

.highlight {
  color: var(--accent-secondary);
  font-weight: 600;
}

@media (max-width: 768px) {
  .timeline-container {
    padding-left: 48px;
  }
  .timeline-track {
    left: 12px;
  }
  .step-marker {
    left: -48px;
    width: 36px;
    height: 36px;
    font-size: 13px;
  }
  .guide-note {
    flex-direction: column;
    gap: 16px;
  }
}

/* Media Queries & Responsive styling */
@media (max-width: 1024px) {
  .index-auth {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 0;
  }
  
  .create-hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .create-panels {
    grid-template-columns: 1fr;
  }
  
  .filter-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 66px;
    padding: 0 16px;
    top: 12px;
  }
  
  .site-header nav {
    display: none;
  }
  
  .auth-brand-panel, .auth-choice, .auth-card {
    padding: 24px;
  }
  
  .drive-create-card, .result-card {
    padding: 24px 16px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .guide-steps {
    grid-template-columns: 1fr;
  }
  
  .filter-stats {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .feature-card {
    padding: 24px;
  }
}

/* Admin Premium Styles */
.admin-dashboard {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  gap: 24px;
}

.header-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pill-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-secondary);
  background: rgba(0, 122, 255, 0.1);
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid rgba(0, 122, 255, 0.15);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.admin-header h1 {
  font-size: clamp(28px, 3.5vw, 44px);
  margin-bottom: 8px;
}

.subtitle {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 600px;
}

.btn-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(.2,.8,.2,1);
  text-decoration: none;
}

.btn-modern.primary {
  background: var(--text-primary);
  color: var(--bg-pure);
  border: none;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.08);
}

.btn-modern.primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-modern.secondary {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  color: var(--text-primary);
}

.btn-modern.secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

/* High-End Glass Metrics Row */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.metric-card {
  position: relative;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.card-glow {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.card-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.card-value {
  font-family: var(--font-heading);
  font-size: 36px;
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.card-value.highlight {
  color: var(--accent-secondary);
}

.card-footer {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 8px;
}

.sub-label {
  font-size: 11px;
  color: var(--text-muted);
}

.sub-label.info {
  color: var(--accent-secondary);
  font-weight: 500;
}

.sub-label.danger {
  color: #ff453a;
  font-weight: 500;
}

/* Tab Bar / Segmented Controls */
.segmented-control-wrapper {
  margin-bottom: 24px;
  display: flex;
  justify-content: flex-start;
}

.segmented-controls {
  display: flex;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  padding: 4px;
  border-radius: 14px;
  gap: 4px;
}

.segment-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(.2,.8,.2,1);
}

.segment-btn svg {
  opacity: 0.6;
  transition: opacity 0.2s;
}

.segment-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.02);
}

.segment-btn.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.segment-btn.active svg {
  opacity: 1;
  color: var(--accent-secondary);
}

/* Workspace Card & Search Controls */
.admin-tab-content {
  display: none;
}

.admin-tab-content.active {
  display: block;
  animation: fadeIn 0.3s cubic-bezier(.2,.8,.2,1);
}

.workspace-card {
  border-radius: var(--radius-lg);
  padding: 32px;
}

.workspace-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
}

.title-area h2 {
  font-size: 20px;
  margin-bottom: 4px;
}

.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: min(320px, 100%);
}

.search-icon {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  pointer-events: none;
}

.modern-search-input {
  width: 100%;
  min-height: 40px;
  height: 40px;
  padding: 8px 16px 8px 38px;
  border-radius: 10px;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.015);
}

/* Modern Tables styling */
.table-container {
  overflow-x: auto;
}

.modern-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.modern-table th, .modern-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
}

.modern-table th {
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.modern-table tbody tr {
  transition: background 0.15s ease, transform 0.15s ease;
}

.modern-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.01);
}

/* Studio & Album Row elements */
.studio-info-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 122, 255, 0.08);
  color: var(--accent-secondary);
  font-weight: 700;
  font-size: 12px;
  border: 1px solid rgba(0, 122, 255, 0.15);
}

.mono-code {
  font-family: Monaco, Consolas, monospace;
  font-size: 12px;
  color: var(--text-secondary);
}

.mono-code.code-sub {
  opacity: 0.5;
}

/* Status Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
}

.badge.active-badge {
  background: rgba(48, 209, 88, 0.08);
  color: var(--color-success);
  border: 1px solid rgba(48, 209, 88, 0.15);
}

.badge.pending-badge {
  background: rgba(255, 149, 0, 0.08);
  color: #ff9500;
  border: 1px solid rgba(255, 149, 0, 0.15);
}

.glowing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.badge.active-badge .glowing-dot {
  background: var(--color-success);
  box-shadow: 0 0 8px var(--color-success);
}

.badge.pending-badge .glowing-dot {
  background: #ff9500;
  box-shadow: 0 0 8px #ff9500;
}

.date-display {
  color: var(--text-secondary);
}

/* Table Actions Button Group */
.table-actions-group {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.action-btn {
  border: none;
  background: none;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.action-btn.primary-action {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}

.action-btn.primary-action:hover {
  background: var(--text-primary);
  color: var(--bg-pure);
}

.action-btn.secondary-action {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--color-border);
}

.action-btn.secondary-action:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.02);
}

.action-btn.preview-action {
  background: rgba(0, 122, 255, 0.06);
  color: var(--accent-secondary);
  border: 1px solid rgba(0, 122, 255, 0.15);
}

.action-btn.preview-action:hover {
  background: var(--accent-secondary);
  color: #ffffff;
}

.action-btn.danger-action {
  background: rgba(255, 69, 58, 0.06);
  color: #ff453a;
  border: 1px solid rgba(255, 69, 58, 0.15);
}

.action-btn.danger-action:hover {
  background: #ff453a;
  color: #ffffff;
}

.action-btn.disabled {
  opacity: 0.25;
  pointer-events: none;
  cursor: default;
}

/* Album Table Cells */
.album-title-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.title-main {
  color: var(--text-primary);
  font-weight: 500;
}

.owner-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.owner-sub {
  font-size: 11px;
  opacity: 0.5;
}

.badge-source {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-source.source-drive {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--color-border);
}

.badge-source.source-upload {
  background: rgba(255, 255, 255, 0.015);
  color: var(--text-secondary);
  border: 1px solid var(--color-border);
}

/* Progress bar inside cells */
.progress-cell-wrapper {
  min-width: 130px;
}

.progress-text-row {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  margin-bottom: 4px;
  color: var(--text-muted);
}

.progress-text-row .highlight {
  color: var(--accent-secondary);
}

.progress-text-row .pct {
  font-weight: 600;
  color: var(--text-secondary);
}

.progress-bar-track {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 100px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--accent-secondary);
  border-radius: 100px;
  transition: width 0.35s ease;
}

/* Expiry Cells */
.expiry-display {
  display: flex;
  flex-direction: column;
  gap: 1px;
  color: var(--text-secondary);
}

.expiry-display.expiring-soon {
  color: #ff9500;
  font-weight: 500;
}

.expiry-sub {
  font-size: 10px;
  opacity: 0.6;
}

/* Tab 3 Integration Styles */
.premium-integration-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 32px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all 0.25s ease;
}

.premium-integration-card.status-connected {
  background: linear-gradient(135deg, rgba(48, 209, 88, 0.01) 0%, rgba(11, 11, 12, 0.8) 100%);
  border-color: rgba(48, 209, 88, 0.12);
}

.premium-integration-card.status-disconnected {
  background: linear-gradient(135deg, rgba(255, 149, 0, 0.01) 0%, rgba(11, 11, 12, 0.8) 100%);
  border-color: rgba(255, 149, 0, 0.12);
}

.integration-status-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.status-indicator-orb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.premium-integration-card.status-connected .status-indicator-orb {
  background: var(--color-success);
  box-shadow: 0 0 12px var(--color-success);
}

.premium-integration-card.status-disconnected .status-indicator-orb {
  background: #ff9500;
  box-shadow: 0 0 12px #ff9500;
}

.muted-small {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.info-guide-panel {
  border-radius: var(--radius-md);
  padding: 24px;
}

.info-guide-panel h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.guide-steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.guide-steps-list li {
  display: flex;
  gap: 14px;
  font-size: 13.5px;
  line-height: 1.6;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.admin-notice-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 12px;
  margin-bottom: 24px;
  border-left: 4px solid var(--color-success) !important;
}

.notice-icon {
  width: 18px;
  height: 18px;
  background: rgba(48, 209, 88, 0.15);
  color: var(--color-success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

.notice-text {
  font-size: 13.5px;
  color: var(--text-primary);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Premium Pending Status Card */
.premium-status-card {
  position: relative;
  max-width: 720px;
  margin: 40px auto;
  padding: 48px 40px !important;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: radial-gradient(120% 120% at 50% 10%, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%), rgba(10, 10, 10, 0.6) !important;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  overflow: hidden;
}

.premium-status-card .card-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 122, 255, 0.15) 0%, rgba(0, 122, 255, 0) 70%);
  pointer-events: none;
}

.premium-status-card .badge-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.premium-status-card .pill-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 100px;
  line-height: 1;
}

.premium-status-card .pill-badge.warning {
  background: rgba(255, 159, 10, 0.1);
  color: #ff9f0a;
  border: 1px solid rgba(255, 159, 10, 0.25);
}

.premium-status-card .pill-badge.is-free {
  background: rgba(48, 209, 88, 0.1) !important;
  color: #30d158 !important;
  border: 1px solid rgba(48, 209, 88, 0.25) !important;
  box-shadow: 0 0 15px rgba(48, 209, 88, 0.1);
  animation: pulse-border 2s infinite ease-in-out;
}

@keyframes pulse-border {
  0%, 100% { box-shadow: 0 0 10px rgba(48, 209, 88, 0.05); }
  50% { box-shadow: 0 0 20px rgba(48, 209, 88, 0.2); }
}

.premium-status-card h2 {
  font-size: clamp(24px, 4vw, 32px) !important;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px !important;
  letter-spacing: -0.02em;
  font-family: var(--font-body) !important;
}

.premium-status-card .lead-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.premium-status-card .feature-highlight-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 32px;
  text-align: left;
}

.premium-status-card .feature-highlight-box p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

.premium-status-card .feature-highlight-box b {
  color: var(--text-primary);
}

.premium-status-card .action-row {
  display: flex;
  justify-content: center;
}

.premium-status-card .zalo-btn {
  background: linear-gradient(135deg, #0084FF 0%, #0055FF 100%) !important;
  color: #ffffff !important;
  padding: 14px 32px !important;
  min-height: 52px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  border-radius: 100px !important;
  box-shadow: 0 10px 30px rgba(0, 104, 255, 0.35) !important;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.premium-status-card .zalo-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 36px rgba(0, 104, 255, 0.5) !important;
  opacity: 0.95;
}

.premium-status-card .zalo-btn svg {
  margin-right: 8px;
}


