/* ==========================================================================
   DUDU MEDIA AI - STYLESHEET
   Design System: Premium Glassmorphism & Cyber-Chic Dark Theme
   Typography: Outfit (Headings) + Plus Jakarta Sans (Body)
   ========================================================================== */

:root {
  /* Core Dark Palette */
  --bg-main: #0a0b10;
  --bg-surface: #121420;
  --bg-elevated: #181b2e;
  --bg-card: rgba(22, 26, 46, 0.75);
  --bg-card-hover: rgba(28, 33, 58, 0.85);
  
  /* Borders & Glass */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(139, 92, 246, 0.25);
  --border-active: #8b5cf6;
  --glass-blur: blur(16px);
  
  /* Vibrant Accents */
  --accent-purple: #8b5cf6;
  --accent-purple-glow: rgba(139, 92, 246, 0.35);
  --accent-cyan: #06b6d4;
  --accent-cyan-glow: rgba(6, 182, 212, 0.35);
  --accent-blue: #3b82f6;
  --accent-pink: #ec4899;
  --accent-green: #10b981;
  --accent-amber: #f59e0b;
  --accent-red: #ef4444;

  /* Typography Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #0a0b10;

  /* Fonts */
  --font-display: 'Outfit', sans-serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 30px rgba(139, 92, 246, 0.2);
  --shadow-card: 0 12px 32px -4px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border-subtle);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

:root[data-theme="light"], [data-theme="light"] {
  /* Core Light Palette */
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-elevated: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.94);
  --bg-card-hover: rgba(255, 255, 255, 1);
  
  /* Borders & Glass */
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-glow: rgba(124, 58, 237, 0.16);
  --border-active: #7c3aed;
  
  /* Vibrant Accents */
  --accent-purple: #7c3aed;
  --accent-purple-glow: rgba(124, 58, 237, 0.2);
  --accent-cyan: #0284c7;
  --accent-cyan-glow: rgba(2, 132, 199, 0.2);
  --accent-blue: #2563eb;
  --accent-pink: #db2777;
  --accent-green: #059669;
  --accent-amber: #d97706;
  --accent-red: #dc2626;

  /* Typography Colors */
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.07);
  --shadow-glow: 0 0 30px rgba(124, 58, 237, 0.12);
  --shadow-card: 0 8px 24px -2px rgba(15, 23, 42, 0.06), 0 0 0 1px var(--border-subtle);
}

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

html, body {
  width: 100%;
  min-height: 100%;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Background Lights */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}
.glow-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
  top: -150px;
  left: 10%;
  animation: floatLight 18s ease-in-out infinite alternate;
}
.glow-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
  bottom: 5%;
  right: 5%;
  animation: floatLight 22s ease-in-out infinite alternate-reverse;
}
.glow-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--accent-pink) 0%, transparent 70%);
  top: 40%;
  right: 25%;
  animation: floatLight 15s ease-in-out infinite alternate;
}

@keyframes floatLight {
  0% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(40px) scale(1.1); }
  100% { transform: translateY(-30px) scale(0.95); }
}

/* Base Layout */
.app-layout {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Top Navigation Bar */
.top-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 2rem;
  background: rgba(10, 11, 16, 0.82);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

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

.brand-logo-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 16px var(--accent-purple-glow);
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.1;
}

.brand-gradient {
  background: linear-gradient(135deg, #a78bfa, #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-subtitle {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

/* Main Navigation Tabs */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.3rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.nav-tab {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-tab.active {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(6, 182, 212, 0.25));
  color: #fff;
  border: 1px solid rgba(139, 92, 246, 0.4);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.badge-count {
  background: var(--accent-purple);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  min-width: 1.25rem;
  text-align: center;
}

/* Header Right */
.header-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.status-pill {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 0.78rem;
  font-weight: 600;
  color: #34d399;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.status-dot.green {
  background-color: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
}
.status-dot.grey {
  background-color: var(--text-muted);
}

.author-profile-pill {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.35rem 0.85rem 0.35rem 0.35rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
}

.author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: white;
}

.author-info {
  display: flex;
  flex-direction: column;
}
.author-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
}
.domain-tag {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* Main Content Area */
.content-container {
  flex: 1;
  max-width: 1540px;
  width: 100%;
  margin: 0 auto;
  padding: 1.8rem 2rem;
}

/* Sections View Switcher */
.view-section {
  display: none;
  animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.view-section.active {
  display: block;
}

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

/* Glass Card Component */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Pills & Tags */
.pill-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pill-tag.purple {
  background: rgba(139, 92, 246, 0.15);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.3);
}
.pill-tag.cyan {
  background: rgba(6, 182, 212, 0.15);
  color: #67e8f9;
  border: 1px solid rgba(6, 182, 212, 0.3);
}
.pill-tag.green {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  outline: none;
  text-decoration: none;
}
.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-purple), #7c3aed);
  color: #fff;
  box-shadow: 0 4px 16px var(--accent-purple-glow);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #9333ea, #6d28d9);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

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

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-purple);
  color: #c4b5fd;
}

