/* SwadesKart storefront — sign in, register and password reset (extends .sk-auth-* in swadeskart-theme.css) */

.sk-auth-card { max-width: 440px; }

.sk-auth-alert { margin: -8px 0 18px; padding: 11px 14px; border-radius: 10px; font-size: 13px; line-height: 1.45; border: 1px solid #f1d6c4; background: #fff6f0; color: #8a3d00; }
.sk-auth-alert.is-ok { border-color: #bfe5cc; background: #eefaf2; color: #166534; }

.sk-auth-form .sk-field input.is-invalid,
.sk-auth-form .sk-input-prefix.is-invalid { border-color: #dc2626 !important; }
.sk-auth-form .sk-field input.is-invalid:focus { box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12) !important; }
.sk-field-error { margin: 6px 0 0; font-size: 12px; line-height: 1.4; color: #dc2626; }
.sk-field-hint { margin: 6px 0 0; font-size: 12px; line-height: 1.4; color: #8a8270; }
.sk-optional { font-weight: 400; color: #a39a86; font-size: 11.5px; }
.sk-auth-check.is-invalid span { color: #b91c1c; }

/* +91 prefix */
.sk-input-prefix { display: flex; align-items: stretch; border: 1px solid #e0d8c6; border-radius: 10px; overflow: hidden; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.sk-input-prefix:focus-within { border-color: #FE7101; box-shadow: 0 0 0 3px rgba(254, 113, 1, 0.12); }
.sk-input-prefix span { display: flex; align-items: center; padding: 0 12px; background: #f8f4ec; border-right: 1px solid #e0d8c6; color: #7a7260; font-size: 14px; font-weight: 600; }
.sk-auth-form .sk-field .sk-input-prefix input { border: 0 !important; box-shadow: none !important; border-radius: 0 !important; flex: 1; min-width: 0; }

/* Password with show/hide */
.sk-password { position: relative; }
.sk-auth-form .sk-field .sk-password input { padding-right: 64px !important; }
.sk-password-toggle { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 6px 8px !important; font-family: "Outfit", sans-serif !important; font-size: 12.5px !important; font-weight: 600 !important; color: #FE7101 !important; cursor: pointer; min-height: 0 !important; line-height: 1 !important; width: auto !important; }
.sk-password-toggle:hover { color: #CC5A00 !important; }

.sk-password-meter { height: 4px; margin-top: 8px; border-radius: 99px; background: #efe9dc; overflow: hidden; }
.sk-password-meter span { display: block; height: 100%; width: 0; border-radius: inherit; background: #dc2626; transition: width .2s ease, background .2s ease; }
.sk-field[data-strength="2"] .sk-password-meter span { background: #d97706; }
.sk-field[data-strength="3"] .sk-password-meter span,
.sk-field[data-strength="4"] .sk-password-meter span { background: #16a34a; }

/* The theme forces white on body.sk-account-page button.sk-btn; the main action stays brand orange */
body.sk-account-page .sk-auth-card button.sk-auth-submit {
  height: 46px !important; font-size: 14.5px !important; font-weight: 600 !important; border-radius: 10px !important;
  background: #FE7101 !important; background-color: #FE7101 !important; border-color: #FE7101 !important; color: #fff !important;
  box-shadow: 0 8px 20px rgba(254, 113, 1, 0.2) !important;
}
body.sk-account-page .sk-auth-card button.sk-auth-submit:hover { background: #CC5A00 !important; background-color: #CC5A00 !important; border-color: #CC5A00 !important; }
.sk-auth-submit:disabled { opacity: 0.75; cursor: wait; }
.sk-auth-forgot { white-space: nowrap; }
.sk-auth-check input[type="checkbox"] { width: 16px !important; height: 16px !important; flex: none; accent-color: #FE7101 !important; }
.sk-auth-demo { margin-top: 14px; }

.sk-auth-seller { margin: 14px 0 0; text-align: center; font-size: 12px; color: #8a8270; }
.sk-auth-seller a { color: #994400 !important; font-weight: 600; text-decoration: none !important; }
.sk-auth-seller a:hover { color: #FE7101 !important; }

.sk-auth-back { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 13px; font-weight: 600; color: #994400 !important; text-decoration: none !important; }
.sk-auth-back:hover { color: #FE7101 !important; }
.sk-auth-center { text-align: center; }
.sk-auth-icon { width: 48px; height: 48px; margin: 0 auto 14px; border-radius: 14px; display: grid; place-items: center; background: #fff1e8; color: #FE7101; }
.sk-auth-icon svg { width: 24px; height: 24px; }
.sk-auth-center + .sk-auth-alert { margin-top: 4px; }
.sk-auth-center .sk-auth-lead { margin-bottom: 18px; }

/* Plain white page behind the card (no cream wash or grid), and the real logo */
.sk-auth-page { background: #fff !important; }
.sk-auth-page::before { content: none !important; display: none !important; }
.sk-auth-card { border-color: #ece7e3 !important; box-shadow: 0 18px 48px rgba(28, 25, 23, .08) !important; }
.sk-auth-logo { display: inline-block !important; line-height: 0; }
.sk-auth-logo img { display: block; height: 38px; width: auto; max-width: 100%; margin: 0 auto; }
.sk-auth-switch { background: #f5f5f4 !important; }
.sk-input-prefix span { background: #f5f5f4; border-right-color: #e7e5e4; color: #57534e; }
.sk-input-prefix { border-color: #e7e5e4; }
#nt-page:has(.sk-auth-page), body.sk-auth-page-body #nt-page { background: #fff !important; }
