/* ==========================================================================
   VietNews AI V4 — Premium Glassmorphism & Dynamic Animations System
   ========================================================================== */

:root {
  --font-primary: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Be Vietnam Pro', sans-serif;

  /* Color Palette - Cyber Dark Glassmorphism */
  --bg-dark: #090d16;
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-border: rgba(255, 255, 255, 0.08);
  --bg-card-hover: rgba(30, 41, 59, 0.85);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Accent Colors per Topic */
  --color-cong-nghe: #06b6d4;
  --color-kinh-doanh: #10b981;
  --color-the-thao: #f59e0b;
  --color-thoi-su: #3b82f6;
  --color-giai-tri: #ec4899;
  --color-suc-khoe: #ef4444;
  --color-giao-duc: #8b5cf6;
  --color-phap-luat: #6366f1;
  --color-du-lich: #14b8a6;
  --color-doi-song: #84cc16;
  --color-xe: #f97316;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #d946ef 100%);
  --grad-text: linear-gradient(135deg, #38bdf8 0%, #a855f7 50%, #f43f5e 100%);
  --grad-card: linear-gradient(180deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.8) 100%);
  --grad-glow: linear-gradient(135deg, rgba(6, 182, 212, 0.3) 0%, rgba(139, 92, 246, 0.3) 100%);

  /* UI Spacing & Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Shadows & Glows */
  --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
  --shadow-glow-cyan: 0 0 25px rgba(6, 182, 212, 0.35);
  --shadow-glow-purple: 0 0 25px rgba(139, 92, 246, 0.35);
}

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

body {
  font-family: var(--font-primary);
  background-color: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Animated Blobs & Grid (Hardware-Accelerated 60FPS) */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  z-index: -2;
  pointer-events: none;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.bg-glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.22) 0%, rgba(139, 92, 246, 0.12) 45%, transparent 70%);
  top: -150px;
  left: -150px;
  animation: floatGlow 16s infinite alternate ease-in-out;
}

.bg-glow-2 {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.22) 0%, rgba(16, 185, 129, 0.12) 45%, transparent 70%);
  bottom: -180px;
  right: -150px;
  animation: floatGlow 20s infinite alternate-reverse ease-in-out;
}

.bg-glow-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(217, 70, 239, 0.15) 0%, rgba(244, 63, 94, 0.08) 45%, transparent 70%);
  top: 40%;
  left: 40%;
  transform: translate3d(-50%, -50%, 0);
  animation: pulseGlow 12s infinite ease-in-out;
}

@keyframes floatGlow {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(50px, 60px, 0) scale(1.1); }
}

@keyframes pulseGlow {
  0%, 100% { transform: translate3d(-50%, -50%, 0) scale(0.95); opacity: 0.7; }
  50% { transform: translate3d(-50%, -50%, 0) scale(1.1); opacity: 1; }
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: -1;
  pointer-events: none;
}

/* App Container */
.app-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Header Navbar */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logo-container {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.8)) drop-shadow(0 0 18px rgba(217, 70, 239, 0.5));
  transition: transform 0.3s ease;
}

.brand-logo-img:hover {
  transform: scale(1.08) rotate(-5deg);
}

.brand-text h1 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-text p {
  font-size: 13px;
  color: var(--text-muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  color: #34d399;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: blinkPulse 1.8s infinite ease-in-out;
}

@keyframes blinkPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--bg-card-border);
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-icon:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-main);
  transform: rotate(15deg);
}

/* Top Metrics Banner */
.metrics-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.metric-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--grad-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.metric-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.6);
}

.metric-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.metric-icon.cyan { background: rgba(6, 182, 212, 0.15); color: #22d3ee; }
.metric-icon.emerald { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.metric-icon.purple { background: rgba(139, 92, 246, 0.15); color: #a78bfa; }
.metric-icon.amber { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }

.metric-info {
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
}

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

/* Workspace Main Grid */
.workspace {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Glass Card Shared Base */
.glass-card {
  background: var(--grad-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.card-header h2 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
}

.card-header h2 i {
  color: var(--accent-cyan);
}

.badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.badge-primary {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #60a5fa;
}

/* Quick Sample Article Section */
.sample-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sample-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.sample-title i {
  color: #f59e0b;
}

.sample-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sample-pill {
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--bg-card-border);
  border-radius: 20px;
  color: var(--text-muted);
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 6px;
}

.sample-pill:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  transform: translateY(-2px);
}

.sample-pill.active {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.25), rgba(99, 102, 241, 0.25));
  border-color: var(--accent-cyan);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.25);
  font-weight: 600;
}

/* Form Controls */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group label i {
  color: var(--accent-purple);
}

.required {
  color: #f43f5e;
}

.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stats-counter {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--text-dim);
}

.char-count, .read-time {
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px;
  border-radius: 6px;
}

