/* Base44 auth shell parity (2026-03-07) */
body.auth-shell-page {
  background: #f1f5f9;
}

body.auth-shell-page nav,
body.auth-shell-page .site-footer {
  display: none;
}

body.auth-shell-page main.container.section {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  padding: 28px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-shell {
  width: 100%;
  display: flex;
  justify-content: center;
}

.auth-card.auth-card-b44 {
  width: 100%;
  max-width: 420px;
  margin: 0;
  border: 1px solid #dbe2ea;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgb(15 23 42 / 0.14);
}

.auth-card.auth-card-b44.auth-card-register {
  max-width: 520px;
}

.auth-card.auth-card-b44 .card-content {
  padding: 28px;
}

.auth-head {
  text-align: center;
  margin-bottom: 22px;
}

.auth-logo-wrap {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 1px solid #d5deeb;
  background: linear-gradient(180deg, #ffffff 0%, #eef2ff 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgb(79 70 229 / 0.16);
}

.auth-logo-wrap img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.auth-card.auth-card-b44 .auth-title {
  margin: 16px 0 0;
  color: #0f172a;
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.auth-card.auth-card-b44 .auth-subtitle {
  margin: 10px 0 0;
  color: #64748b;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}

.auth-form {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-form .input-field {
  margin: 0;
}

.auth-form .input-field > label {
  color: #475569;
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
}

.auth-form .input-field > input {
  height: 44px;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  box-shadow: none;
}

.auth-form .input-field > input:focus {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgb(139 92 246 / 0.14);
}

.auth-grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.auth-note {
  margin: 2px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 20px;
}

.auth-actions {
  margin-top: 2px;
}

.auth-btn {
  width: 100%;
}

.auth-card.auth-card-b44 .auth-btn {
  min-height: 44px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
}

.auth-footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.telegram-auth-container {
  margin: 0;
  width: 100%;
}

.auth-secondary-btn {
  width: 100%;
  min-height: 42px;
  border-radius: 10px;
}

@media (max-width: 640px) {
  body.auth-shell-page main.container.section {
    padding: 18px 12px;
  }

  .auth-card.auth-card-b44 .card-content {
    padding: 20px;
  }

  .auth-card.auth-card-b44 .auth-title {
    font-size: 30px;
  }

  .auth-grid-two {
    grid-template-columns: 1fr;
  }
}
