@font-face {
  font-family: 'Helvetica Now';
  src: url('/fonts/helvetica-now-text-regular.woff2') format('woff2'),
       url('/fonts/helvetica-now-text-regular.woff') format('woff'),
       url('/fonts/helvetica-now-text-regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica Now';
  src: url('/fonts/helveticanowtext-bold-demo.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica Now';
  src: url('/fonts/helveticanowtext-black-demo.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

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

body {
  font-family: 'Helvetica Now', 'Helvetica Neue', Helvetica, -apple-system, sans-serif;
  background: #060e1e;
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.login-card {
  background: #0d2550;
  border: 1px solid #1a3568;
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
  width: 380px;
  max-width: 92vw;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}

.login-logo {
  height: 80px;
  margin-bottom: 24px;
  object-fit: contain;
}

.login-card h1 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.login-subtitle {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 32px;
}

.g_id_signin {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.login-error {
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(248,81,73,0.12);
  border: 1px solid rgba(248,81,73,0.3);
  color: #f85149;
  font-size: 13px;
}

.login-loading {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.1);
  border-top-color: #08ffff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.login-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.login-footer strong { font-weight: 700; }
