@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Syne:wght@600;700;800&display=swap");

:root {
  --auth-bg: #0b0e14;
  --auth-surface: rgba(18, 22, 32, 0.72);
  --auth-surface-solid: #121620;
  --auth-border: rgba(255, 255, 255, 0.08);
  --auth-border-strong: rgba(253, 92, 2, 0.45);
  --auth-orange: #fd5c02;
  --auth-orange-soft: #ff7a2f;
  --auth-orange-deep: #c44500;
  --auth-text: #e8edf5;
  --auth-muted: #8b95a8;
  --auth-success: #2dd4a8;
  --auth-danger: #ff6b7a;
  --auth-radius: 20px;
  --auth-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

body.auth-page {
  font-family: "Outfit", sans-serif;
  background: var(--auth-bg);
  color: var(--auth-text);
  min-height: 100vh;
  overflow-x: hidden;
}

body.auth-page::before,
body.auth-page::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

body.auth-page::before {
  width: 42vw;
  height: 42vw;
  top: -12%;
  left: -8%;
  background: radial-gradient(circle, rgba(253, 92, 2, 0.22), transparent 70%);
  animation: authGlow 12s ease-in-out infinite alternate;
}

body.auth-page::after {
  width: 36vw;
  height: 36vw;
  right: -10%;
  bottom: -10%;
  background: radial-gradient(circle, rgba(253, 92, 2, 0.12), transparent 70%);
  animation: authGlow 14s ease-in-out infinite alternate-reverse;
}

@keyframes authGlow {
  from { transform: translate(0, 0) scale(1); opacity: 0.7; }
  to { transform: translate(4%, 3%) scale(1.08); opacity: 1; }
}

@keyframes authRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes authFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.auth-page .signin {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
}

.auth-page .signin-inner {
  background: var(--auth-surface);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--auth-border);
  border-radius: var(--auth-radius);
  padding: 18px;
  max-width: 1100px;
  width: 100%;
  margin: 0;
  box-shadow: var(--auth-shadow);
  animation: authRise 0.7s ease both;
}

.auth-page .signin-left {
  position: relative;
  overflow: hidden;
  padding: 36px 32px !important;
  min-height: 100%;
  background:
    linear-gradient(145deg, rgba(11, 14, 20, 0.92) 0%, rgba(253, 92, 2, 0.88) 100%) !important;
  border-radius: 16px !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.auth-page .signin-left::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(255, 255, 255, 0.12), transparent 45%),
    radial-gradient(ellipse at 80% 90%, rgba(0, 0, 0, 0.25), transparent 50%);
  pointer-events: none;
}

.auth-page .signin-left > * {
  position: relative;
  z-index: 1;
}

.auth-page .signin-left img.img-fluid:first-of-type,
.auth-page .signin-left a img {
  max-width: 140px;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.25));
}

.auth-page .signin-left h3,
.auth-page .auth-hero-title {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 2.4vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff !important;
  margin-top: 1.25rem;
}

.auth-page .signin-left p,
.auth-page .auth-hero-copy {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 34ch;
}

.auth-page .greeting-text {
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92) !important;
  letter-spacing: 0.01em;
}

.auth-page .signin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff !important;
  color: #111 !important;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 12px 22px !important;
  border-radius: 999px !important;
  border: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  width: fit-content;
}

.auth-page .signin-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  color: #111 !important;
}

.auth-page .auth-visual {
  margin-top: auto;
  padding-top: 28px;
  opacity: 0.95;
  animation: authFade 1.1s ease 0.2s both;
}

.auth-page .auth-visual img {
  max-width: 220px;
  width: 100%;
}

.auth-page .form-wrapper {
  border: 1px solid var(--auth-border) !important;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px !important;
  padding: 28px 26px !important;
  height: 100%;
  animation: authRise 0.75s ease 0.08s both;
}

.auth-page .form-wrapper h4,
.auth-page .auth-form-title {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 1.65rem;
  letter-spacing: -0.02em;
  color: #fff !important;
  margin-bottom: 0.35rem;
}

