.tailadmin-auth-body {
  min-height: 100vh;
  margin: 0;
  background: #141414;
  color: #f0ece0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.tailadmin-auth-shell {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1fr);
  min-height: 100vh;
}

.tailadmin-auth-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 48px;
  background: radial-gradient(circle at 20% 16%, rgba(212, 175, 55, 0.16), transparent 34%),
    linear-gradient(145deg, #1c1c1c 0%, #141414 48%, #0b0a08 100%);
  color: #f0ece0;
}

.tailadmin-auth-hero::after {
  content: "";
  position: absolute;
  right: -160px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 50%;
}

.tailadmin-auth-brand,
.tailadmin-auth-card-brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.tailadmin-auth-brand span span,
.tailadmin-auth-card-brand span span {
  display: block;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}

.tailadmin-auth-brand small,
.tailadmin-auth-card-brand small {
  display: block;
  margin-top: 4px;
  color: rgba(240, 236, 224, 0.72);
  font-size: 13px;
  font-weight: 500;
}

.tailadmin-auth-card-brand small {
  color: #a8a094;
}

.tailadmin-auth-logo {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: #1c1c1c;
  border: 1px solid #3a352c;
}

.tailadmin-auth-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tailadmin-auth-copy {
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.tailadmin-auth-pill,
.tailadmin-auth-heading span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.14);
  color: #d4af37;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tailadmin-auth-hero .tailadmin-auth-pill {
  background: rgba(212, 175, 55, 0.16);
  color: #f0d878;
}

.tailadmin-auth-copy h1 {
  margin: 24px 0 18px;
  max-width: 560px;
  color: #f0ece0;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

.tailadmin-auth-copy p {
  max-width: 490px;
  margin: 0;
  color: rgba(240, 236, 224, 0.76);
  font-size: 17px;
  line-height: 1.7;
}

.tailadmin-auth-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.tailadmin-auth-stats span {
  display: block;
  padding: 16px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.tailadmin-auth-stats strong,
.tailadmin-auth-stats small {
  display: block;
}

.tailadmin-auth-stats strong {
  font-size: 22px;
  color: #f0ece0;
}

.tailadmin-auth-stats small {
  margin-top: 4px;
  color: rgba(240, 236, 224, 0.66);
  font-size: 12px;
}

.tailadmin-auth-panel {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 40px 24px;
  background: #141414;
}

.tailadmin-auth-card {
  width: min(100%, 480px);
  padding: 44px;
  border: 1px solid #3a352c;
  border-radius: 8px;
  background: #1c1c1c;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.tailadmin-auth-heading {
  margin-top: 36px;
  margin-bottom: 28px;
}

.tailadmin-auth-heading h2 {
  margin: 18px 0 10px;
  color: #f0ece0;
  font-size: 30px;
  line-height: 1.18;
  letter-spacing: 0;
}

.tailadmin-auth-heading p,
.tailadmin-auth-note {
  margin: 0;
  color: #a8a094;
  font-size: 15px;
  line-height: 1.6;
}

.tailadmin-auth-alert {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.1);
  color: #f87171;
  font-size: 14px;
  font-weight: 700;
}

.tailadmin-auth-alert[data-tone="success"] {
  border-color: rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.1);
  color: #34d399;
}

.tailadmin-auth-form {
  display: grid;
  gap: 18px;
}

.tailadmin-auth-field {
  display: grid;
  gap: 8px;
}

.tailadmin-auth-field label {
  color: #f0ece0;
  font-size: 14px;
  font-weight: 700;
}

.tailadmin-auth-field input {
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  border: 1px solid #524a3c;
  border-radius: 8px;
  background: #141414;
  color: #f0ece0;
  font: inherit;
  outline: none;
  padding: 0 14px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.tailadmin-auth-field input:focus {
  border-color: #d4af37;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.18);
}

.tailadmin-auth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: #d4af37;
  color: #141414;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(212, 175, 55, 0.24);
  transition: background 0.16s ease, transform 0.16s ease;
}

.tailadmin-auth-button:hover {
  background: #f0d878;
  transform: translateY(-1px);
}

.tailadmin-auth-note {
  margin-top: 18px;
}

.tailadmin-auth-note strong {
  color: #f0ece0;
}

.tailadmin-auth-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.tailadmin-auth-links a {
  color: #d4af37;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.tailadmin-auth-links a:hover {
  text-decoration: underline;
}

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

  .tailadmin-auth-hero {
    min-height: 360px;
    padding: 32px 24px;
  }

  .tailadmin-auth-panel {
    min-height: auto;
    padding-top: 24px;
  }
}

@media (max-width: 560px) {
  .tailadmin-auth-hero {
    min-height: auto;
    gap: 44px;
  }

  .tailadmin-auth-copy h1 {
    font-size: 36px;
  }

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

  .tailadmin-auth-card {
    padding: 28px 22px;
  }

  .tailadmin-auth-heading h2 {
    font-size: 26px;
  }
}