
/* JW ACCOUNT AUTH 1.0.0 */

body.jw-auth-page .main-page-wrapper {
    background: #080808 !important;
    color: #fff;
    --wd-text-color: #b7b7b7;
    --wd-title-color: #fff;
    --wd-form-color: #fff;
    --wd-form-bg: #1c1c1c;
    --wd-form-brd-color: #414141;
}

body.jw-auth-page .main-page-wrapper
.woocommerce-breadcrumb,
body.jw-auth-page .main-page-wrapper
.wd-breadcrumbs {
    color: #858585 !important;
}

body.jw-auth-page .main-page-wrapper
.woocommerce-breadcrumb a,
body.jw-auth-page .main-page-wrapper
.wd-breadcrumbs a {
    color: #b0b0b0 !important;
}

.jw-auth-layout {
    --jw-auth-green: #c2f500;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
    align-items: center;
    gap: clamp(45px, 6vw, 100px);
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    padding: 55px 20px 85px;
}

.jw-auth-benefits {
    min-width: 0;
}

.jw-auth-brand {
    color: #8d8d8d;
    font-size: 11px;
    letter-spacing: 4px;
    font-weight: 600;
    margin-bottom: 15px;
}

.jw-auth-layout .jw-auth-heading {
    color: #fff !important;
    font-size: clamp(30px, 3.2vw, 48px) !important;
    font-weight: 800 !important;
    font-style: italic;
    line-height: 1.03 !important;
    letter-spacing: -.035em;
    margin: 0 0 18px !important;
}

.jw-auth-heading span {
    display: block;
    color: var(--jw-auth-green);
}

.jw-auth-intro {
    color: #999 !important;
    font-size: 14px;
    margin-bottom: 30px;
}

.jw-auth-benefit {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.jw-auth-icon {
    display: flex;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid #495a08;
    border-radius: 7px;
    background: #171d0c;
    color: var(--jw-auth-green);
    font-size: 22px;
    font-weight: 700;
}

.jw-auth-icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linejoin: round;
    stroke-linecap: round;
}

.jw-auth-benefit strong {
    display: block;
    color: #f0f0f0;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 3px;
}

.jw-auth-benefit p {
    color: #8d8d8d;
    font-size: 12px;
    margin: 0;
}

.jw-auth-card {
    width: 100%;
    min-width: 0;
    background: #141414;
    border: 1px solid #383838;
    border-radius: 10px;
    box-shadow: 0 20px 65px #0005;
    overflow: hidden;
}

.jw-auth-tabs {
    display: flex;
    background: #202020;
    border-bottom: 1px solid #333;
}

.jw-auth-tabs > a {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 12px;
    color: #a0a0a0 !important;
    font-size: 14px;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: background .2s, color .2s;
}

.jw-auth-tabs > a.active {
    color: #111 !important;
    background: var(--jw-auth-green);
}

.jw-auth-tabs > a:not(.active):hover {
    color: var(--jw-auth-green) !important;
    background: #292929;
}

.jw-auth-form {
    padding: 30px;
    color: #b7b7b7;
    color-scheme: dark;
}

.jw-auth-form h2 {
    color: #fff !important;
    font-size: 23px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    margin: 0 0 8px !important;
}

.jw-auth-form-description {
    font-size: 13px;
    color: #999 !important;
    margin-bottom: 26px !important;
}

.jw-auth-form form {
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: none !important;
    background: transparent !important;
}

.jw-auth-form label,
body.jw-auth-page .woocommerce-ResetPassword label {
    color: #ddd !important;
    font-size: 13px !important;
    font-weight: 500;
}

.jw-auth-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]),
body.jw-auth-page .woocommerce-ResetPassword input:not([type="hidden"]):not([type="submit"]) {
    width: 100%;
    min-height: 48px;
    background: #1e1e1e !important;
    border: 1px solid #414141 !important;
    border-radius: 5px !important;
    color: #fff !important;
    box-shadow: none !important;
    font-size: 14px !important;
}

.jw-auth-form input:focus,
body.jw-auth-page .woocommerce-ResetPassword input:focus {
    border-color: #c2f500 !important;
    outline-color: #c2f500;
}

.jw-auth-form input[type="checkbox"] {
    accent-color: #c2f500;
}

