/* ATeam landing / sign-in page */

:root {
  --bg-root:       #0c0d12;
  --bg-surface:    #13141c;
  --bg-elev:       #1a1b26;
  --border:        #252838;
  --text:          #d4d8f0;
  --text-dim:      #5c6080;
  --text-vfaint:   #2e3050;
  --accent:        #5b8af0;
}

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

html, body {
  height: 100%;
}

body {
  background: var(--bg-root);
  color: var(--text);
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
}

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.login-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 65% 55% at 50% 0%, rgba(91, 138, 240, .13) 0%, transparent 70%);
}

.login-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(37, 40, 56, .45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 40, 56, .45) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 75%);
}

.login-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 50px 44px;
  width: 440px;
  max-width: 92vw;
  position: relative;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(91, 138, 240, .06);
}

.error-banner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(248, 113, 113, .1);
  border: 1px solid rgba(248, 113, 113, .35);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 24px;
  font-size: 13px;
}

.error-banner strong { color: #f87171; }
.error-banner span { color: var(--text-dim); line-height: 1.5; }

.login-head { text-align: center; margin-bottom: 36px; }

.login-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  margin-bottom: 22px;
  background: linear-gradient(135deg, #5b8af0, #8b5cf6);
  box-shadow: 0 10px 28px rgba(91, 138, 240, .35);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  font-family: 'Geist Mono', monospace;
}

.login-head h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -.03em;
  margin-bottom: 10px;
}

.login-head p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}

.login-agents {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 38px;
}

.login-agents span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--agent-color) 10%, transparent);
  border: 2px solid color-mix(in srgb, var(--agent-color) 27%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--agent-color);
  font-family: 'Geist Mono', monospace;
}

.login-google {
  width: 100%;
  padding: 13px;
  border-radius: 11px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
  text-decoration: none;
  transition: all .2s;
  box-shadow: 0 2px 14px rgba(255, 255, 255, .1);
}

.login-google:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255, 255, 255, .16);
}

.login-footnote {
  text-align: center;
  color: var(--text-vfaint);
  font-size: 11px;
  margin-top: 22px;
  letter-spacing: .03em;
}
