/* MUNDO NUTRIR · estilos complementares ao Tailwind */

html { scroll-behavior: smooth; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 8px; }

/* Modais */
.mn-modal { display: none; }
.mn-modal.aberto { display: flex; }

/* Tabelas responsivas */
.mn-tabela { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.mn-tabela th { text-align: left; font-weight: 800; color: #64748b; text-transform: uppercase; font-size: 0.68rem; letter-spacing: .05em; padding: .6rem .75rem; border-bottom: 2px solid #e2e8f0; white-space: nowrap; }
.mn-tabela td { padding: .65rem .75rem; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }
.mn-tabela tr:hover td { background: #f8fafc; }

/* Inputs padrão */
.mn-input, .mn-select, .mn-textarea {
  width: 100%; border: 1.5px solid #e2e8f0; border-radius: 0.9rem;
  padding: 0.55rem 0.9rem; font-size: 0.9rem; background: #fff; outline: none;
  transition: border .15s, box-shadow .15s;
}
.mn-input:focus, .mn-select:focus, .mn-textarea:focus { border-color: #01C5EE; box-shadow: 0 0 0 3px rgba(1,197,238,.15); }
.mn-label { display:block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: #64748b; margin-bottom: .3rem; }

/* Kanban */
.kanban-col { min-width: 240px; }
.kanban-card { cursor: grab; }
.kanban-card.arrastando { opacity: .4; }
.kanban-col.sobre { outline: 2px dashed #01C5EE; outline-offset: -4px; border-radius: 1rem; }

/* Calendário */
.cal-grade { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dia { min-height: 86px; border-radius: .8rem; border: 1px solid #f1f5f9; padding: .3rem .4rem; background: #fff; font-size: .72rem; overflow: hidden; }
.cal-dia.fora { background: #f8fafc; color: #cbd5e1; }
.cal-dia.hoje { border-color: #FFB100; box-shadow: 0 0 0 2px rgba(255,177,0,.35); }
.cal-evento { display:block; border-radius: .4rem; padding: .1rem .35rem; margin-top: 2px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 700; }

/* Álbum de fotos */
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.album-foto { aspect-ratio: 1; object-fit: cover; border-radius: 1rem; cursor: zoom-in; transition: transform .15s; }
.album-foto:hover { transform: scale(1.03); }

/* Lightbox */
#lightbox { display:none; position: fixed; inset: 0; background: rgba(0,20,25,.92); z-index: 90; align-items: center; justify-content: center; flex-direction: column; padding: 2rem; }
#lightbox.aberto { display: flex; }
#lightbox img { max-width: 92vw; max-height: 82vh; border-radius: 1rem; }

/* Impressão (relatórios prontos para PDF) */
@media print {
  .nao-imprimir { display: none !important; }
  body { background: #fff !important; }
  .pagina-print { box-shadow: none !important; margin: 0 !important; border: none !important; }
}
.pagina-print { background:#fff; max-width: 800px; margin: 1.5rem auto; padding: 2.2rem 2.6rem; box-shadow: 0 2px 14px rgba(0,0,0,.08); border-radius: 6px; }

/* Blobs decorativos da landing */
.blob { position: absolute; border-radius: 9999px; filter: blur(60px); opacity: .35; pointer-events: none; }

/* Escalada do comer (degraus) */
.degrau { transition: transform .15s; }
.degrau:hover { transform: translateY(-4px); }
