/* ==========================================================================
   DESIGN SYSTEM - RECEITAS & SABOR (BLOG DE CULINÁRIA PREMIUM)
   ========================================================================== */

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

:root {
  /* Colors - Light Theme */
  --c-primary: #E64A19;
  --c-primary-hover: #D84315;
  --c-primary-light: rgba(230, 74, 25, 0.1);
  --c-secondary: #FF9800;
  --c-secondary-light: #FFF3E0;
  --c-accent-green: #388E3C;
  --c-accent-green-light: #E8F5E9;
  
  --bg-main: #FAF7F2;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.85);
  
  --text-main: #2C1E16;
  --text-muted: #6B5B52;
  --text-light: #A09086;
  --border-color: #EFE6DD;
  --shadow-sm: 0 2px 8px rgba(44, 30, 22, 0.05);
  --shadow-md: 0 8px 24px rgba(44, 30, 22, 0.08);
  --shadow-lg: 0 16px 40px rgba(44, 30, 22, 0.12);

  /* Layout */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --max-width: 1240px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg-main: #14100E;
  --bg-surface: #1E1815;
  --bg-surface-elevated: #2A221E;
  --bg-glass: rgba(30, 24, 21, 0.88);
  
  --text-main: #F5EFEA;
  --text-muted: #C0B2A8;
  --text-light: #8C7B70;
  --border-color: #382D26;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
}

/* ADMIN SCOPING - Trava de Segurança para Visitantes Gerais */
body:not([data-admin="true"]) .admin-only {
  display: none !important;
}

body[data-admin="true"] .admin-only {
  display: inline-flex !important;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

h1, h2, h3, .font-serif {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button, input, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navbar */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

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

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

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
  color: #FFF;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(230, 74, 25, 0.3);
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.logo-text span {
  color: var(--c-primary);
}

.logo-tagline {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  display: block;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.search-box {
  flex: 1;
  max-width: 440px;
  position: relative;
}

.search-input {
  width: 100%;
  height: 46px;
  padding: 0 16px 0 46px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.search-input:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px var(--c-primary-light);
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 18px;
}

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

.btn-fridge-tool {
  background: linear-gradient(135deg, var(--c-primary), #F57C00);
  color: #FFF;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(230, 74, 25, 0.35);
  transition: var(--transition);
}

.btn-fridge-tool:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 74, 25, 0.45);
}

.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: var(--transition);
}

.theme-toggle:hover {
  background: var(--c-secondary-light);
  color: var(--c-primary);
}

/* Category Navigation Bar */
.category-bar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
}

.category-scroll {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  padding-bottom: 2px;
}

.category-scroll::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.cat-pill:hover, .cat-pill.active {
  background: var(--c-primary);
  color: #FFF;
  border-color: var(--c-primary);
  box-shadow: 0 4px 12px rgba(230, 74, 25, 0.25);
}

/* Main Content Layout */
.main-layout {
  padding: 32px 0 60px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
}

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

/* Hero Section / Recipe of the Week */
.hero-recipe-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  transition: var(--transition);
}

@media (max-width: 768px) {
  .hero-recipe-card {
    grid-template-columns: 1fr;
  }
}

.hero-img-wrapper {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

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

.hero-recipe-card:hover .hero-img-wrapper img {
  transform: scale(1.04);
}

.badge-featured {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(230, 74, 25, 0.9);
  backdrop-filter: blur(8px);
  color: #FFF;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.recipe-category-tag {
  color: var(--c-primary);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.hero-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.hero-title:hover {
  color: var(--c-primary);
}

.hero-description {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recipe-stats-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.stat-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  background: var(--bg-main);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.stat-chip i {
  color: var(--c-primary);
}

.btn-primary {
  background: var(--c-primary);
  color: #FFF;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(230, 74, 25, 0.25);
  align-self: flex-start;
}

.btn-primary:hover {
  background: var(--c-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(230, 74, 25, 0.35);
}

/* Section Header */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--c-primary);
  border-radius: 2px;
  margin-top: 4px;
}

/* Recipe Grid */
.recipes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.recipe-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.recipe-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-primary-light);
}

.card-img-wrapper {
  position: relative;
  height: 180px;
  overflow: hidden;
}

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

.recipe-card:hover .card-img-wrapper img {
  transform: scale(1.06);
}

.card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  color: var(--text-main);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  border: 1px solid var(--border-color);
}

/* Admin Action Overlay Buttons on Cards & Modal */
.card-admin-actions {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  z-index: 10;
}

.btn-admin-action {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  color: #FFF;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-admin-action:hover {
  background: var(--c-primary);
  transform: scale(1.1);
}

.btn-admin-action.btn-delete:hover {
  background: #D32F2F;
}

