* {
  box-sizing: border-box;
}

body.seller-auth-page {
  margin: 0;
  min-height: 100vh;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background:
    radial-gradient(circle at top left, rgba(229, 9, 20, 0.16), transparent 32%),
    #0f172a;
  color: #f8fafc;
}

.seller-auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.seller-auth-card {
  width: 100%;
  max-width: 430px;
  padding: 34px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 22px;
  background: #1e293b;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.seller-auth-brand {
  color: #e50914;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.seller-auth-kicker {
  margin: 4px 0 28px;
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.seller-auth-card h1 {
  margin: 0 0 8px;
  font-size: 1.9rem;
  line-height: 1.1;
}

.seller-auth-subtitle {
  margin: 0 0 24px;
  color: #94a3b8;
  line-height: 1.5;
}

.seller-auth-form {
  display: grid;
  gap: 10px;
}

.seller-auth-form label {
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 700;
}

.seller-auth-form input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #334155;
  border-radius: 12px;
  background: #0f172a;
  color: #f8fafc;
  font-size: 1rem;
  outline: none;
}

.seller-auth-form input:focus {
  border-color: #e50914;
  box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.18);
}

#signInBtn,
#resetPasswordBtn {
  margin-top: 10px;
  width: 100%;
  padding: 13px 16px;
  border: 0;
  border-radius: 12px;
  background: #e50914;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}

#signInBtn:hover,
#resetPasswordBtn:hover {
  filter: brightness(1.08);
}

#signInBtn:disabled,
#resetPasswordBtn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

#forgotPassword {
  display: inline-block;
  margin-top: 8px;
  color: #94a3b8;
  text-align: center;
  text-decoration: none;
}

#forgotPassword:hover {
  color: #f8fafc;
  text-decoration: underline;
}

.password-wrap {
  position: relative;
}

.password-wrap input {
  padding-right: 72px;
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.toggle-password:hover {
  color: #f8fafc;
}

#toast {
  position: fixed;
  top: 22px;
  right: 22px;
  max-width: 320px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #111827;
  color: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  display: none;
  z-index: 9999;
}

@media (max-width: 520px) {
  .seller-auth-shell {
    padding: 16px;
  }

  .seller-auth-card {
    padding: 26px 22px;
    border-radius: 18px;
  }

  .seller-auth-brand {
    font-size: 1.75rem;
  }
}