* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

:root {
  --bg: #eef2f7;
  --surface: rgba(255, 255, 255, 0.96);
  --text: #0f172a;
  --muted: #64748b;
  --line: #dbe4ef;
  --green: #0f766e;
  --blue: #2563eb;
  --danger: #ef4444;
  --shadow: 0 16px 34px rgba(15, 23, 42, 0.14);
}

body {
  min-height: 100vh;
  padding: 18px;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(20, 184, 166, 0.24), transparent 30rem),
    linear-gradient(135deg, #07111f, #0b2238 46%, #eef2f7 46%);
  background-attachment: fixed;
}

.app {
  max-width: 980px;
  margin: auto;
}

.btn-menu {
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 1001;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.78);
  color: white;
  font-size: 26px;
  cursor: pointer;
}

.menu-lateral {
  position: fixed;
  top: 0;
  left: -280px;
  width: 260px;
  height: 100vh;
  padding: 22px;
  background: var(--text);
  color: white;
  z-index: 1002;
  box-shadow: 12px 0 30px rgba(0, 0, 0, 0.35);
  transition: 0.3s ease;
}

.menu-lateral.aberto {
  left: 0;
}

.menu-lateral h2 {
  margin-bottom: 24px;
  font-size: 22px;
}

.menu-lateral a {
  display: block;
  margin-bottom: 10px;
  padding: 14px;
  border-radius: 14px;
  color: white;
  text-decoration: none;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
}

.usuario-box {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.usuario-box span {
  display: block;
  margin-bottom: 10px;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 800;
  word-break: break-word;
}

.usuario-box button {
  width: 100%;
  min-height: 42px;
  border: none;
  border-radius: 12px;
  background: var(--danger);
  color: white;
  font-weight: 900;
}

.fechar-menu {
  float: right;
  border: none;
  background: none;
  color: white;
  font-size: 34px;
}

.fundo-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1000;
}

.fundo-menu.aberto {
  display: block;
}

.topo {
  margin-top: 58px;
  margin-bottom: 18px;
  padding: 26px;
  border: 1px solid rgba(219, 228, 239, 0.9);
  border-radius: 22px;
  color: white;
  text-align: center;
  background: linear-gradient(135deg, var(--green), var(--blue));
  box-shadow: var(--shadow);
}

.logo-fly {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.75);
}

.titulo-topo h1 {
  margin-top: 12px;
  font-size: 30px;
  letter-spacing: 2px;
}

.titulo-topo p {
  margin-top: 6px;
  color: #dbeafe;
  font-weight: 800;
}

.painel {
  overflow: hidden;
  border: 1px solid rgba(219, 228, 239, 0.95);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.painel-topo {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, white, #f8fafc);
}

.painel-topo span,
.config-form label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.painel-topo strong {
  display: block;
  margin-top: 4px;
  font-size: 21px;
}

.config-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 18px;
}

.config-form label {
  display: grid;
  gap: 7px;
}

.campo-largo,
.status,
.config-form .btn-acao {
  grid-column: 1 / -1;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 12px;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
}

textarea {
  resize: vertical;
}

.btn-acao {
  min-height: 44px;
  border: none;
  border-radius: 13px;
  padding: 0 18px;
  background: var(--green);
  color: white;
  font-weight: 900;
  cursor: pointer;
}

.btn-acao.secundario {
  background: #e8eef7;
  color: var(--text);
}

.status {
  min-height: 22px;
  color: var(--muted);
  font-weight: 900;
}

.status.sucesso {
  color: #15803d;
}

@media (max-width: 720px) {
  body {
    padding: 12px;
    background: linear-gradient(180deg, #07111f 0, #0b2238 190px, #eef2f7 190px);
  }

  .painel-topo,
  .config-form {
    grid-template-columns: 1fr;
  }

  .painel-topo {
    flex-direction: column;
  }
}

/* Identidade visual Fly Brasil 2026 */

body {
  background:
    linear-gradient(115deg, rgba(5, 46, 58, 0.96) 0 18%, transparent 18.1%),
    radial-gradient(circle at 88% 6%, rgba(37, 99, 235, 0.20), transparent 28%),
    linear-gradient(180deg, #eef5fb 0%, #f7fafc 42%, #edf2f7 100%);
  background-attachment: fixed;
}

.app {
  width: min(1180px, calc(100vw - 52px));
  max-width: none;
}

.btn-menu {
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.84);
  color: #111827;
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.menu-lateral {
  background: rgba(255, 255, 255, 0.97);
  color: #111827;
  border-right: 1px solid #e5e7eb;
  box-shadow: 18px 0 42px rgba(15, 23, 42, 0.14);
}

.menu-lateral h2,
.fechar-menu {
  color: #111827;
}

.menu-lateral a {
  background: transparent;
  color: #4b5563;
  border: 1px solid transparent;
}

.menu-lateral a:hover {
  background: #f3f4f6;
  color: #111827;
  border-color: #e5e7eb;
}

.usuario-box {
  border-top-color: #e5e7eb;
}

.usuario-box span {
  color: #6b7280;
}

.topo {
  border-color: rgba(255, 255, 255, 0.45);
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.92), rgba(37, 99, 235, 0.88));
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.topo::after {
  background: rgba(255, 255, 255, 0.14);
}

.logo-fly {
  background: #ffffff;
  border: 6px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
}

.titulo-topo h1,
.titulo-topo p {
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(15, 23, 42, 0.18);
}

.titulo-topo h1 {
  letter-spacing: 0;
}

.painel {
  border: 1px solid #e5e7eb;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 255, 0.96));
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.painel-topo {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.98));
}

input,
textarea {
  border-color: #e5e7eb;
}

.btn-acao {
  background: #111827;
  box-shadow: none;
}

.btn-acao.secundario {
  border: 1px solid #e5e7eb;
  background: #f3f4f6;
  color: #111827;
}

@media (max-width: 720px) {
  body {
    background: linear-gradient(180deg, #062b36 0, #0f766e 178px, #eef5fb 178px);
  }

  .app {
    width: 100%;
  }
}
