/* Auth — страница входа */
.auth-page {
  min-height: calc(100vh - 64px - 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background: var(--bg);
}
.auth-section {
  width: 100%;
  max-width: 400px;
}
.auth-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 36px;
  font-family: 'DM Sans', system-ui, sans-serif;
}
.auth-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -.02em;
}
.auth-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.auth-label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.auth-label span {
  font-size: 13px;
  color: var(--text-muted);
}
.auth-label input {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  transition: border-color .15s;
}
.auth-label input:focus {
  outline: none;
  border-color: var(--accent);
}
.auth-label input::placeholder {
  color: var(--text-muted);
  opacity: .7;
}
.auth-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.auth-label select {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  background: white;
  cursor: pointer;
}
.auth-label select:focus {
  outline: none;
  border-color: var(--accent);
}
.auth-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}
.auth-footer {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
}
.auth-footer a {
  color: var(--accent);
  font-weight: 600;
}
.auth-footer a:hover {
  text-decoration: underline;
}

/* Google Sign-In button */
.auth-divider {
  display: flex;
  align-items: center;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 14px;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-divider span {
  padding: 0 16px;
}

.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: background .15s, box-shadow .15s;
  cursor: pointer;
}

.btn-google:hover {
  background: #f8fafc;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.google-icon {
  width: 20px;
  height: 20px;
}

/* Password Strength Meter */
.password-strength-container {
  margin: -12px 0 0;
}

.password-strength-bar {
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}

.password-strength-fill {
  height: 100%;
  width: 0;
  background: #dc2626;
  transition: width 0.3s, background 0.3s;
}

.password-strength-fill.weak {
  width: 25%;
  background: #dc2626;
}

.password-strength-fill.fair {
  width: 50%;
  background: #f59e0b;
}

.password-strength-fill.good {
  width: 75%;
  background: #0ea5e9;
}

.password-strength-fill.strong {
  width: 100%;
  background: #10b981;
}

.password-strength-text {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

/* Password Requirements */
.password-requirements {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  margin: -4px 0 0;
}

.password-requirements p {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.password-requirements ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.password-requirements li {
  font-size: 13px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.password-requirements li i {
  font-size: 8px;
  color: #cbd5e1;
  transition: color 0.2s;
}

.password-requirements li.valid i {
  color: #10b981;
}

.password-requirements li.valid {
  color: #059669;
}

