/* Auth pages — Sanju Pansari brand (matches storefront) */
:root {
  --auth-primary: #3D6B1E;
  --auth-primary-dark: #2D5016;
  --auth-lime: #9ACD32;
  --auth-black: #0D0D0D;
  --auth-bg: #f4f8ef;
  --auth-card: #ffffff;
  --auth-text: #1a2e1a;
  --auth-muted: #5f6f5f;
  --auth-border: #dce8d0;
  --auth-soft: #F4FAEB;
}

body.auth-page {
  font-family: 'Public Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(160deg, var(--auth-bg) 0%, #e8f2dc 45%, var(--auth-soft) 100%);
  color: var(--auth-text);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  -webkit-font-smoothing: antialiased;
}

body.auth-page .bottom-nav {
  display: none !important;
}

body.auth-page .auth-card {
  background: var(--auth-card);
  border: 1px solid var(--auth-border);
  border-radius: 20px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 12px 40px rgba(61, 107, 30, 0.1);
  overflow: hidden;
}

body.auth-page .auth-header {
  background: linear-gradient(135deg, var(--auth-black) 0%, var(--auth-primary-dark) 50%, var(--auth-primary) 100%);
  color: #fff;
  border-bottom: 3px solid var(--auth-lime);
}

body.auth-page .auth-brand img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.12));
}

body.auth-page .auth-brand span,
body.auth-page .auth-header h1 {
  color: #fff;
}

body.auth-page .auth-header p {
  color: rgba(255, 255, 255, 0.88);
}

body.auth-page .btn-primary-auth {
  background: linear-gradient(135deg, var(--auth-primary), var(--auth-primary-dark));
  border: none;
  color: #fff;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 12px;
  width: 100%;
  min-height: 48px;
  box-shadow: 0 4px 16px rgba(61, 107, 30, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.auth-page .btn-primary-auth:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(61, 107, 30, 0.35);
  color: #fff;
}

body.auth-page .form-control {
  border: 1.5px solid var(--auth-border);
  border-radius: 10px;
  padding: 12px 16px;
  min-height: 48px;
  font-size: 0.95rem;
}

body.auth-page .form-control:focus {
  border-color: var(--auth-lime);
  box-shadow: 0 0 0 3px rgba(154, 205, 50, 0.25);
}

body.auth-page .auth-footer a,
body.auth-page a.text-primary {
  color: var(--auth-primary) !important;
  font-weight: 600;
}

body.auth-page .auth-tabs {
  background: var(--auth-soft);
  border-color: var(--auth-border);
}

body.auth-page .auth-tab.active {
  color: var(--auth-primary-dark);
  border-color: rgba(154, 205, 50, 0.45);
}

@media (max-width: 991px) {
  body.auth-page {
    padding: 0.65rem;
    align-items: flex-start;
    padding-top: max(1rem, env(safe-area-inset-top, 0px));
    background: var(--auth-bg);
  }

  body.auth-page .auth-card {
    max-width: 100%;
    border-radius: 18px;
    margin-top: 0.25rem;
  }

  body.auth-page .auth-brand img {
    height: 56px;
  }
}

@media (max-width: 480px) {
  body.auth-page .auth-card {
    border-radius: 16px;
  }

  body.auth-page .auth-brand img {
    height: 52px;
  }
}
