[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #0f766e; outline-offset: 4px; }
.btn-primary { background: linear-gradient(135deg, #157f72, #0f635c); }
.auth-switch a { text-decoration: underline; font-weight: 700; color: var(--accent-dark); }
.auth-page { min-height: 100vh; display: grid; place-items: center; padding: 1.25rem; }
.auth-panel { width: min(100%, 450px); padding: clamp(1.4rem, 7vw, 3rem); text-align: center; }
.auth-panel .logo { justify-content: center; font-size: 2rem; margin-bottom: 1rem; }
.auth-panel h1 { font-size: 1.5rem; margin-bottom: .85rem; }
.auth-note { color: var(--text-muted); margin-bottom: 1.35rem; }
.auth-fields { display: grid; gap: 1rem; text-align: left; border: 0; min-width: 0; }
.auth-fields label { display: block; font-size: .94rem; font-weight: 650; color: var(--text-muted); margin-bottom: .35rem; }
.auth-fields input:not([type="radio"]), .auth-fields select { width: 100%; border: 1px solid #b5cac4; border-radius: 12px; padding: .8rem; background: #fff9; font: inherit; }
.auth-fields .btn:disabled { opacity: .7; cursor: default; transform: none; }
.auth-switch { border-top: 1px solid #d2e8e0; margin-top: 1.5rem; padding-top: 1.35rem; }
.auth-message:not(:empty) { margin: 0 0 1rem; color: #0d6059; font-size: .95rem; }
.auth-message.auth-error { color: #9b2531; }
.auth-hint { margin-top: .35rem; font-size: .9rem; color: var(--text-muted); }
.auth-switch p + p { margin-top: .65rem; }
.auth-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 1rem; }
.auth-buttons .btn { color: var(--accent-dark); border: 1px solid #8fb5aa; background: white; font: inherit; font-weight: 650; }
#account-type-form, #personal-visibility-form { margin: 1rem 0; }

.auth-google { margin: 0 0 1rem; }
.google-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #747775;
  border-radius: 8px;
  background: #fff;
  color: #1f1f1f;
  font: 500 .938rem/1.25 system-ui, sans-serif;
  cursor: pointer;
}
.google-button:hover:not(:disabled) { background: #f5f8fd; }
.google-button:disabled { opacity: .65; cursor: default; }
.auth-divider { margin: 1rem 0 0; color: var(--text-muted); font-size: .94rem; }
#google-account .auth-hint { margin: 0 0 .5rem; }

.account-type-options { min-width: 0; border: 0; }
.account-type-options legend { margin-bottom: .35rem; font-size: .94rem; font-weight: 650; color: var(--text-muted); }
.account-type-choices { display: flex; gap: .55rem; flex-wrap: wrap; }
.auth-fields .account-type-choices label {
  display: flex;
  flex: 1 0 auto;
  align-items: center;
  gap: .5rem;
  min-height: 2.75rem;
  margin: 0;
  padding: .45rem .75rem;
  border: 1px solid #b5cac4;
  border-radius: 12px;
  background: #fff9;
  color: var(--text-main);
  cursor: pointer;
}
.account-type-choices input[type="radio"] { width: 1rem; height: 1rem; accent-color: var(--accent-dark); }

.auth-legal { margin-top: .9rem; padding: 0; background: none; font-size: .84rem; }
.auth-legal a { text-decoration: underline; }
