:root {
  --bg: #0b0c10;
  --card: #151a22;
  --text: #e5e7eb;
  --subtle: #9ca3af;
  --accent: #60a5fa;
  --ok: #34d399;
  --warn: #fbbf24;
  --err: #f87171;
  --border: #263041;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 50% -20%, #ffffff 0%, #ffffff 50%);
  min-height: 100vh;
}

.center {
  display: grid;
  place-items: center;
  padding: 24px;
}

.card {
  width: 100%;
  max-width: 420px;
  background: var(--card);
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  animation: pop .3s ease;
  margin-top: 0px; /* reduce el espacio vertical */
}

@keyframes pop {
  from { transform: translateY(6px); opacity: .8; }
  to   { transform: translateY(0); opacity: 1; }
}

h1 {
  margin: 0 0 16px 0;
  font-weight: 700;
  letter-spacing: .3px;
}

label {
  display: block;
  font-size: 0.95rem;
  color: var(--subtle);
  margin: 12px 0 6px;
}

input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #0f141b;
  color: var(--text);
  outline: none;
}

input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(96,165,250,.2);
}

.btn {
  width: 100%;
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: linear-gradient(90deg, #fe8c00, #f83600);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {       background: linear-gradient(90deg, #f83600, #fe8c00);
      transform: translateY(-3px);
      box-shadow: 0 6px 15px rgba(248,54,0,0.4); }
.btn:active { transform: translateY(1px); }

.btn.outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.flash-wrap { margin: 10px 0 0; display: grid; gap: 6px; }
.flash {
  font-size: .92rem;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #0f141b;
}
.flash.success { border-color: rgba(52,211,153,.4); }
.flash.warning { border-color: rgba(251,191,36,.4); }
.flash.error   { border-color: rgba(248,113,113,.4); }

.hint {
  margin-top: 10px;
  color: var(--subtle);
  font-size: .85rem;
}
code { background: #0f141b; padding: 2px 6px; border-radius: 6px; }



    .cta {
      display: inline-block;
      background: linear-gradient(90deg, #fe8c00, #f83600);
      color: #fff;
      padding: 14px 34px;
      border-radius: 10px;
      text-decoration: none;
      font-weight: 600;
      font-size: 1rem;
      transition: all 0.3s ease;
    }
    
    .cta:hover {
      background: linear-gradient(90deg, #f83600, #fe8c00);
      transform: translateY(-3px);
      box-shadow: 0 6px 15px rgba(248,54,0,0.4);
    }
    
    .brand {
      display: grid;
      grid-template-columns: repeat(2, auto);
      justify-content: center;
      align-items: center;
      gap: 32px;
      margin: 16px auto 0;  
      text-align: center;
      margin-bottom: 0px;
    }
    
    .brand img {
      height: 100px;
      width: auto;
    }
    
    .brand a {
      display: inline-block;
      transition: transform 0.25s ease, filter 0.25s ease;
    }
    
    .brand a:hover {
      transform: scale(1.05);
      filter: brightness(1.1);
    }
