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

  :root {
    --bg:       #152639;
    --panel:    #1c3249;
    --border:   #243d55;
    --cyan:     #0aadce;
    --cyan-dim: rgba(10,173,206,.15);
    --cyan-glow:rgba(10,173,206,.35);
    --text:     #e8f2fa;
    --muted:    #6d90aa;
  }

  html, body {
    height: 100%;
    font-family: 'Barlow', sans-serif;
  }

  body {
    display: grid;
    place-items: center;
    min-height: 100vh;
    background: var(--bg);
    /* subtle radial glow in the center */
    background-image: radial-gradient(ellipse 80% 60% at 50% 45%, #1d3d5a 0%, #152639 70%);
  }

  /* ── decorative rings ── */
  .rings {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
  }
  .rings span {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(10,173,206,.06);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 6s ease-in-out infinite;
  }
  .rings span:nth-child(1) { width: 480px;  height: 480px; }
  .rings span:nth-child(2) { width: 720px;  height: 720px; }
  .rings span:nth-child(3) { width: 960px;  height: 960px; }
  .rings span:nth-child(4) { width: 1200px; height: 1200px; }

  @keyframes pulse {
    0%, 100% { opacity: .4; }
    50%       { opacity: 1;  }
  }

  /* ── card ── */
  .card {
    position: relative;
    width: 380px;
    max-width: calc(100vw - 32px);
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 44px 40px 40px;
    box-shadow:
      0 0 0 1px rgba(10,173,206,.08),
      0 8px 32px rgba(0,0,0,.4),
      0 2px 8px rgba(0,0,0,.25);
  }

  /* top cyan accent line */
  .card::before {
    content: '';
    position: absolute;
    top: 0; left: 20%; right: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    border-radius: 0 0 2px 2px;
  }

  /* ── logo ── */
  .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 36px;
  }
  .logo-text {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: .5px;
    line-height: 1;
  }
  .logo-text .white { color: #fff; }
  .logo-text .cyan  { color: var(--cyan); }
  .logo-icon {
    width: 28px;
    height: 28px;
    margin-left: 2px;
    flex-shrink: 0;
  }

  /* ── subtitle ── */
  .subtitle {
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: -28px;
    margin-bottom: 32px;
  }

  /* ── form ── */
  .field {
    position: relative;
    margin-bottom: 14px;
  }
  .field-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--muted);
    transition: color .2s;
    pointer-events: none;
  }
  .field:focus-within .field-icon { color: var(--cyan); }

  input[type="text"],
  input[type="password"] {
    width: 100%;
    padding: 13px 14px 13px 42px;
    background: rgba(0,0,0,.2);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: 'Barlow', sans-serif;
    font-size: 15px;
    font-weight: 400;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
  }
  input::placeholder { color: var(--muted); }
  input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px var(--cyan-dim);
    background: rgba(0,0,0,.3);
  }

  /* ── forgot link ── */
  .forgot {
    display: block;
    text-align: right;
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
    margin-top: 6px;
    margin-bottom: 24px;
    transition: color .2s;
  }
  .forgot:hover { color: var(--cyan); }

  /* ── button ── */
  .btn {
    width: 100%;
    padding: 13px;
    background: var(--cyan);
    border: none;
    border-radius: 8px;
    color: #0d2030;
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .5px;
    cursor: pointer;
    transition: filter .2s, box-shadow .2s, transform .1s;
  }
  .btn:hover {
    filter: brightness(1.1);
    box-shadow: 0 6px 28px var(--cyan-glow);
  }
  .btn:active { transform: scale(.98); }

  /* ── footer ── */
  .footer {
    margin-top: 28px;
    text-align: center;
    font-size: 11px;
    color: rgba(109,144,170,.5);
    letter-spacing: .5px;
  }
