/* Страница входа. */

.login-card {
  max-width: 360px; margin: 60px auto;
  background: var(--surface); padding: 28px;
  border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow);
}
.login-card h1 { margin-top: 0; font-weight: 700; }
.or { text-align: center; color: var(--text-mute); margin: 14px 0; position: relative; }
.or::before, .or::after {
  content: ''; position: absolute; top: 50%; width: 40%; height: 1px; background: var(--border);
}
.or::before { left: 0; }
.or::after { right: 0; }
.or span { background: var(--surface); padding: 0 8px; position: relative; z-index: 1; }

/* «Sign in with Google»: белая скруглённая кнопка с цветным лого G и жирным текстом */
.btn--google {
  width: 100%; height: 44px; padding: 0 14px; gap: 10px; justify-content: center;
  background: #fff; color: #1f1f1f; border: 1px solid #dadce0; border-radius: 10px;
  font-size: 14px; font-weight: 700; text-decoration: none;
  transition: background-color .2s, box-shadow .2s;
}
.btn--google:hover {
  filter: none; background: #f8fafd;
  box-shadow: 0 1px 2px rgba(60, 64, 67, .3), 0 1px 3px 1px rgba(60, 64, 67, .15);
}
.btn--google:active { background: #eef1f6; }
.btn--google:focus-visible { outline: 2px solid #4285f4; outline-offset: 2px; }
[data-theme="dark"] .btn--google { background: #131314; color: #e3e3e3; border-color: #5f6368; }
[data-theme="dark"] .btn--google:hover {
  background: #1d1e20;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 1px 3px 1px rgba(0, 0, 0, .15);
}
[data-theme="dark"] .btn--google:active { background: #26272a; }
.g-icon { width: 18px; height: 18px; flex: none; display: block; }
