/* -------------------------------------------------------------------------
   Estilos pagina de confirmacion - paleta inspirada en Aeromexico
   (azul institucional #0B2A6B / #16367C, acentos, fondo limpio)
   Sin recursos externos para cumplir la CSP estricta de CloudFront.
   ------------------------------------------------------------------------- */

:root {
  --amx-blue: #0B2A6B;
  --amx-blue-2: #16367C;
  --amx-accent: #E4002B;   /* rojo/acento Aeromexico */
  --amx-green: #0A7A3B;
  --text: #1c2430;
  --muted: #6b7280;
  --bg: #f4f6fb;
  --card-bg: #ffffff;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(11, 42, 107, 0.10), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, #eef1f8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}

.card {
  background: var(--card-bg);
  width: 100%;
  max-width: 480px;
  border-radius: 18px;
  padding: 40px 32px 28px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(11, 42, 107, 0.14);
  border-top: 6px solid var(--amx-blue);
  animation: rise 0.5s ease-out both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.brand {
  margin-bottom: 18px;
}

.brand__logo {
  display: block;
  margin: 0 auto;
  width: 180px;
  max-width: 60%;
  height: auto;
}

.check {
  margin: 8px auto 6px;
  display: flex;
  justify-content: center;
}

.check svg {
  animation: pop 0.5s ease-out 0.15s both;
}

@keyframes pop {
  0%   { transform: scale(0.6); opacity: 0; }
  70%  { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); }
}

.title {
  font-size: 22px;
  line-height: 1.35;
  color: var(--amx-blue-2);
  margin: 14px 0 6px;
  font-weight: 700;
}

.footer-note {
  margin-top: 22px;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 380px) {
  .card { padding: 32px 20px 22px; }
  .title { font-size: 19px; }
}