.btn-outline-cyan {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.4);
  color: #67e8f9;
}
.btn-outline-cyan:hover {
  background: rgba(6, 182, 212, 0.2);
  border-color: #06b6d4;
  box-shadow: 0 0 14px var(--accent-cyan-glow);
}

.btn-danger-ghost {
  background: transparent;
  border: 1px solid transparent;
  color: #f87171;
}
.btn-danger-ghost:hover {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.3);
}

.btn-approve-highlight {
  background: linear-gradient(135deg, #059669, #10b981);
  color: #fff;
  border: 1px solid #34d399;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35);
  font-weight: 700;
}
.btn-approve-highlight:hover {
  background: linear-gradient(135deg, #047857, #059669);
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.55);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 0.85rem 1.85rem;
  font-size: 1rem;
}

.pulse-glow {
  position: relative;
  overflow: hidden;
}
.pulse-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.13), transparent);
  transform: rotate(30deg);
  animation: shimmer 4s infinite linear;
}
@keyframes shimmer {
  0% { transform: translateX(-100%) rotate(30deg); }
  100% { transform: translateX(100%) rotate(30deg); }
}

/* Forms & Inputs */
.styled-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-row {
  display: flex;
  gap: 1.25rem;
}
.form-row.align-center {
  align-items: center;
}
.col-6 { flex: 1; }
.col-7 { flex: 7; }
.col-5 { flex: 5; }

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.form-label .required {
  color: var(--accent-pink);
}
.form-label .optional {
  color: var(--text-muted);
  font-weight: normal;
  font-size: 0.78rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: rgba(14, 17, 30, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  transition: all 0.2s ease;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px var(--accent-purple-glow);
  outline: none;
  background: rgba(20, 24, 42, 0.95);
}
.form-input.mono {
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.form-textarea {
  resize: vertical;
  line-height: 1.6;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}
.btn-preset-trigger {
  position: absolute;
  right: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s;
}
.btn-preset-trigger:hover {
  background: rgba(255, 255, 255, 0.15);
}

.form-footnote {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.form-footnote strong {
  color: #cbd5e1;
}

/* Platform Selector Checkbox Cards */
.platform-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.platform-checkbox-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: rgba(14, 17, 30, 0.6);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.platform-checkbox-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
}
.platform-checkbox-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}
.platform-checkbox-card.active {
  border-color: var(--accent-purple);
  background: rgba(139, 92, 246, 0.12);
  box-shadow: 0 4px 18px rgba(139, 92, 246, 0.15);
}

.platform-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.platform-icon.linkedin {
  background: #0a66c2;
  color: white;
}
.platform-icon.twitter {
  background: #000;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.platform-icon.instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: white;
}

.platform-details {
  display: flex;
  flex-direction: column;
}
.platform-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
}
.platform-format {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ================= VIEW 1: STUDIO GRID ================= */
.studio-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 1.8rem;
}

.generator-panel {
  padding: 2.2rem;
}

.card-header {
  margin-bottom: 2rem;
}
.card-header h2 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 0.5rem;
}
.card-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: 0.4rem;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

/* Studio Aside */
.studio-aside {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.aside-header h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-top: 0.4rem;
}

.workflow-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step-item {
  display: flex;
  gap: 1rem;
  padding: 0.85rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s;
}
.step-item.highlight {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.3);
}
.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.78rem;
  color: #fff;
  flex-shrink: 0;
}
.step-item.highlight .step-num {
  background: var(--accent-green);
  color: var(--text-inverse);
}
.step-content h4 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}
.step-content p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.recent-campaigns-box h4 {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
}
.mini-drafts-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.mini-draft-card {
  padding: 0.75rem 0.95rem;
  border-radius: var(--radius-md);
  background: rgba(14, 17, 30, 0.7);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.18s ease;
}
.mini-draft-card:hover {
  border-color: var(--accent-purple);
  background: rgba(20, 24, 42, 0.9);
  transform: translateX(3px);
}
.mini-draft-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 190px;
}
.mini-draft-platform {
  font-size: 0.7rem;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  text-transform: uppercase;
  font-weight: 700;
}

