@import url("./site.css");

.auth-layout {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 1.2rem;
}

.auth-side,
.auth-card {
  padding: 1.3rem;
}

.detail-title {
  margin: 1rem 0 0.75rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.detail-copy {
  margin: 0 0 1rem;
  color: var(--muted);
}

.auth-card-head {
  margin-bottom: 1rem;
}

.social-grid {
  display: grid;
  gap: 0.9rem;
}

.social-google-slot {
  min-height: 3.25rem;
  display: grid;
  align-items: center;
}

.social-google-slot > div {
  width: 100%;
}

.social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 3.25rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(23, 32, 51, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.social-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.social-button[hidden],
.social-google-slot[hidden] {
  display: none;
}

.social-mark {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
}

.google-mark {
  background: linear-gradient(135deg, #4285f4, #34a853);
}

.apple-mark {
  background: linear-gradient(135deg, #111827, #4b5563);
}

.divider {
  position: relative;
  margin: 1.3rem 0;
  text-align: center;
}

.divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px solid rgba(23, 32, 51, 0.1);
}

.divider span {
  position: relative;
  padding: 0 0.8rem;
  background: #ffffff;
  color: var(--muted);
  font-size: 0.9rem;
}

.auth-form {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field span {
  font-size: 0.92rem;
  font-weight: 700;
}

.field input {
  min-height: 3.2rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(23, 32, 51, 0.1);
  background: rgba(248, 250, 255, 0.9);
  outline: none;
}

.field input:focus {
  border-color: rgba(90, 124, 255, 0.45);
  box-shadow: 0 0 0 5px rgba(90, 124, 255, 0.12);
}

.auth-feedback {
  min-height: 1.1rem;
  margin: 0;
  font-weight: 700;
  color: #0d867a;
}

.auth-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.auth-note a {
  color: var(--accent-2);
  font-weight: 700;
}

@media (max-width: 980px) {
  .auth-layout {
    grid-template-columns: 1fr;
  }
}
