/* ==========================================================================
   FABIO'S COOK BOOK — LIVRO DE RECEITAS DIGITAL INTELIGENTE (ANTIGRAVITY)
   Domínio: https://receitas.fabiopagani.com.br
   Estilo: Minimalista, Limpo, Moderno e Responsivo (Windows & Android)
   ========================================================================== */

:root {
  --bg-app: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --border-light: #e2e8f0;
  --border-hover: #cbd5e1;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --accent-primary: #0f172a;
  --accent-emerald: #059669;
  --accent-amber: #d97706;
  --accent-danger: #dc2626;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 28px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-app);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* --------------------------------------------------------------------------
   PADRÃO GEOMÉTRICO MINIMALISTA EM TONS DE CINZA COM ÍCONE "+" (CARDS SEM FOTO)
   -------------------------------------------------------------------------- */
.card-geometric-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #f1f5f9;
  background-image:
    linear-gradient(135deg, #e2e8f0 25%, transparent 25%),
    linear-gradient(225deg, #e2e8f0 25%, transparent 25%),
    linear-gradient(45deg, #e2e8f0 25%, transparent 25%),
    linear-gradient(315deg, #e2e8f0 25%, #f1f5f9 25%);
  background-position: 16px 0, 16px 0, 0 0, 0 0;
  background-size: 32px 32px;
  background-repeat: repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-geometric-placeholder::after {
  content: "+";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #cbd5e1;
  color: #64748b;
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

/* --------------------------------------------------------------------------
   CARD VISUAL DE RECEITA (TELA INICIAL)
   -------------------------------------------------------------------------- */
.recipe-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-xs);
}

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

.recipe-card-media {
  position: relative;
  width: 100%;
  height: 205px;
  overflow: hidden;
  background-color: #f1f5f9;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.recipe-card-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.72) 0%, rgba(15, 23, 42, 0.15) 55%, rgba(15, 23, 42, 0.25) 100%);
  pointer-events: none;
}

/* Scrollbar sutil */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* --------------------------------------------------------------------------
   ESTILO DE IMPRESSÃO PARA CARDÁPIO DE EVENTO E LISTA DE COMPRAS (RF03)
   -------------------------------------------------------------------------- */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }

  .no-print {
    display: none !important;
  }

  .print-container {
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}
