.auth-view {
  min-height: 100vh;
  background: linear-gradient(180deg, #f8fbff 0%, #eef3fb 100%);
}

.auth-main {
  padding: 30px 0 46px;
}

.auth-boot {
  border: 1px dashed #cfdcf3;
  border-radius: 14px;
  background: #fff;
  color: #4f6288;
  font-weight: 700;
  padding: 16px;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 16px;
}

.auth-copy {
  display: grid;
  gap: 12px;
  align-content: start;
  background: linear-gradient(145deg, #ffffff 0%, #f7f9ff 100%);
}

.auth-copy h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.15;
}

.auth-copy p {
  margin: 0;
}

.auth-bullets {
  margin: 4px 0 0;
  padding-left: 18px;
}

.auth-card {
  display: grid;
  gap: 14px;
  align-content: start;
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(17, 36, 71, 0.07);
}

.auth-view .alert {
  border-radius: 10px;
  padding: 11px 13px;
  font-weight: 600;
  border: 1px solid transparent;
}

.auth-view .alert-info {
  background: #ecf4ff;
  border-color: #c8dcfa;
  color: #214f8f;
}

.auth-view .alert-success {
  background: #eaf8ee;
  border-color: #c3e6cf;
  color: #16633a;
}

.auth-view .alert-error {
  background: #fdecec;
  border-color: #f4c2c2;
  color: #8e2a2a;
}

.auth-card h2 {
  margin: 0;
}

.auth-card p {
  margin: 0;
}

.auth-form {
  display: grid;
  gap: 11px;
}

.auth-form input {
  background: #f8fbff;
}

.auth-form .btn-primary {
  width: 100%;
}

.terms-check {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.9rem;
  color: #415378;
  line-height: 1.35;
}

.terms-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  flex: 0 0 auto;
}

.terms-check span {
  display: inline;
}

.terms-check a {
  color: #1d47cf;
  font-weight: 700;
  text-decoration: none;
}

.terms-check a:hover {
  text-decoration: underline;
}

.field-error {
  margin: -2px 0 0;
  color: #ad2f2f;
  font-size: 0.82rem;
  font-weight: 600;
}

.auth-foot-link {
  margin-top: 2px;
  font-size: 0.9rem;
}

.auth-foot-link a {
  color: #1d47cf;
  font-weight: 700;
  text-decoration: none;
}

.auth-foot-link a:hover {
  text-decoration: underline;
}

.auth-divider {
  margin: 2px 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #6b7892;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #d8e2f2;
}

.auth-google-wrap {
  min-height: 40px;
  display: grid;
  gap: 8px;
}

.gsi-material-button {
  width: 100%;
  appearance: none;
  border: 1px solid #d6dbe8;
  border-radius: 8px;
  background: #fff;
  cursor: default;
  min-height: 40px;
  padding: 0;
}

.gsi-material-button-content-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  padding: 8px 12px;
}

.gsi-material-button-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
}

.gsi-material-button-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.gsi-material-button-contents {
  font-size: 0.9rem;
  font-weight: 600;
  color: #24344f;
}

.auth-helper {
  font-size: 0.83rem;
}

.hidden {
  display: none !important;
}

@media (max-width: 960px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }
}
