/* House Tempo — login & signup marketing layout */
.auth-body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg, #0b0f14);
  color: var(--text, #e8eef6);
  font-family: var(--font, "Segoe UI", system-ui, sans-serif);
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}

.auth-shell-signup {
  grid-template-columns: 0.95fr 1.15fr;
}

@media (max-width: 960px) {
  .auth-shell,
  .auth-shell-signup {
    grid-template-columns: 1fr;
  }
  .auth-hero {
    min-height: auto !important;
    padding: 28px 22px !important;
  }
}

.auth-hero {
  background:
    radial-gradient(ellipse at 20% 15%, rgba(20, 184, 166, 0.22), transparent 55%),
    radial-gradient(ellipse at 80% 90%, rgba(245, 158, 11, 0.12), transparent 50%),
    linear-gradient(165deg, #0c1219 0%, #0f1f24 50%, #0b0f14 100%);
  border-right: 1px solid rgba(36, 48, 65, 0.9);
  padding: 48px 44px;
  display: flex;
  align-items: center;
}

.auth-hero-inner {
  max-width: 480px;
}

.auth-logo {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
}

.auth-logo strong {
  display: block;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.auth-logo span {
  font-size: 12px;
  color: #8b9bb0;
}

.auth-hero h1 {
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  font-weight: 750;
}

.auth-hero-lead {
  color: #8b9bb0;
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 22px;
}

.auth-bullets {
  margin: 0 0 28px;
  padding-left: 18px;
  color: #b6c3d4;
  font-size: 14px;
  line-height: 1.65;
}

.auth-price-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.35);
}

.auth-price-pill .price {
  font-size: 22px;
  font-weight: 800;
  color: #2dd4bf;
}

.auth-price-pill .per {
  font-size: 13px;
  color: #8b9bb0;
}

.plan-card {
  margin-top: 8px;
  padding: 20px 22px;
  border-radius: 16px;
  background: rgba(22, 29, 39, 0.85);
  border: 1px solid rgba(20, 184, 166, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.plan-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8b9bb0;
  margin-bottom: 6px;
}

.plan-price .big {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #2dd4bf;
}

.plan-price .unit {
  font-size: 16px;
  color: #8b9bb0;
  margin-left: 4px;
}

.plan-tax {
  font-size: 13px;
  color: #f59e0b;
  margin: 4px 0 14px;
}

.plan-card ul {
  margin: 0;
  padding-left: 18px;
  color: #c5d0de;
  font-size: 13.5px;
  line-height: 1.55;
}

.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 28px 48px;
  background: #0b0f14;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: #161d27;
  border: 1px solid #243041;
  border-radius: 20px;
  padding: 36px 34px 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.auth-card-wide {
  max-width: 460px;
}

.auth-card-xl {
  max-width: 640px;
  padding: 40px 40px 36px;
}

.auth-card-head h2 {
  margin: 0 0 8px;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.auth-card-head p {
  margin: 0 0 22px;
  color: #8b9bb0;
  font-size: 14px;
  line-height: 1.45;
}

.auth-form .field {
  margin-bottom: 14px;
}

.auth-form label {
  display: block;
  font-size: 12px;
  color: #8b9bb0;
  margin-bottom: 6px;
  font-weight: 600;
}

.auth-form input,
.auth-form select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #243041;
  background: #121820;
  color: #e8eef6;
  font: inherit;
  font-size: 14px;
}

.auth-form input:focus,
.auth-form select:focus {
  outline: 2px solid rgba(20, 184, 166, 0.35);
  border-color: #14b8a6;
}

.auth-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
}

.auth-form-grid .field-span,
.auth-form-grid .field-section,
.auth-form-grid .auth-submit,
.auth-form-grid .signup-legal {
  grid-column: 1 / -1;
}

.field-section {
  margin: 12px 0 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #5c6b7e;
  font-weight: 700;
}

.auth-submit {
  width: 100%;
  justify-content: center;
  padding: 14px 16px !important;
  font-size: 15px !important;
  margin-top: 8px;
}

.auth-secondary {
  width: 100%;
  justify-content: center;
  padding: 12px 16px !important;
  border-color: rgba(20, 184, 166, 0.45) !important;
  color: #2dd4bf !important;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 16px;
  color: #5c6b7e;
  font-size: 12px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #243041;
}

.auth-footnote,
.auth-switch {
  margin-top: 16px;
  font-size: 12.5px;
  color: #5c6b7e;
  line-height: 1.5;
  text-align: center;
}

.auth-switch a {
  color: #2dd4bf;
  font-weight: 600;
}

.auth-error {
  background: rgba(244, 63, 94, 0.12);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.3);
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 16px;
}

.auth-ok {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 16px;
}

.signup-legal {
  font-size: 12.5px;
  color: #8b9bb0;
  line-height: 1.5;
  margin: 8px 0 4px;
  padding: 12px 14px;
  background: #121820;
  border-radius: 10px;
  border: 1px solid #1a2330;
}

/* Team page */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.team-grid label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.team-grid input,
.team-grid select,
.team-access-form select {
  width: 100%;
  padding: 9px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font: inherit;
}
.prop-check-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 8px;
}
.prop-check-grid.compact {
  margin-top: 10px;
}
.prop-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
}
.team-user-row {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-subtle);
}
.team-user-row:last-child {
  border-bottom: none;
}
.team-user-meta {
  margin-bottom: 12px;
}
.team-access-form {
  display: grid;
  gap: 10px;
}
.team-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
@media (max-width: 700px) {
  .auth-form-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
  .auth-card-xl {
    padding: 28px 20px;
  }
}