.btn-delete-modal {
  background: rgba(229, 57, 53, 0.2);
  color: #FF8A80;
  border: 1px solid rgba(229, 57, 53, 0.4);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-delete-modal:hover {
  background: #E53935;
  color: #FFF;
}

.btn-edit-photo-modal {
  background: rgba(255, 152, 0, 0.2);
  color: #FFE0B2;
  border: 1px solid rgba(255, 152, 0, 0.4);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-edit-photo-modal:hover {
  background: #F57C00;
  color: #FFF;
}

.btn-edit-recipe-modal {
  background: rgba(33, 150, 243, 0.2);
  color: #90CAF9;
  border: 1px solid rgba(33, 150, 243, 0.4);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-edit-recipe-modal:hover {
  background: #1976D2;
  color: #FFF;
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.3;
  cursor: pointer;
  transition: var(--transition);
}

.card-title:hover {
  color: var(--c-primary);
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

/* Sidebar & Monetization Blocks */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.widget-box {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.widget-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Ad Placement Mockup */
.ad-container {
  background: var(--bg-main);
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ad-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 10px;
}

.ad-banner-content {
  background: linear-gradient(135deg, #FFF8E1, #FFECB3);
  border-radius: var(--radius-sm);
  padding: 16px;
  color: #5D4037;
}

[data-theme="dark"] .ad-banner-content {
  background: linear-gradient(135deg, #3E2723, #4E342E);
  color: #FFE0B2;
}

.ad-banner-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.ad-banner-desc {
  font-size: 12px;
  opacity: 0.85;
  margin-bottom: 12px;
}

.ad-btn {
  background: #FF6F00;
  color: #FFF;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
}

/* E-Book Lead Magnet Card */
.ebook-card {
  background: linear-gradient(135deg, #2E7D32, #1B5E20);
  color: #FFF;
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(46, 125, 50, 0.25);
}

.ebook-card::before {
  content: '📖';
  position: absolute;
  right: -10px;
  bottom: -20px;
  font-size: 110px;
  opacity: 0.15;
}

.ebook-tag {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 12px;
}

.ebook-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.2;
}

.ebook-desc {
  font-size: 13px;
  opacity: 0.9;
  margin-bottom: 16px;
}

.btn-ebook {
  background: #FFF;
  color: #1B5E20;
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  transition: var(--transition);
}

.btn-ebook:hover {
  background: #F1F8E9;
  transform: translateY(-2px);
}

/* Affiliate Products Widget */
.affiliate-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.affiliate-item:last-child {
  border-bottom: none;
}

.affiliate-img {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: var(--bg-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.affiliate-details {
  flex: 1;
}

.affiliate-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}

.affiliate-price {
  font-size: 12px;
  color: var(--c-primary);
  font-weight: 700;
}

.btn-affiliate-link {
  font-size: 11px;
  color: #FFF;
  background: linear-gradient(135deg, #00F2FE, #4FACFE);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(79, 172, 254, 0.3);
}

.btn-affiliate-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(79, 172, 254, 0.5);
}

.btn-delete-affiliate {
  background: transparent;
  color: #E53935;
  border: none;
  font-size: 12px;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: var(--radius-sm);
  margin-left: 4px;
}

.btn-delete-affiliate:hover {
  background: rgba(229, 57, 53, 0.1);
}

/* ==========================================================================
   MODAL / RECIPE READER & FRIDGE TOOL
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--bg-surface);
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: var(--transition);
}

.modal-backdrop.active .modal-container {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.5);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 10;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: rotate(90deg);
}

.recipe-hero-header {
  position: relative;
  height: 300px;
}

.recipe-hero-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recipe-header-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  color: #FFF;
}

.recipe-modal-body {
  padding: 32px;
}

/* Portion Scaler Widget */
.scaler-box {
  background: var(--bg-main);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  border: 1px solid var(--border-color);
}

.scaler-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-scale {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.btn-scale:hover {
  background: var(--c-primary);
  color: #FFF;
  border-color: var(--c-primary);
}

.serving-count {
  font-weight: 700;
  font-size: 15px;
  min-width: 90px;
  text-align: center;
}

/* Interactive Checklist */
.checklist-group {
  margin-bottom: 32px;
}

.checklist-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ingredient-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-color);
  cursor: pointer;
  user-select: none;
}

.ingredient-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--c-primary);
  cursor: pointer;
}

.ingredient-item.checked span {
  text-decoration: line-through;
  color: var(--text-light);
}

/* Preparation Steps */
.step-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--c-primary);
  color: #FFF;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-text {
  font-size: 15px;
  color: var(--text-main);
  padding-top: 4px;
}

/* Chef Tip Callout */
.chef-tip-box {
  background: linear-gradient(135deg, var(--c-secondary-light), #FFF8E1);
  border-left: 4px solid var(--c-secondary);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 24px 0;
  color: #5D4037;
}

[data-theme="dark"] .chef-tip-box {
  background: linear-gradient(135deg, #3E2723, #2A1C18);
  border-left-color: #FFB74D;
  color: #FFE0B2;
}

.chef-tip-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Schema JSON-LD Inspector */
.schema-toggle-btn {
  background: var(--bg-main);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  margin-top: 24px;
  cursor: pointer;
}

.schema-code-block {
  background: #1E1E1E;
  color: #D4D4D4;
  padding: 16px;
  border-radius: var(--radius-sm);
  font-family: monospace;
  font-size: 12px;
  margin-top: 12px;
  display: none;
  overflow-x: auto;
}

.schema-code-block.show {
  display: block;
}

/* Footer */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 48px 0 24px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 14px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--c-primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  font-size: 13px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

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

.toast {
  background: var(--bg-surface);
  color: var(--text-main);
  border-left: 4px solid var(--c-primary);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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