/* ================= VIEW 2: BANDEJA DE APROBACIÓN (REVIEW) ================= */
.review-layout {
  display: grid;
  grid-template-columns: 310px 1.1fr 1fr;
  gap: 1.4rem;
  height: calc(100vh - 145px);
  min-height: 680px;
}

/* Sidebar List */
.review-sidebar {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  height: 100%;
}
.sidebar-top {
  margin-bottom: 1rem;
}
.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.section-title-row h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.count-pill {
  background: rgba(139, 92, 246, 0.2);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.3);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
}
.sidebar-help {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.review-posts-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-right: 0.2rem;
}
.review-posts-list::-webkit-scrollbar {
  width: 5px;
}
.review-posts-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.post-item-card {
  padding: 0.95rem;
  border-radius: var(--radius-md);
  background: rgba(14, 17, 30, 0.6);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.post-item-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.2);
}
.post-item-card.selected {
  background: rgba(139, 92, 246, 0.14);
  border-color: var(--accent-purple);
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.2);
}

.post-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.item-platform-tag {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
}
.item-platform-tag.linkedin { background: #0a66c2; color: #fff; }
.item-platform-tag.twitter { background: #000; color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.item-platform-tag.instagram { background: #dc2743; color: #fff; }

.item-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-amber);
}
.item-status-dot.approved { background: var(--accent-green); }
.item-status-dot.published { background: var(--accent-cyan); }

.post-item-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}
.post-item-preview {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Editor Main Column */
.review-main {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.editor-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: var(--text-muted);
  padding: 3rem;
}
.empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.editor-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.editor-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.4rem;
  background: rgba(14, 17, 30, 0.7);
  border-bottom: 1px solid var(--border-subtle);
}

.post-meta-group {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.platform-badge {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  background: var(--accent-purple);
  color: #fff;
}
.campaign-title-label {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.status-indicator-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.editor-scrollable {
  flex: 1;
  overflow-y: auto;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.editor-scrollable::-webkit-scrollbar {
  width: 6px;
}
.editor-scrollable::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

.label-with-counter {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.char-counter {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.editor-body-input {
  font-size: 0.95rem;
  line-height: 1.65;
}

/* AI Image Studio in Editor */
.glass-inner-card {
  background: rgba(14, 17, 30, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}
.media-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.media-title-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.mb-0 { margin-bottom: 0 !important; }
.sub-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  display: block;
  margin-bottom: 0.3rem;
}
.engine-indicator-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(6, 182, 212, 0.15);
  color: #67e8f9;
  border: 1px solid rgba(6, 182, 212, 0.3);
}
.prompt-box {
  font-size: 0.88rem;
  line-height: 1.45;
  resize: vertical;
}
.form-select.sm {
  padding: 0.5rem 0.75rem;
  font-size: 0.82rem;
}
.image-action-toolbar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}
.url-details-collapsible summary {
  cursor: pointer;
  user-select: none;
}
.url-details-collapsible summary:hover {
  color: var(--text-primary);
}
.mt-1 { margin-top: 0.25rem; }

/* Schedule Box */
.schedule-box {
  background: rgba(14, 17, 30, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
}
.schedule-header {
  margin-bottom: 0.85rem;
}
.schedule-header h4 {
  font-size: 0.92rem;
  font-weight: 700;
}
.schedule-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.btn-group-pill {
  display: flex;
  gap: 0.4rem;
}
.btn-pill {
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.18s;
}
.btn-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

/* Actions Toolbar */
.editor-actions-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.4rem;
  background: rgba(10, 11, 16, 0.95);
  border-top: 1px solid var(--border-subtle);
}
.toolbar-left, .toolbar-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* ================= Column 3: Live Preview Mockups ================= */
.review-preview {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: rgba(14, 16, 26, 0.85);
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}
.preview-title-group h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-top: 0.2rem;
}

.preview-tabs {
  display: flex;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.2rem;
  border-radius: var(--radius-full);
}
.preview-tab {
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s;
}
.preview-tab.active {
  background: var(--accent-purple);
  color: white;
}

.mockup-viewport {
  flex: 1;
  overflow-y: auto;
  padding: 1.4rem;
  display: flex;
  justify-content: center;
}
.mockup-viewport::-webkit-scrollbar {
  width: 5px;
}
.mockup-viewport::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

/* Base Social Mockup Card */
.social-mockup {
  width: 100%;
  max-width: 440px;
  background: #1b1f24;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #e6edf3;
  animation: fadeIn 0.25s ease;
}

/* LinkedIn Card Styling */
.linkedin-card {
  background: #1b1f23;
  padding: 1.1rem;
}
.mockup-author-bar {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.mockup-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0a66c2, #004182);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.mockup-avatar.twitter {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.mockup-avatar.ig-gradient {
  background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
}

.mockup-author-text {
  flex: 1;
}
.mockup-author-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
}
.author-connection {
  color: #8b949e;
  font-weight: normal;
}
.mockup-author-headline {
  font-size: 0.75rem;
  color: #8b949e;
  line-height: 1.2;
}
.mockup-post-time {
  font-size: 0.7rem;
  color: #8b949e;
  margin-top: 0.15rem;
}
.mockup-menu-dots {
  color: #8b949e;
  cursor: pointer;
  letter-spacing: 0.1em;
}

.mockup-post-body {
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 0.85rem;
}
.mockup-hook {
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}
.mockup-content-text {
  white-space: pre-wrap;
  margin-bottom: 0.5rem;
  color: #d1d5db;
}
.mockup-cta {
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #60a5fa;
}
.mockup-hashtags {
  color: #70b5f9;
  font-size: 0.82rem;
}

.mockup-media-container {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0d1117;
  margin-bottom: 0.85rem;
}
.mockup-image {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: cover;
  display: block;
}

.mockup-reactions-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  color: #8b949e;
}

