.tailadmin-auth-body {
  min-height: 100vh;
  margin: 0;
  background: #f8f9ff;
  color: #101828;
  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(70, 95, 255, 0.28), transparent 34%),
    linear-gradient(145deg, #111827 0%, #172554 48%, #0f172a 100%);
  color: #fff;
}

.tailadmin-auth-hero::after {
  content: "";
  position: absolute;
  right: -160px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  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(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 500;
}

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

.tailadmin-auth-logo {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(16, 24, 40, 0.16);
}

.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(70, 95, 255, 0.12);
  color: #465fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tailadmin-auth-hero .tailadmin-auth-pill {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

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

.tailadmin-auth-copy p {
  max-width: 490px;
  margin: 0;
  color: rgba(255, 255, 255, 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(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

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

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

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

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

.tailadmin-auth-card {
  width: min(100%, 480px);
  padding: 44px;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(16, 24, 40, 0.08);
}

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

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

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

.tailadmin-auth-alert {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid #fecdca;
  background: #fffbfa;
  color: #b42318;
  font-size: 14px;
  font-weight: 700;
}

.tailadmin-auth-alert[data-tone="success"] {
  border-color: #abefc6;
  background: #f6fef9;
  color: #067647;
}

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

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

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

.tailadmin-auth-field input {
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background: #fff;
  color: #101828;
  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: #465fff;
  box-shadow: 0 0 0 4px rgba(70, 95, 255, 0.12);
}

.tailadmin-auth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: #465fff;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(70, 95, 255, 0.28);
  transition: background 0.16s ease, transform 0.16s ease;
}

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

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

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

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

.tailadmin-auth-links a {
  color: #465fff;
  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;
  }
}