.jw-auth-form button[type="submit"],
body.jw-auth-page
.woocommerce-ResetPassword button[type="submit"] {
    width: 100%;
    min-height: 48px;
    border-radius: 5px !important;
    background: #c2f500 !important;
    color: #101010 !important;
    border: 0 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    transition: background .2s;
}

.jw-auth-form button[type="submit"]:hover,
body.jw-auth-page
.woocommerce-ResetPassword button[type="submit"]:hover {
    background: #d3ff24 !important;
}

.jw-auth-form a,
body.jw-auth-page .woocommerce-ResetPassword a {
    color: #c2f500 !important;
}

.jw-auth-form p,
.jw-auth-form .woocommerce-privacy-policy-text {
    color: #aaa;
}

.jw-auth-form .woocommerce-privacy-policy-text {
    font-size: 11px;
    line-height: 1.6;
}

.jw-auth-form .show-password-input {
    color: #aaa !important;
}

.jw-auth-switch {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #303030;
    text-align: center;
    color: #999;
    font-size: 12px;
}

.jw-auth-switch a {
    color: #c2f500 !important;
    margin-left: 4px;
    font-weight: 600;
}

/* Password recovery */

body.jw-auth-page .woocommerce-ResetPassword,
body.jw-auth-page .lost_reset_password {
    width: min(100%, 480px) !important;
    max-width: 480px !important;
    margin: 45px auto 80px !important;
    padding: 30px !important;
    background: #141414 !important;
    border: 1px solid #383838;
    border-radius: 10px;
    color: #bbb !important;
    color-scheme: dark;
}

/* Responsive account page */

@media (max-width: 900px) {

    .jw-auth-layout {
        grid-template-columns: minmax(0, 1fr);
        max-width: 500px;
        gap: 35px;
        padding: 30px 12px 50px;
    }

    .jw-auth-card {
        order: -1;
    }

    .jw-auth-benefits {
        padding: 10px 5px;
    }

    .jw-auth-form {
        padding: 24px;
    }

}

@media (max-width: 480px) {

    .jw-auth-form {
        padding: 20px;
    }

    .jw-auth-form h2 {
        font-size: 20px !important;
    }

    .jw-auth-tabs > a {
        min-height: 49px;
        font-size: 12px;
    }

}


/* JW ACCOUNT AUTH V101 START */

/* Remove inherited light account backgrounds */

body.jw-auth-page .main-page-wrapper {
    background: #080808 !important;
    background-color: #080808 !important;
}

body.jw-auth-page .main-page-wrapper
*:has(.jw-auth-layout),

body.jw-auth-page .main-page-wrapper
*:has(.woocommerce-ResetPassword) {
    background: transparent !important;
    background-color: transparent !important;
}

body.jw-auth-page .main-page-wrapper
.jw-auth-layout {
    background: #080808 !important;
    color: #fff !important;
}

/* Benefits */

body.jw-auth-page .jw-auth-heading {
    color: #fff !important;
}

body.jw-auth-page .jw-auth-heading span {
    color: #c2f500 !important;
}

body.jw-auth-page .jw-auth-brand {
    color: #aaa !important;
}

body.jw-auth-page .jw-auth-intro {
    color: #b3b3b3 !important;
}

body.jw-auth-page .jw-auth-benefit strong {
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

body.jw-auth-page .jw-auth-benefit p {
    color: #aaa !important;
    font-size: 13px !important;
}

/* Login and registration card */

body.jw-auth-page .jw-auth-card {
    background: #141414 !important;
    border: 1px solid #333 !important;
    box-shadow: 0 15px 40px rgba(0,0,0,.3) !important;
}

body.jw-auth-page .jw-auth-form-description {
    color: #aaa !important;
}

body.jw-auth-page .jw-auth-switch {
    color: #aaa !important;
}

body.jw-auth-page .jw-auth-form
.woocommerce-privacy-policy-text {
    color: #aaa !important;
}

/* Password recovery */

body.jw-auth-page .woocommerce-ResetPassword {
    background: #141414 !important;
    color: #bbb !important;
}

/* JW ACCOUNT AUTH V101 END */


/* JW ACCOUNT AUTH V102 START */

body.jw-auth-page .jw-auth-panel[hidden] {
    display: none !important;
}

body.jw-auth-page
.jw-auth-instant-tabs .jw-auth-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
}

