/*
 ╔═════════════════════════════════════════════════════════════════════════════╗
 ║    ▄▄███▄▄    ┌────────────────────────────────────────────────────────────┐║
 ║  ▄█▛▘‾ ‾▝▜█▄  │ app.css — ix.ProjRepGen — ix.WP V3.1.14                  │║
 ║ ██▘       ▝██ │                                                            │║
 ║ ██▖       ▗██ ├────────────────────────────────────────────────────────────┤║
 ║ ███▄_   _▄███ │ By Ir.On                                                   │║
 ║ █████████████ │ Agent: Copilot | Sessao: ix.ProjRepGen-V1.0.0                         │║
 ║ ██ ▀ ████████ │ Ultima modificacao: 2026-06-18 - 11:31                           │║
 ║ ██ ● ██▀██▀██ │ ironix.com.br                                              │║
 ║ ▜▛   ██ ▜▛ ██ ├────────────────────────────────────────────────────────────┤║
 ║      ██    ▜▛ │ Caminho:                                                   │║
 ║      ▜▛       │ app/static/css/app.css                          │║
 ║               ├────────────────────────────────────────────────────────────┤║
 ║               │ Detalhes:                                                  │║
 ║               │ * V1.0.0 - Criação inicial                                 │║
 ║               └────────────────────────────────────────────────────────────┘║
 ╚═════════════════════════════════════════════════════════════════════════════╝
*/

:root {
  --bg: #0a0a0f;
  --surface: #12121a;
  --surface2: #1a1a26;
  --accent: #7c3aed;
  --gold: #f59e0b;
  --text: #e8e8f0;
  --muted: #6b7280;
  --line: rgba(255, 255, 255, 0.08);
  --success: #22c55e;
  --danger: #ef4444;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: radial-gradient(circle at top right, rgba(124,58,237,.16), transparent 28%), var(--bg); color: var(--text); font-family: 'Inter', sans-serif; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.app-shell { display: grid; grid-template-columns: 280px 1fr; min-height: 100vh; }
.sidebar { padding: 28px; background: rgba(18, 18, 26, 0.94); border-right: 1px solid var(--line); position: sticky; top: 0; height: 100vh; }
.brand { display: grid; gap: 8px; margin-bottom: 32px; }
.brand-badge { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px; background: linear-gradient(135deg, var(--accent), #4c1d95); box-shadow: var(--shadow); font-weight: 800; font-size: 1.15rem; }
.brand small { color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.menu { display: grid; gap: 12px; }
.menu a { padding: 14px 16px; border: 1px solid transparent; border-radius: 16px; color: #c9cbdd; transition: .2s ease; }
.menu a:hover, .menu a.active { background: rgba(124,58,237,.12); border-color: rgba(124,58,237,.3); color: white; }
.content { padding: 32px; display: grid; gap: 24px; }
.page-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.page-header h1 { font-size: clamp(1.8rem, 2.4vw, 2.8rem); }
.page-header p { color: #b9bbca; max-width: 72ch; }
.grid-4 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.grid-2 { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card { background: linear-gradient(180deg, rgba(26,26,38,.96), rgba(18,18,26,.96)); border: 1px solid var(--line); border-radius: 24px; padding: 24px; box-shadow: var(--shadow); }
.kpi-value { font-size: 2rem; font-weight: 800; margin-top: 8px; }
.muted { color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 14px; border: 1px solid transparent; cursor: pointer; transition: .2s ease; }
.btn-primary { background: linear-gradient(135deg, var(--accent), #5b21b6); color: white; box-shadow: 0 18px 36px rgba(124,58,237,.28); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-secondary { background: rgba(255,255,255,.04); border-color: var(--line); color: var(--text); }
.btn-danger { background: rgba(239,68,68,.12); border-color: rgba(239,68,68,.28); color: #fecaca; }
.btn-warning { background: rgba(245,158,11,.12); border-color: rgba(245,158,11,.28); color: #fde68a; }
.stack { display: grid; gap: 16px; }
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 14px 12px; border-bottom: 1px solid rgba(255,255,255,.06); vertical-align: top; }
th { color: #c4c7d8; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
td { color: #ececf6; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: .82rem; background: rgba(124,58,237,.12); color: #d8ccff; }
.pill.off { background: rgba(107,114,128,.16); color: #d1d5db; }
.flash-stack { position: fixed; top: 22px; right: 22px; z-index: 50; display: grid; gap: 10px; width: min(420px, calc(100vw - 40px)); }
.flash { padding: 14px 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(18,18,26,.96); box-shadow: var(--shadow); }
.flash-success { border-color: rgba(34,197,94,.35); }
.flash-error { border-color: rgba(239,68,68,.35); }
.flash-warning { border-color: rgba(245,158,11,.35); }
.flash-info { border-color: rgba(59,130,246,.35); }
.form-grid { display: grid; gap: 16px; }
.field { display: grid; gap: 10px; }
.field label { color: #d6d8e7; font-weight: 600; }
.field input, .field textarea, .field select { width: 100%; padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); color: var(--text); }
.field textarea { min-height: 180px; resize: vertical; }
.auth-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.auth-card { width: min(440px, 100%); padding: 36px; background: rgba(18,18,26,.95); border: 1px solid rgba(255,255,255,.08); border-radius: 28px; box-shadow: var(--shadow); display: grid; gap: 24px; }
.auth-logo { width: 84px; height: 84px; border-radius: 26px; display: grid; place-items: center; margin: 0 auto; background: linear-gradient(135deg, var(--accent), #4c1d95); font-size: 2rem; font-weight: 900; box-shadow: 0 24px 60px rgba(124,58,237,.4); }
.auth-card h1 { text-align: center; font-size: 2rem; }
.auth-card p { text-align: center; color: #b9bbca; }
.cards-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.presentation-card { display: grid; gap: 18px; }
.thumb { min-height: 180px; border-radius: 20px; background: linear-gradient(135deg, rgba(124,58,237,.28), rgba(245,158,11,.14)); border: 1px solid rgba(255,255,255,.08); display: grid; place-items: center; font-size: 3rem; color: white; }
.iframe-shell { display: grid; gap: 16px; min-height: 100vh; padding: 20px; }
.iframe-shell iframe { width: 100%; min-height: calc(100vh - 90px); border: 0; border-radius: 24px; background: white; }
.helper-list { display: grid; gap: 12px; }
.helper-list li { color: #cfd2e4; margin-left: 18px; }
.top-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.empty { padding: 28px; text-align: center; color: #b9bbca; border: 1px dashed rgba(255,255,255,.16); border-radius: 20px; }

@media (max-width: 960px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; }
  .content { padding: 24px; }
}

/*
 ─────────────────────────────────────────────
   ▗▅▅▖
 ▄▛▘‾‾▝▜▄
 █▖    ▗█   © 2026 Copyright
 ███▅▅███   Ir.On
 ██●█████
 ▜▛  █▜▛█   "Feito com muito carinho."
     █  ▀
     ▀
 ─────────────────────────────────────────────
*/