input[type="text"], textarea {
  width: 100%;
  background: rgba(9, 13, 22, 0.7);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  color: var(--text-main);
  font-family: var(--font-primary);
  font-size: 14px;
  line-height: 1.6;
  outline: none;
  transition: all 0.25s ease;
}

input[type="text"]:focus, textarea:focus {
  border-color: var(--accent-cyan);
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}

textarea {
  resize: vertical;
  min-height: 160px;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}

/* Button Styles */
.btn {
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  border: none;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--bg-card-border);
  color: var(--text-muted);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}

.btn-primary {
  background: var(--grad-primary);
  color: #ffffff;
  box-shadow: var(--shadow-glow-purple);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
}

.btn-primary:active {
  transform: translateY(0);
}

.hidden {
  display: none !important;
}

/* Result Panel & States */
.result-panel {
  position: relative;
  min-height: 520px;
}

/* Placeholder State */
.placeholder-state {
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 40px 20px;
  max-width: 400px;
}

.placeholder-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--bg-card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--text-dim);
}

.pulse-icon {
  animation: pulseBrain 3s infinite ease-in-out;
  color: var(--accent-cyan);
  border-color: rgba(6, 182, 212, 0.3);
  background: rgba(6, 182, 212, 0.08);
}

@keyframes pulseBrain {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 rgba(6, 182, 212, 0); }
  50% { transform: scale(1.08); box-shadow: 0 0 25px rgba(6, 182, 212, 0.4); }
}

.placeholder-state h3 {
  font-family: var(--font-heading);
  font-size: 19px;
  color: var(--text-main);
}

.placeholder-state p {
  font-size: 13.5px;
  color: var(--text-muted);
}

.placeholder-hint {
  font-size: 12px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  margin-top: 8px;
}

/* Loading State Skeleton */
.loading-state {
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 60px 20px;
}

.skeleton-ring {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(6, 182, 212, 0.2);
  border-top-color: var(--accent-cyan);
  border-radius: 50%;
  animation: spin 1s infinite linear;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Result Content Animated Layout */
.result-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Top Result Card Banner */
.top-result-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.top-result-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--grad-primary);
}

.top-result-badge {
  display: flex;
  align-items: center;
  gap: 16px;
}

.predicted-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.predicted-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.predicted-label-sub {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.predicted-label-sub i {
  color: #10b981;
}

.predicted-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: var(--text-main);
}

/* SVG Radial Confidence Gauge */
.radial-gauge-box {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radial-gauge {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.gauge-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 8;
}

.gauge-progress {
  fill: none;
  stroke: var(--accent-cyan);
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gauge-center {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gauge-value {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
}

.gauge-label {
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Keywords Chips Container */
.keywords-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.keywords-box h4 {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.keywords-box h4 i {
  color: #f59e0b;
}

.keywords-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.keyword-chip {
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  font-size: 12.5px;
  font-weight: 500;
  color: #e2e8f0;
  animation: popIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

@keyframes popIn {
  0% { opacity: 0; transform: scale(0.7); }
  100% { opacity: 1; transform: scale(1); }
}

/* Distribution Bars List */
.distribution-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.distribution-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dist-title-group {
  display: flex;
  flex-direction: column;
}

.dist-title-group h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.dist-title-group h4 i {
  color: var(--accent-cyan);
}

.distribution-sub {
  font-size: 11.5px;
  color: var(--text-dim);
}

.btn-copy-result {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-copy-result:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-main);
}

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

/* Individual Bar Component */
.bar-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bar-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.bar-cat-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rank-tag {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
}

.rank-tag.rank-1 { background: #f59e0b; color: #000; }
.rank-tag.rank-2 { background: #94a3b8; color: #000; }
.rank-tag.rank-3 { background: #b45309; color: #fff; }

.bar-name {
  font-weight: 600;
  color: var(--text-main);
}

.bar-score {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12.5px;
  color: var(--text-muted);
}

.bar-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 4px;
  width: 0%;
  transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.engine-meta {
  font-size: 11.5px;
  color: var(--text-dim);
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Footer */
.footer {
  text-align: center;
  font-size: 12.5px;
  color: var(--text-dim);
  padding-top: 12px;
}

/* Modal Info Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.25s ease;
}

.modal-card {
  max-width: 540px;
  width: 100%;
  position: relative;
  animation: scaleModal 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleModal {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
}

.modal-body {
  padding-top: 12px;
}

.info-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.info-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.info-detail strong {
  font-size: 13.5px;
  color: var(--text-main);
}

.info-detail p {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  padding: 12px 20px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  animation: slideToast 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast i {
  color: #10b981;
}

@keyframes slideToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Responsive Breakdown */
@media (max-width: 992px) {
  .workspace {
    grid-template-columns: 1fr;
  }
  .metrics-banner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .metrics-banner {
    grid-template-columns: 1fr;
  }
  .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