body.jw-auth-page
.jw-auth-instant-tabs .jw-auth-panel {
    grid-area: 1 / 1;
    min-width: 0;
}

body.jw-auth-page
.jw-auth-instant-tabs .jw-auth-panel[hidden] {
    display: block !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

body.jw-auth-page .jw-auth-tabs > a {
    transition: background .15s ease, color .15s ease;
}

/* JW ACCOUNT AUTH V102 END */


/* JW ACCOUNT AUTH V103 START */

/* Unified Montserrat typography */

body.jw-auth-page .jw-auth-card,
body.jw-auth-page .jw-auth-card :is(
    h2, p, label, input, button, a, strong, small
) {
    font-family: "Montserrat", Arial, sans-serif !important;
    font-style: normal !important;
}

/* Login and registration headings */

body.jw-auth-page .jw-auth-form h2 {
    font-family: "Montserrat", Arial, sans-serif !important;
    font-size: 23px !important;
    font-weight: 700 !important;
    font-style: normal !important;
    letter-spacing: -0.3px !important;
    line-height: 1.25 !important;
}

/* Top tabs without italic */

body.jw-auth-page .jw-auth-tabs > a {
    font-family: "Montserrat", Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    font-style: normal !important;
    letter-spacing: 0 !important;
}

/* Submit buttons */

body.jw-auth-page .jw-auth-form button[type="submit"] {
    font-family: "Montserrat", Arial, sans-serif !important;
    font-weight: 600 !important;
    font-style: normal !important;
}

/* Password recovery */

body.jw-auth-page .woocommerce-ResetPassword :is(
    h2, p, label, input, button, a
) {
    font-family: "Montserrat", Arial, sans-serif !important;
    font-style: normal !important;
}

@media (max-width: 480px) {

    body.jw-auth-page .jw-auth-form h2 {
        font-size: 20px !important;
    }

    body.jw-auth-page .jw-auth-tabs > a {
        font-size: 12px !important;
    }
}

/* JW ACCOUNT AUTH V103 END */


/* JW ACCOUNT AUTH V104 START */

/* Keep only one required asterisk near the label text */

body.jw-auth-page .jw-auth-form label .required,
body.jw-auth-page .woocommerce-ResetPassword label .required,
body.jw-auth-page .jw-auth-form label abbr.required,
body.jw-auth-page .woocommerce-ResetPassword label abbr.required {
    position: static !important;
    display: inline !important;
    float: none !important;
    margin: 0 0 0 4px !important;
    padding: 0 !important;
    color: #ff4d4d !important;
    vertical-align: baseline !important;
    line-height: 1 !important;
    font-style: normal !important;
}

/* Hide orphan / duplicated required markers generated by theme styles */

body.jw-auth-page .jw-auth-form .form-row > .required,
body.jw-auth-page .jw-auth-form .form-row > abbr.required,
body.jw-auth-page .jw-auth-form .woocommerce-form-row > .required,
body.jw-auth-page .jw-auth-form .woocommerce-form-row > abbr.required,
body.jw-auth-page .woocommerce-ResetPassword .form-row > .required,
body.jw-auth-page .woocommerce-ResetPassword .form-row > abbr.required,
body.jw-auth-page .woocommerce-ResetPassword .woocommerce-form-row > .required,
body.jw-auth-page .woocommerce-ResetPassword .woocommerce-form-row > abbr.required {
    display: none !important;
}

/* Prevent theme pseudo-markers */
body.jw-auth-page .jw-auth-form label::after,
body.jw-auth-page .woocommerce-ResetPassword label::after {
    content: none !important;
}

/* JW ACCOUNT AUTH V104 END */


/* JW ACCOUNT AUTH V105 START */

/* Completely hide inactive form without changing card height */

body.jw-auth-page
.jw-auth-instant-tabs
.jw-auth-panel[hidden] {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

body.jw-auth-page
.jw-auth-instant-tabs
.jw-auth-panel[hidden] *,
body.jw-auth-page
.jw-auth-instant-tabs
.jw-auth-panel[hidden] *::before,
body.jw-auth-page
.jw-auth-instant-tabs
.jw-auth-panel[hidden] *::after {
    visibility: hidden !important;
}

/* JW ACCOUNT AUTH V105 END */
