/* Login / register / password reset: one centred, minimal card on a soft white-and-blue background */
html body.ws-auth-page { background: #f4f8fc; margin: 0; }
html body.ws-auth-page header.elementor-location-header, html body.ws-auth-page footer.elementor-location-footer, html body.ws-auth-page #site-header, html body.ws-auth-page #site-footer, html body.ws-auth-page .page-header, html body.ws-auth-page .ws-floatbuy { display: none !important; }
html body.ws-auth-page main.site-main, html body.ws-auth-page .page-content { max-width: none !important; width: 100% !important; margin: 0 !important; padding: 0 !important; }
html body.ws-auth-page .woocommerce { max-width: none; margin: 0; padding: 0; display: block; }
html body.ws-auth-page .woocommerce > h1, html body.ws-auth-page h1.entry-title { display: none; }

.ws-auth { min-height: 100vh; min-height: 100dvh; box-sizing: border-box; padding: 0; background: #f4f8fc; display: grid; }
.ws-auth__card { position: relative; display: grid; place-items: center; min-height: 100vh; min-height: 100dvh; box-sizing: border-box; padding: 72px 20px 48px; overflow: hidden; border: 0; border-radius: 0; color: #14181f;
  background:
    radial-gradient(60% 55% at 100% 0%, rgba(87, 145, 192, .28) 0%, rgba(87, 145, 192, 0) 70%),
    radial-gradient(55% 50% at 0% 100%, rgba(87, 145, 192, .22) 0%, rgba(87, 145, 192, 0) 70%),
    linear-gradient(180deg, #fbfdff 0%, #f4f8fc 100%); }

html body a.ws-auth__back { position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px 8px 10px; border: 1px solid #e3eaf3; border-radius: 12px; background: rgba(255, 255, 255, .8); color: #14181f !important; font-size: .85rem; font-weight: 500; text-decoration: none; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .2s, border-color .2s; }
html body a.ws-auth__back:hover { background: #fff; border-color: #c9d7e6; }

.ws-auth__panel { width: 100%; min-width: 0; display: flex; justify-content: center; }
.ws-auth__inner { width: 100%; max-width: 380px; text-align: center; }
html body .ws-auth a.ws-auth__brand { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 26px; border-radius: 16px; background: #111827; color: #fff !important; font-weight: 800; font-size: 1.3rem; text-decoration: none; box-shadow: 0 10px 26px rgba(17, 24, 39, .18); }
.ws-auth__brand img { display: block; height: 26px; width: auto; max-width: 40px; object-fit: contain; }

.ws-auth__h { margin: 0 0 10px; font-size: clamp(1.7rem, 4.4vw, 2.1rem); line-height: 1.15; font-weight: 600; letter-spacing: -.02em; color: #14181f; }
.ws-auth__sub { margin: 0 0 28px; font-size: .95rem; color: #6b7686; }
.ws-auth__sub a, .ws-auth__link { color: #14181f; font-weight: 500; text-decoration: none; }
.ws-auth__sub a:hover, .ws-auth__link:hover { text-decoration: underline; text-underline-offset: 3px; }

.ws-auth__form { display: grid; gap: 12px; margin: 0; text-align: left; }
.ws-auth__f { display: grid; gap: 6px; }
.ws-auth__f > span:first-child { font-size: .8rem; font-weight: 500; color: #5b6676; }
.ws-auth__panel input[type=text], .ws-auth__panel input[type=email], .ws-auth__panel input[type=password], .ws-auth__panel input.input-text, .ws-auth__panel input.woocommerce-Input { box-sizing: border-box; width: 100%; height: 50px; padding: 0 16px; border: 1px solid #dbe4ee !important; border-radius: 14px !important; background: rgba(255, 255, 255, .9) !important; color: #14181f !important; font-size: .95rem; outline: 0; box-shadow: none !important; transition: border-color .2s, box-shadow .2s, background .2s; }
.ws-auth__panel input::placeholder { color: #9aa6b5; }
.ws-auth__panel input:focus { border-color: #5791c0 !important; background: #fff !important; box-shadow: 0 0 0 4px rgba(87, 145, 192, .16) !important; }
.ws-auth__panel input:-webkit-autofill { -webkit-text-fill-color: #14181f; box-shadow: 0 0 0 100px #fff inset !important; }
.ws-auth__pw { position: relative; display: block; }
.ws-auth__pw input { padding-right: 50px !important; }
html body .ws-auth__eye { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 40px; height: 40px; padding: 0 !important; border: 0 !important; border-radius: 10px !important; background: transparent !important; color: #8a96a6 !important; cursor: pointer; min-height: 0; }
html body .ws-auth__eye:hover, html body .ws-auth__eye[aria-pressed=true] { color: #14181f !important; background: transparent !important; }
.ws-auth__eye svg { width: 20px; height: 20px; }

.ws-auth__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 2px; }
.ws-auth__check { display: inline-flex; align-items: center; gap: 9px; font-size: .85rem; color: #4b5666; cursor: pointer; }
.ws-auth__check input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 0; border: 1.5px solid #b8c4d3; border-radius: 6px; background: #fff; cursor: pointer; display: grid; place-content: center; transition: background .15s, border-color .15s; }
.ws-auth__check input:checked { background: #5791c0; border-color: #5791c0; }
.ws-auth__check input:checked::after { content: ""; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.ws-auth__link { font-size: .85rem; color: #4b5666; }
.ws-auth__hint { margin: -2px 0 0; font-size: .88rem; color: #6b7686; text-align: center; }

html body .ws-auth__btn, html body .ws-auth__panel button.button, html body .ws-auth__panel .woocommerce-Button { display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 50px; margin-top: 8px; padding: 0 20px; border: 0 !important; border-radius: 14px !important; background: #111827 !important; color: #fff !important; font-size: .95rem; font-weight: 600; cursor: pointer; transition: background .2s, transform .15s, box-shadow .2s; min-height: 0; box-shadow: 0 8px 20px rgba(17, 24, 39, .16) !important; }
html body .ws-auth__btn:hover:not(:disabled), html body .ws-auth__panel button.button:hover { background: #1f2937 !important; color: #fff !important; }
html body .ws-auth__btn:active, html body .ws-auth__panel button.button:active { transform: scale(.985); background: #1f2937 !important; }
html body .ws-auth__btn:disabled { opacity: .7; cursor: default; }
html body .ws-auth__btn:focus-visible, .ws-auth__panel input:focus-visible { outline: 2px solid #5791c0; outline-offset: 2px; }
.ws-auth__view[hidden] { display: none; }
.ws-auth__view { animation: ws-auth-in .35s ease both; }
@keyframes ws-auth-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* messages (WooCommerce notices) */
.ws-auth__inner .woocommerce-error, .ws-auth__inner .woocommerce-message, .ws-auth__inner .woocommerce-info { list-style: none; margin: 0 0 20px; padding: 12px 14px !important; border: 1px solid #cfe0ee; border-radius: 12px; background: #eef5fb; color: #1e3a52; font-size: .88rem; line-height: 1.5; text-align: left; }
.ws-auth__inner .woocommerce-error { border-color: #f1c9c3; background: #fdf1ef; color: #8a2d22; }
.ws-auth__inner .woocommerce-error li { margin: 0; }
.ws-auth__inner .woocommerce-notices-wrapper { margin: 0; }
.ws-auth__inner .woocommerce-error::before, .ws-auth__inner .woocommerce-message::before, .ws-auth__inner .woocommerce-info::before { display: none !important; content: none !important; }
/* core lost-password / reset forms inside the card */
.ws-auth__inner .woocommerce-ResetPassword, .ws-auth__inner form.lost_reset_password { display: grid; gap: 12px; margin: 0; text-align: left; }
.ws-auth__inner .woocommerce-ResetPassword p, .ws-auth__inner .lost_reset_password p { margin: 0; color: #6b7686; font-size: .92rem; line-height: 1.55; }
.ws-auth__inner .woocommerce-form-row, .ws-auth__inner .form-row { display: grid; gap: 6px; margin: 0; padding: 0; width: 100%; float: none; }
.ws-auth__inner label { font-size: .8rem; font-weight: 500; color: #5b6676; }
.ws-auth__inner .clear { display: none; }
.ws-auth__inner .required { color: #d4574a; }

/* theme overrides: the account page styles forms and links itself */
html body .ws-auth form.ws-auth__form, html body .ws-auth form.woocommerce-form-login, html body .ws-auth form.woocommerce-form-register { background: transparent !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; border-radius: 0 !important; margin: 0 !important; }
html body .ws-auth .ws-auth__panel a:not(.ws-auth__brand) { color: #14181f !important; }
html body .ws-auth .ws-auth__check span { color: #4b5666 !important; }
html body .ws-auth .ws-auth__f > span:first-child, html body.ws-auth-page .ws-auth__inner label, html body.ws-auth-page .ws-auth__inner .woocommerce-form-row label { color: #5b6676 !important; }
html body .ws-auth .ws-auth__h { color: #14181f !important; }
html body.ws-auth-page .ws-auth__inner button.button, html body.ws-auth-page .ws-auth__inner button.woocommerce-Button, html body.ws-auth-page .ws-auth__inner .woocommerce-Button.button, html body.ws-auth-page .ws-auth__inner button[type=submit] { background: #111827 !important; color: #fff !important; border: 0 !important; border-radius: 14px !important; }
html body.ws-auth-page .ws-auth__inner button.button:hover, html body.ws-auth-page .ws-auth__inner button[type=submit]:hover:not(:disabled), html body.ws-auth-page .ws-auth__inner button[type=submit]:active { background: #1f2937 !important; color: #fff !important; }
html body.ws-auth-page .ws-auth__inner .woocommerce-form-row, html body.ws-auth-page .ws-auth__inner p.form-row { margin: 0 !important; }

@media (max-width: 560px) {
  .ws-auth__card { padding: 68px 18px 36px; place-items: start center; }
  .ws-auth__card .ws-auth__panel { margin-top: 8vh; }
}
@media (prefers-reduced-motion: reduce) { .ws-auth__view { animation: none; } }
