*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: #0B0D10; color: #F1F3F5;
  font-family: 'Inter', -apple-system, sans-serif;
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 24px 16px;
}
.auth-card {
  width: 100%; max-width: 400px;
  background: #17191E; border: 1px solid #272B34;
  border-radius: 16px; padding: 40px 32px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.auth-logo { display: block; margin: 0 auto 32px; height: 36px; }
.auth-title {
  font-family: 'Anton', sans-serif; font-size: 28px;
  text-align: center; margin-bottom: 8px;
}
.auth-sub { font-size: 14px; color: #5B6470; text-align: center; margin-bottom: 28px; }

.divider {
  display: flex; align-items: center; gap: 12px;
  margin: 20px 0; color: #5B6470; font-size: 13px;
}
.divider::before, .divider::after {
  content: ''; flex: 1; height: 1px; background: #272B34;
}

.btn-google {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 12px 16px;
  background: #fff; color: #3c4043;
  border: none; border-radius: 8px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  text-decoration: none; margin-bottom: 4px; font-family: inherit;
}
.btn-google:hover { background: #f5f5f5; }
.g-logo { width: 20px; height: 20px; flex-shrink: 0; }

.field {
  display: flex; flex-direction: column; gap: 5px;
  margin-bottom: 14px; font-size: 13px; color: #8A9199;
}
.field input {
  background: #0B0D10; border: 1px solid #272B34; color: #F1F3F5;
  border-radius: 8px; padding: 11px 13px; font-size: 15px;
  font-family: inherit; width: 100%;
}
.field input:focus { outline: none; border-color: #0E6FFF; }

.btn-submit {
  width: 100%; padding: 13px; background: #0E6FFF; color: #fff;
  border: none; border-radius: 8px; font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: inherit; margin-top: 4px;
}
.btn-submit:hover { background: #0B5FE0; }

.auth-error {
  background: #1A0605; border: 1px solid #FF3D2E; color: #FFAA9F;
  border-radius: 8px; padding: 11px 13px; font-size: 14px; margin-bottom: 16px;
}
.auth-success {
  background: #0A1F0A; border: 1px solid #16a34a; color: #86efac;
  border-radius: 8px; padding: 11px 13px; font-size: 14px; margin-bottom: 16px;
}

.auth-links { margin-top: 20px; text-align: center; font-size: 14px; color: #5B6470; }
.auth-links a { color: #5B9FFF; text-decoration: none; }
.auth-links a:hover { text-decoration: underline; }
.forgot-link { float: right; font-size: 13px; color: #5B9FFF; text-decoration: none; }
.forgot-link:hover { text-decoration: underline; }
