body.sub2api-auth-page,
html.dark body.sub2api-auth-page {
  min-height: 100vh !important;
  background-color: #160e08 !important;
  background-image: linear-gradient(135deg, #160e08 0%, #1c1008 48%, #0f0905 100%) !important;
  color: #f8f2eb !important;
}

body.sub2api-auth-page #app {
  background: transparent !important;
}

.sub2api-auth-topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  padding: 0 2rem;
  color: #efe4d8;
  pointer-events: none;
}

.sub2api-auth-topbar a,
.sub2api-auth-topbar button {
  pointer-events: auto;
}

.sub2api-auth-topbar-brand,
.sub2api-auth-topbar-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.sub2api-auth-topbar-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.875rem;
  height: 1.875rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #f0a16b, #d4774a);
  color: #160e08;
  font-weight: 800;
  box-shadow: 0 0.75rem 1.5rem rgba(212, 119, 74, 0.26);
}

.sub2api-auth-topbar-name {
  color: #f7efe7;
  font-size: 0.875rem;
  font-weight: 700;
}

.sub2api-auth-lang,
.sub2api-auth-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  height: 1.875rem;
  border: 1px solid rgba(232, 137, 90, 0.28);
  border-radius: 9999px;
  background: rgba(22, 14, 8, 0.5);
  color: #f0ded0;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.sub2api-auth-home {
  min-width: 2.5rem;
  border-color: transparent;
  background: transparent;
}

.sub2api-auth-lang:hover,
.sub2api-auth-home:hover {
  color: #f0a16b;
  border-color: rgba(232, 137, 90, 0.45);
  background: rgba(232, 137, 90, 0.08);
}

body.sub2api-auth-page .sub2api-auth-root {
  min-height: 100vh !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 7.5rem 1.5rem 4rem !important;
  overflow: hidden !important;
  background: transparent !important;
}

body.sub2api-auth-page .sub2api-auth-root > .absolute.inset-0,
body.sub2api-auth-page .sub2api-auth-root .pointer-events-none.absolute.inset-0 {
  background: transparent !important;
}

body.sub2api-auth-page .sub2api-auth-root .pointer-events-none.absolute.inset-0 > div:not([class*="bg-\\["]) {
  display: none !important;
}


body.sub2api-auth-page .sub2api-auth-panel-wrap {
  width: min(100%, 22.5rem) !important;
  max-width: 22.5rem !important;
}

body.sub2api-auth-page .sub2api-auth-brand-stack {
  margin-bottom: 1.5rem !important;
}

body.sub2api-auth-page .sub2api-auth-brand-stack > template,
body.sub2api-auth-page .sub2api-auth-brand-stack > div:first-child {
  margin-bottom: 0.875rem !important;
}

body.sub2api-auth-page .sub2api-auth-brand-stack .h-16.w-16 {
  width: 3.75rem !important;
  height: 3.75rem !important;
  border-radius: 0.875rem !important;
  background: linear-gradient(135deg, rgba(240, 161, 107, 0.18), rgba(41, 26, 17, 0.96)) !important;
  border: 1px solid rgba(232, 137, 90, 0.24) !important;
  box-shadow: 0 0 1.75rem rgba(232, 137, 90, 0.2) !important;
}

body.sub2api-auth-page .sub2api-auth-brand-stack h1 {
  margin-bottom: 0.375rem !important;
  font-size: 1.875rem !important;
  line-height: 2.25rem !important;
  font-weight: 800 !important;
  color: #f0a16b !important;
  -webkit-text-fill-color: #f0a16b !important;
  background: none !important;
}

body.sub2api-auth-page .sub2api-auth-brand-stack p {
  color: rgba(185, 166, 145, 0.78) !important;
  font-size: 0.875rem !important;
}

body.sub2api-auth-page .sub2api-auth-card {
  padding: 2rem !important;
  border-radius: 0.75rem !important;
  background: linear-gradient(180deg, rgba(96, 57, 30, 0.78), rgba(43, 27, 16, 0.82)) !important;
  border: 1px solid rgba(232, 137, 90, 0.24) !important;
  box-shadow:
    0 1.5rem 5rem rgba(0, 0, 0, 0.44),
    0 0 0 1px rgba(255, 255, 255, 0.035) inset,
    0 0 4rem rgba(232, 137, 90, 0.08) !important;
  backdrop-filter: blur(22px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(120%) !important;
}

body.sub2api-auth-page .sub2api-auth-card .space-y-6 {
  gap: 1.25rem !important;
}

body.sub2api-auth-page .sub2api-auth-card h2 {
  color: #fffaf5 !important;
  font-size: 1.5rem !important;
  line-height: 2rem !important;
  font-weight: 800 !important;
}

body.sub2api-auth-page .sub2api-auth-card h2 + p {
  margin-top: 0.25rem !important;
  color: rgba(185, 166, 145, 0.76) !important;
}

body.sub2api-auth-page .sub2api-auth-form {
  gap: 1rem !important;
}

body.sub2api-auth-page .sub2api-auth-form .input-label {
  color: rgba(239, 225, 211, 0.88) !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
}

body.sub2api-auth-page .sub2api-auth-form .input {
  min-height: 2.75rem !important;
  border-radius: 0.5rem !important;
  background: rgba(24, 15, 9, 0.8) !important;
  border-color: rgba(232, 137, 90, 0.28) !important;
  color: #fffaf5 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035) !important;
}

body.sub2api-auth-page .sub2api-auth-form .input:focus {
  background: rgba(21, 13, 8, 0.9) !important;
  border-color: rgba(240, 161, 107, 0.72) !important;
  box-shadow: 0 0 0 3px rgba(232, 137, 90, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

body.sub2api-auth-page .sub2api-auth-form .input::placeholder {
  color: rgba(185, 166, 145, 0.52) !important;
}

body.sub2api-auth-page .sub2api-auth-form svg {
  color: rgba(185, 166, 145, 0.78) !important;
}

body.sub2api-auth-page .sub2api-auth-form a {
  color: #f0a16b !important;
  text-decoration: none !important;
}

body.sub2api-auth-page .sub2api-auth-submit {
  min-height: 2.875rem !important;
  margin-top: 0.25rem !important;
  border-radius: 9999px !important;
  background: linear-gradient(90deg, #f0a16b 0%, #e8895a 55%, #d4774a 100%) !important;
  color: #1a0f08 !important;
  font-weight: 800 !important;
  box-shadow: 0 0.875rem 1.75rem rgba(212, 119, 74, 0.26) !important;
}

body.sub2api-auth-page .sub2api-auth-submit:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 1rem 2rem rgba(212, 119, 74, 0.34) !important;
}

body.sub2api-auth-page .mt-6.text-center,
body.sub2api-auth-page .mt-8.text-center {
  color: rgba(185, 166, 145, 0.72) !important;
}

body.sub2api-auth-page .mt-6.text-center a,
body.sub2api-auth-page .mt-8.text-center a {
  color: #f0a16b !important;
}

@media (max-width: 640px) {
  .sub2api-auth-topbar {
    height: 3.5rem;
    padding: 0 1rem;
  }

  body.sub2api-auth-page .sub2api-auth-root {
    padding: 5.75rem 1rem 2.5rem !important;
  }

  body.sub2api-auth-page .sub2api-auth-panel-wrap {
    width: min(100%, 22rem) !important;
  }

  body.sub2api-auth-page .sub2api-auth-card {
    padding: 1.5rem !important;
  }
}