.auth-page .auth-form-subtitle {
  color: var(--auth-muted);
  font-size: 0.92rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.auth-page label {
  color: var(--auth-muted) !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.auth-page label[for="remember"],
.auth-page label[for="legal_disclaimer"] {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9rem !important;
  color: var(--auth-text) !important;
}

.auth-page .form-control,
.auth-page .form-select {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid var(--auth-border) !important;
  border-radius: 12px !important;
  color: var(--auth-text) !important;
  padding: 12px 14px !important;
  font-size: 0.98rem !important;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.auth-page .form-control::placeholder {
  color: #5d6678;
}

.auth-page .form-control:focus,
.auth-page .form-select:focus {
  border-color: var(--auth-border-strong) !important;
  background: rgba(253, 92, 2, 0.06) !important;
  box-shadow: 0 0 0 3px rgba(253, 92, 2, 0.12) !important;
}

.auth-page .primary-outline,
.auth-page .auth-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 280px;
  padding: 13px 28px !important;
  border-radius: 999px !important;
  border: none !important;
  background: linear-gradient(135deg, var(--auth-orange), var(--auth-orange-deep)) !important;
  color: #fff !important;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 28px rgba(253, 92, 2, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.auth-page .primary-outline:hover,
.auth-page .auth-submit:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  color: #fff !important;
  box-shadow: 0 14px 32px rgba(253, 92, 2, 0.45);
}

.auth-page .primary-outline:disabled,
.auth-page .auth-submit:disabled {
  opacity: 0.7;
  transform: none;
  cursor: not-allowed;
}

.auth-page a.primary,
.auth-page .form-wrapper a.primary {
  color: var(--auth-orange) !important;
  font-weight: 500;
}

.auth-page .password-toggle {
  color: var(--auth-muted) !important;
}

.auth-page .password-toggle:hover {
  color: var(--auth-orange) !important;
}

.auth-page input[type="checkbox"] {
  accent-color: var(--auth-orange);
}

.auth-page .field-error {
  border-color: var(--auth-danger) !important;
  box-shadow: 0 0 0 3px rgba(255, 107, 122, 0.15) !important;
}

.auth-page .error-message {
  color: var(--auth-danger);
}

.auth-page .alert {
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 14px 16px;
  font-size: 0.92rem;
}

.auth-page .alert-success {
  color: #b8f5df;
  background: rgba(45, 212, 168, 0.12);
  border-color: rgba(45, 212, 168, 0.35);
}

.auth-page .alert-error {
  color: #ffc9cf;
  background: rgba(255, 107, 122, 0.12);
  border-color: rgba(255, 107, 122, 0.35);
}

/* Single subscription plan */
.auth-page .plan-single {
  background:
    linear-gradient(160deg, rgba(253, 92, 2, 0.16), rgba(255, 255, 255, 0.02) 42%),
    rgba(255, 255, 255, 0.02);
  border: 1px solid var(--auth-border-strong);
  border-radius: 18px;
  padding: 32px 28px;
  text-align: left;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(253, 92, 2, 0.12);
}

.auth-page .plan-single::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(253, 92, 2, 0.25), transparent 70%);
  pointer-events: none;
}

.auth-page .plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(253, 92, 2, 0.15);
  color: var(--auth-orange-soft);
  border: 1px solid rgba(253, 92, 2, 0.35);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.auth-page .plan-name {
  font-family: "Syne", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.auth-page .plan-price-stack {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 16px;
  margin-bottom: 8px;
}

.auth-page .plan-price-main {
  font-family: "Syne", sans-serif;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
}

.auth-page .plan-price-main span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--auth-muted);
  letter-spacing: 0;
}

.auth-page .plan-price-renew {
  color: var(--auth-muted);
  font-size: 0.95rem;
}

.auth-page .plan-price-renew strong {
  color: var(--auth-orange-soft);
  font-weight: 600;
}

.auth-page .plan-kes {
  color: var(--auth-muted);
  font-size: 0.88rem;
  margin-bottom: 22px;
}

.auth-page .plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 10px;
}

.auth-page .plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--auth-text);
  font-size: 0.94rem;
  line-height: 1.4;
}

.auth-page .plan-features i {
  color: var(--auth-orange);
  font-size: 1.1rem;
  margin-top: 1px;
}

.auth-page .subscribe-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--auth-orange), var(--auth-orange-deep));
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 12px 30px rgba(253, 92, 2, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.auth-page .subscribe-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(253, 92, 2, 0.45);
  color: #fff;
}

.auth-page .subscribe-cta-btn.is-active {
  background: rgba(45, 212, 168, 0.18);
  color: var(--auth-success);
  border: 1px solid rgba(45, 212, 168, 0.4);
  box-shadow: none;
  cursor: default;
}

.auth-page .status-display {
  margin-top: 28px;
  text-align: center;
}

.auth-page .status-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.auth-page .status-active {
  background: rgba(45, 212, 168, 0.15);
  color: var(--auth-success);
  border: 1px solid rgba(45, 212, 168, 0.35);
}

.auth-page .status-expired {
  background: rgba(255, 107, 122, 0.15);
  color: var(--auth-danger);
  border: 1px solid rgba(255, 107, 122, 0.35);
}

.auth-page .status-pending {
  background: rgba(253, 92, 2, 0.15);
  color: var(--auth-orange-soft);
  border: 1px solid rgba(253, 92, 2, 0.35);
}

.auth-page .auth-footer-links {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.auth-page .auth-footer-links a {
  color: var(--auth-muted) !important;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.auth-page .auth-footer-links a:hover {
  color: var(--auth-orange) !important;
}

.auth-page .trust-line {
  color: var(--auth-muted) !important;
  font-size: 0.85rem !important;
  opacity: 1 !important;
}

@media (max-width: 991px) {
  .auth-page .signin-left {
    min-height: auto;
    padding: 28px 24px !important;
  }

  .auth-page .auth-visual {
    display: none;
  }

  .auth-page .plan-price-main {
    font-size: 2.4rem;
  }
}

@media (max-width: 575px) {
  .auth-page .signin {
    padding: 12px;
  }

  .auth-page .signin-inner {
    padding: 10px;
  }

  .auth-page .form-wrapper {
    padding: 22px 16px !important;
  }
}
