:root{
    --bg: #0b1220;
    --card: rgba(255,255,255,.06);
    --card2: rgba(255,255,255,.09);
    --txt: #eaf0ff;
    --muted: rgba(234,240,255,.75);
    --line: rgba(255,255,255,.12);
    --ok: #22c55e;
    --info: #60a5fa;
    --err: #ef4444;
    --shadow: 0 20px 60px rgba(0,0,0,.45);
  }
  
  *{ box-sizing: border-box; }
  html,body{ height: 100%; }
  body{
    margin:0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: radial-gradient(1200px 800px at 20% 10%, rgba(96,165,250,.25), transparent 55%),
                radial-gradient(900px 600px at 80% 60%, rgba(34,197,94,.18), transparent 55%),
                var(--bg);
    color: var(--txt);
  }
  
  .wrap{
    min-height: 100%;
    display:flex;
    align-items:center;
    justify-content:center;
    padding: 18px;
  }
  
  .card{
    width: 100%;
    max-width: 520px;
    background: linear-gradient(180deg, var(--card), rgba(255,255,255,.04));
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 18px;
    backdrop-filter: blur(10px);
  }
  
  h1{
    margin: 10px 0 10px;
    font-size: clamp(22px, 3vw, 28px);
    line-height: 1.15;
  }
  
  .muted{
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 14px;
  }
  
  .form{
    display:flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
  }
  
  label{
    display:flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    color: var(--muted);
  }
  
  input{
    width: 100%;
    padding: 12px 12px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(0,0,0,.25);
    color: var(--txt);
    outline: none;
  }
  
  input:focus{
    border-color: rgba(96,165,250,.65);
    box-shadow: 0 0 0 4px rgba(96,165,250,.15);
  }
  
  .btn{
    margin-top: 4px;
    padding: 12px 14px;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    color: #07101f;
    background: linear-gradient(90deg, rgba(96,165,250,1), rgba(34,197,94,1));
    font-weight: 700;
  }
  
  .btn:active{ transform: translateY(1px); }
  
  .alert{
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(0,0,0,.25);
    font-size: 14px;
  }
  
  .alert.error{
    border-color: rgba(239,68,68,.45);
    background: rgba(239,68,68,.10);
    color: #ffd1d1;
  }
  
  .badge{
    display:inline-flex;
    align-items:center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(0,0,0,.22);
    font-size: 13px;
  }
  
  .badge.success{
    border-color: rgba(34,197,94,.45);
    background: rgba(34,197,94,.12);
  }
  
  .badge.info{
    border-color: rgba(96,165,250,.45);
    background: rgba(96,165,250,.12);
  }
  
  .grid{
    margin-top: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow:hidden;
  }
  
  .row{
    display:flex;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(0,0,0,.18);
    border-bottom: 1px solid var(--line);
  }
  .row:nth-child(even){ background: rgba(0,0,0,.12); }
  .row:last-child{ border-bottom: 0; }
  
  .k{
    width: 120px;
    min-width: 120px;
    color: var(--muted);
    font-size: 13px;
  }
  .v{
    flex: 1;
    font-size: 14px;
    color: var(--txt);
    word-break: break-word;
  }
  
  .note{
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px dashed rgba(255,255,255,.18);
    background: rgba(0,0,0,.16);
    color: var(--muted);
    font-size: 13px;
  }
  
  /* Mejoras para pantallas grandes */
  @media (min-width: 900px){
    .card{ padding: 22px; }
  }