/*
 * Fartak account authentication — light theme palette.
 * Loaded after the shared UI fixes so the dark authentication treatment
 * remains untouched while the light theme gets an accessible color scheme.
 */

html[data-theme="light"] body.woocommerce-account:not(.logged-in) .fartak-auth-card {
  border-color: rgba(148, 163, 184, 0.28) !important;
  box-shadow: 0 28px 72px rgba(15, 23, 42, 0.14), 0 1px 0 rgba(255, 255, 255, 0.9) inset !important;
}

html[data-theme="light"] body.woocommerce-account:not(.logged-in) .fartak-auth-form-wrap {
  color: #0f172a;
  background:
    radial-gradient(circle at 0 0, rgba(220, 38, 38, 0.09), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(8, 145, 178, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
}

html[data-theme="light"] body.woocommerce-account:not(.logged-in) .fartak-auth-heading {
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(148, 163, 184, 0.30) !important;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] body.woocommerce-account:not(.logged-in) .fartak-auth-heading h1 {
  color: #0f172a !important;
}

html[data-theme="light"] body.woocommerce-account:not(.logged-in) .fartak-auth-heading p {
  color: #475569 !important;
}

html[data-theme="light"] body.woocommerce-account:not(.logged-in) .fartak-auth-label {
  color: #1e293b !important;
}

html[data-theme="light"] body.woocommerce-account:not(.logged-in) .fartak-auth-input-row {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
}

html[data-theme="light"] body.woocommerce-account:not(.logged-in) .fartak-auth-input-row:focus-within {
  background: #ffffff !important;
  border-color: rgba(220, 38, 38, 0.62) !important;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.10), 0 10px 28px rgba(15, 23, 42, 0.06) !important;
}

html[data-theme="light"] body.woocommerce-account:not(.logged-in) #fartak-mobile-login,
html[data-theme="light"] body.woocommerce-account:not(.logged-in) #fartak-mobile-code {
  color: #0f172a !important;
  caret-color: #dc2626;
}

html[data-theme="light"] body.woocommerce-account:not(.logged-in) #fartak-mobile-login::placeholder,
html[data-theme="light"] body.woocommerce-account:not(.logged-in) #fartak-mobile-code::placeholder {
  color: #64748b !important;
  opacity: 1;
}

html[data-theme="light"] body.woocommerce-account:not(.logged-in) #fartak-mobile-login:-webkit-autofill,
html[data-theme="light"] body.woocommerce-account:not(.logged-in) #fartak-mobile-login:-webkit-autofill:hover,
html[data-theme="light"] body.woocommerce-account:not(.logged-in) #fartak-mobile-login:-webkit-autofill:focus {
  -webkit-text-fill-color: #0f172a !important;
  box-shadow: 0 0 0 1000px #ffffff inset !important;
  transition: background-color 9999s ease-out 0s;
}

html[data-theme="light"] body.woocommerce-account:not(.logged-in) .fartak-auth-footer-note {
  color: #475569 !important;
  background: rgba(241, 245, 249, 0.94) !important;
  border-color: #dbe3ec !important;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

html[data-theme="light"] body.woocommerce-account:not(.logged-in) .fartak-auth-footer-note i {
  color: #b91c1c !important;
}