.mockup-actions-bar {
  display: flex;
  justify-content: space-around;
  padding-top: 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #8b949e;
}

/* Twitter Mockup Card */
.twitter-card {
  background: #000;
  border: 1px solid #2f3336;
  padding: 1.1rem;
}
.mockup-tweet-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}
.tweet-user-info {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex: 1;
}
.tweet-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
}
.tweet-badge {
  color: #1d9bf0;
  font-size: 0.8rem;
}
.tweet-handle, .tweet-dot, .tweet-time {
  color: #71767b;
  font-size: 0.82rem;
}
.mockup-tweet-body {
  font-size: 0.92rem;
  line-height: 1.45;
  margin-bottom: 0.75rem;
}
.tweet-hook {
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}
.tweet-text {
  white-space: pre-wrap;
  color: #e7e9ea;
}
.tweet-cta {
  color: #1d9bf0;
  margin-top: 0.4rem;
}
.tweet-hashtags {
  color: #1d9bf0;
  font-size: 0.85rem;
}
.mockup-actions-bar.twitter {
  border-top: 1px solid #2f3336;
  padding-top: 0.65rem;
  color: #71767b;
}

/* Instagram Mockup Card */
.instagram-card {
  background: #000;
  border: 1px solid #262626;
}
.ig-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
}
.ig-user-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.ig-username {
  font-weight: 700;
  font-size: 0.85rem;
}
.ig-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem 0.4rem;
  font-size: 1.25rem;
}
.ig-actions-left {
  display: flex;
  gap: 0.85rem;
}
.ig-caption-block {
  padding: 0 1rem 1rem;
  font-size: 0.85rem;
  line-height: 1.45;
}
.ig-bold-user {
  font-weight: 700;
  margin-right: 0.45rem;
}
.ig-body-text {
  white-space: pre-wrap;
  margin-top: 0.4rem;
  color: #d4d4d4;
}
.ig-tags {
  color: #00376b;
  margin-top: 0.4rem;
  color: #93c5fd;
}

/* ================= VIEW 3: CALENDARIO & HISTORIAL ================= */
.calendar-page-layout {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.section-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.8rem 2.2rem;
}
.banner-text h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
}
.banner-text p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.banner-filters {
  display: flex;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.3rem;
  border-radius: var(--radius-full);
}
.filter-chip {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
}
.filter-chip.active {
  background: var(--accent-purple);
  color: white;
}

.posts-timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.4rem;
}

