:root{
    --bg1:#0f172a;
    --accent1:#ff7a18;
    --accent2:#ff3cac;
    --card:#0b1220;
    --glass: rgba(255,255,255,0.03);
  }
  
  *{box-sizing:border-box}
  html,body{height:100%}
  body{
    margin:0;
    font-family:Inter, "Segoe UI", Roboto, Arial, sans-serif;
    background: linear-gradient(180deg,var(--bg1) 0%, #071029 100%);
    color:#e6eef8;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
  }
  
  .bg-anim{
    position:fixed; inset:0; z-index:-1;
    background: radial-gradient(circle at 10% 20%, rgba(255,122,24,0.07), transparent 8%),
                radial-gradient(circle at 90% 80%, rgba(255,60,172,0.06), transparent 10%);
    animation: float 10s linear infinite;
  }
  @keyframes float{0%{transform:translateY(0)}50%{transform:translateY(-8px)}100%{transform:translateY(0)}}
  
  .container{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:24px;
  }
  
  .card{
    width:100%;
    max-width:420px;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border-radius:16px;
    padding:28px;
    box-shadow: 0 8px 40px rgba(2,6,23,0.6);
    border: 1px solid rgba(255,255,255,0.03);
    backdrop-filter: blur(6px);
  }
  
  .brand{ text-align:center; margin-bottom:12px }
  .logo{ width:56px; height:56px; display:inline-block; border-radius:12px; box-shadow:0 6px 20px rgba(255,122,24,0.12) }
  .brand h1{ margin:10px 0 0; font-size:20px; letter-spacing:0.4px }
  .subtitle{ color: #a9c0df; margin-top:6px; font-size:13px }
  
  .form{ margin-top:8px }
  .field{ margin-bottom:14px }
  .field label{ display:block; font-size:13px; color:#9fb3d0; margin-bottom:6px }
  .field input{
    width:100%; padding:12px 14px; border-radius:10px; border:1px solid rgba(255,255,255,0.04);
    background:var(--glass); color: #e6eef8; outline:none; font-size:15px;
    transition: box-shadow .15s, transform .15s;
  }
  .field input:focus{ box-shadow: 0 6px 18px rgba(7,12,27,0.6); transform:translateY(-1px) }
  
  .pw-wrap{ position:relative }
  #togglePw{
    position:absolute; right:6px; top:6px; bottom:6px; border:none; background:transparent; color:#c0d6f0;
    padding:8px; border-radius:8px; cursor:pointer; font-size:14px;
  }
  .msg{ min-height:20px; margin-bottom:10px; font-size:14px }
  
  .actions{ display:flex; justify-content:center; margin-top:8px }
  .btn-primary{
    background: linear-gradient(90deg,var(--accent1), var(--accent2));
    border:none; color:#081022; font-weight:700; padding:12px 20px; border-radius:12px;
    box-shadow: 0 10px 30px rgba(255,122,24,0.15);
    cursor:pointer; font-size:15px;
  }
  .btn-primary:active{ transform: translateY(1px) }
  
  .help{ text-align:center; margin-top:14px; color:#8faed9; font-size:12px }
  
  @media (max-width:480px){
    .card{ padding:18px; border-radius:12px }
    .brand h1{ font-size:18px }
  }
/*************************************/  