.timeline-card {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: transform 0.2s, border-color 0.2s;
}
.timeline-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2);
}

.timeline-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.badge-status {
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}
.badge-status.approved_scheduled {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.badge-status.published {
  background: rgba(6, 182, 212, 0.15);
  color: #67e8f9;
  border: 1px solid rgba(6, 182, 212, 0.3);
}
.badge-status.pending_review {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.timeline-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}
.timeline-card-body {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.timeline-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Logs Table */
.audit-logs-card {
  padding: 1.8rem;
}
.logs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.logs-header h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
}
.logs-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
}

.logs-table-container {
  overflow-x: auto;
}
.logs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.logs-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
  font-weight: 600;
}
.logs-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* ================= VIEW 4: AJUSTES & API ================= */
.settings-layout {
  max-width: 800px;
  margin: 0 auto;
}
.settings-card {
  padding: 2.5rem;
}
.settings-header {
  margin-bottom: 2rem;
}
.settings-header h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  margin-top: 0.5rem;
}
.settings-header p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-top: 0.3rem;
}

.settings-section-box {
  background: rgba(14, 17, 30, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.box-title-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.box-title-row h4 {
  font-size: 1rem;
  font-weight: 700;
}
.box-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.box-sub a {
  color: var(--accent-cyan);
  text-decoration: underline;
}

.input-password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.btn-toggle-visibility {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.api-key-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.settings-footer {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.save-status-msg {
  font-size: 0.88rem;
  font-weight: 600;
}

/* Modal Confirmation */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.modal-overlay.hidden {
  display: none;
}
.modal-card {
  max-width: 440px;
  width: 90%;
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.modal-icon {
  font-size: 2.5rem;
}
.modal-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
}
.modal-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.modal-actions {
  display: flex;
  gap: 0.85rem;
  width: 100%;
  margin-top: 0.5rem;
}
.modal-actions .btn {
  flex: 1;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 9999;
}
.toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  animation: slideToast 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.toast.success {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(6, 78, 59, 0.9);
}
.toast.error {
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(127, 29, 29, 0.9);
}
@keyframes slideToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Spinner */
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s infinite linear;
}
.spinner.hidden {
  display: none;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Utilities */
.hidden { display: none !important; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }

/* Responsive adjustments */
@media (max-width: 1200px) {
  .review-layout {
    grid-template-columns: 280px 1fr;
    height: auto;
  }
  .review-preview {
    grid-column: span 2;
    min-height: 480px;
  }
  .studio-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .top-header {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  .header-left {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  .main-nav {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }
  .review-layout {
    grid-template-columns: 1fr;
  }
  .review-preview {
    grid-column: span 1;
  }
  .platform-selector {
    grid-template-columns: 1fr;
  }
  .form-row {
    flex-direction: column;
  }
}

/* ================= THEME TOGGLE BUTTON ================= */
.btn-theme-toggle {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-theme-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-purple);
  transform: translateY(-1px);
}
.theme-toggle-label {
  font-size: 0.78rem;
}

/* ================= LIGHT THEME COMPONENT OVERRIDES ================= */
[data-theme="light"] body {
  background-color: var(--bg-main);
  color: var(--text-primary);
}
[data-theme="light"] .ambient-glow {
  opacity: 0.15;
}
[data-theme="light"] .top-header {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
[data-theme="light"] .brand-title {
  color: #0f172a;
}
[data-theme="light"] .main-nav {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.08);
}
[data-theme="light"] .nav-tab {
  color: #475569;
}
[data-theme="light"] .nav-tab:hover {
  color: #0f172a;
  background: rgba(15, 23, 42, 0.06);
}
[data-theme="light"] .nav-tab.active {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(2, 132, 199, 0.15));
  color: #7c3aed;
  border-color: rgba(124, 58, 237, 0.3);
}
[data-theme="light"] .author-profile-pill {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.08);
}
[data-theme="light"] .author-name {
  color: #0f172a;
}
[data-theme="light"] .btn-theme-toggle {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.1);
  color: #0f172a;
}
[data-theme="light"] .btn-theme-toggle:hover {
  background: rgba(15, 23, 42, 0.08);
  border-color: var(--accent-purple);
}
[data-theme="light"] .form-input,
[data-theme="light"] .form-select,
[data-theme="light"] .form-textarea {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.14);
  color: #0f172a;
}
[data-theme="light"] .form-input:focus,
[data-theme="light"] .form-select:focus,
[data-theme="light"] .form-textarea:focus {
  background: #ffffff;
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}
[data-theme="light"] .platform-checkbox-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
}
[data-theme="light"] .platform-checkbox-card:hover {
  border-color: rgba(15, 23, 42, 0.2);
}
[data-theme="light"] .platform-checkbox-card.active {
  background: rgba(124, 58, 237, 0.08);
  border-color: var(--accent-purple);
}
[data-theme="light"] .platform-name {
  color: #0f172a;
}
[data-theme="light"] .btn-preset-trigger {
  background: rgba(15, 23, 42, 0.06);
}
[data-theme="light"] .btn-secondary {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.12);
  color: #0f172a;
}
[data-theme="light"] .btn-secondary:hover {
  background: rgba(15, 23, 42, 0.09);
}
[data-theme="light"] .btn-outline {
  border-color: rgba(15, 23, 42, 0.15);
  color: #0f172a;
}
[data-theme="light"] .btn-outline:hover {
  border-color: var(--accent-purple);
  color: var(--accent-purple);
}
[data-theme="light"] .step-item {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.06);
}
[data-theme="light"] .step-item .step-num {
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
}
[data-theme="light"] .mini-draft-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
}
[data-theme="light"] .mini-draft-title {
  color: #0f172a;
}
[data-theme="light"] .post-item-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
}
[data-theme="light"] .post-item-card.selected {
  background: rgba(124, 58, 237, 0.08);
  border-color: var(--accent-purple);
}
[data-theme="light"] .post-item-title {
  color: #0f172a;
}
[data-theme="light"] .editor-header-bar {
  background: #f8fafc;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
[data-theme="light"] .campaign-title-label {
  color: #0f172a;
}
[data-theme="light"] .editor-actions-toolbar {
  background: #ffffff;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}
[data-theme="light"] .schedule-box {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.08);
}
[data-theme="light"] .btn-pill {
  background: rgba(15, 23, 42, 0.05);
  color: #334155;
  border-color: rgba(15, 23, 42, 0.1);
}
[data-theme="light"] .btn-pill:hover {
  background: rgba(15, 23, 42, 0.1);
  color: #0f172a;
}
[data-theme="light"] .settings-section-box {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.08);
}
[data-theme="light"] .prompt-hint-box {
  background: #f1f5f9;
  border-left-color: var(--accent-purple);
}
[data-theme="light"] .timeline-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
}
[data-theme="light"] .timeline-card-title {
  color: #0f172a;
}
[data-theme="light"] .review-preview {
  background: #f8fafc;
}
[data-theme="light"] .preview-header {
  border-bottom-color: rgba(15, 23, 42, 0.08);
}
[data-theme="light"] .preview-tabs {
  background: rgba(15, 23, 42, 0.05);
}
[data-theme="light"] .preview-tab {
  color: #475569;
}
[data-theme="light"] .preview-tab.active {
  background: var(--accent-purple);
  color: white;
}
[data-theme="light"] .logs-table th {
  border-bottom-color: rgba(15, 23, 42, 0.08);
}
[data-theme="light"] .logs-table td {
  border-bottom-color: rgba(15, 23, 42, 0.04);
}

/* Light Theme Social Mockups */
[data-theme="light"] .linkedin-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .linkedin-card .mockup-author-name {
  color: #191919;
}
[data-theme="light"] .linkedin-card .mockup-hook {
  color: #191919;
}
[data-theme="light"] .linkedin-card .mockup-content-text {
  color: #2b2b2b;
}

[data-theme="light"] .twitter-card {
  background: #ffffff;
  border: 1px solid #eff3f4;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .twitter-card .tweet-name,
[data-theme="light"] .twitter-card .tweet-hook,
[data-theme="light"] .twitter-card .tweet-text {
  color: #0f1419;
}
[data-theme="light"] .twitter-card .mockup-actions-bar.twitter {
  border-top-color: #eff3f4;
}

[data-theme="light"] .instagram-card {
  background: #ffffff;
  border: 1px solid #dbdbdb;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .instagram-card .ig-username,
[data-theme="light"] .instagram-card .ig-bold-user,
[data-theme="light"] .instagram-card .ig-hook {
  color: #262626;
}
[data-theme="light"] .instagram-card .ig-body-text {
  color: #404040;
}

[data-theme="light"] .glass-inner-card {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.08);
}


