.custom-login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    background-color: #f0f7fb;
    min-height: calc(100vh - 80px);
}
.custom-login-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    max-width: 400px;
    width: 100%;
    padding: 40px 30px;
}
.custom-login-card h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}
.custom-login-field {
    width: 100%;
    margin-bottom: 20px;
}
.custom-login-field label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
    color: #333333;
    font-weight: 500;
}
.custom-login-field input[type="text"],
.custom-login-field input[type="email"],
.custom-login-field input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d1d1;
    border-radius: 999px;
    background-color: #fafafa;
    font-size: 16px;
    outline: none;
    box-sizing: border-box;
    transition: border-color .2s ease;
}
.custom-login-field input[type="text"]:focus,
.custom-login-field input[type="email"]:focus,
.custom-login-field input[type="password"]:focus {
    border-color: #999999;
}
.custom-login-lost-password {
    text-align: right;
    font-size: 13px;
    margin-top: -10px;
    margin-bottom: 24px;
}
.custom-login-lost-password a {
    color: #777777;
    text-decoration: none;
}
.custom-login-lost-password a:hover {
    color: #333333;
}
.custom-login-submit {
    width: 100%;
    padding: 14px 0;
    border: none;
    border-radius: 999px;
    background-color: #0073e6;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .2s ease;
}
.custom-login-submit:hover {
    background-color: #005bb5;
}
.custom-login-signup {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #555555;
}
.custom-login-signup a {
    color: #0073e6;
    text-decoration: none;
    font-weight: 500;
}
.custom-login-signup a:hover {
    text-decoration: underline;
}

/*.woocommerce-error,*/
.woocommerce-message,
.woocommerce-info {
    display: none !important;
}

.myaccount-form-login {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-self: center;
    gap: 30px;
    max-width: 600px;
    width: 100%;
    margin: 60px 0 120px;
    padding: 40px 104px;
    border-radius: 20px;
    background: #FBFBFB;
}

.myaccount-form-login h2 {
    margin-bottom: 10px;
}

.woocommerce form .form-row {
    padding: 0!important;
}

.woocommerce form .form-row label {
    margin-bottom: 16px;
    line-height: 100%!important;
}

.woocommerce-account form .form-row,
.woocommerce-form-register .form-row {
    /*margin: 0 0 26px!important;*/
}

.form-row-inner{
    margin-top: 30px!important;
}

.woocommerce .woocommerce-form-login .woocommerce-form-login__rememberme {
    display: flex!important;
    flex-direction: row!important;
    align-items: center!important;
    justify-content: flex-start!important;
}

.woocommerce .woocommerce-form-login .woocommerce-form-login__rememberme input {
    max-width: 24px;
}

.woocommerce-form.woocommerce-form-login.login {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
}

.woocommerce-form.woocommerce-form-register.register {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
}

.woocommerce-form label {
    font-size: 18px;
    font-weight: 400;
}

.woocommerce-form input {
    padding: 18px!important;
    border: 1px solid #BECBD4!important;
    border-radius: 100px!important;
    background: transparent!important;
}

.lost_password {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.lost_password a {
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0;
    text-align: right;
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-offset: 0%;
    text-decoration-thickness: 0;
    text-decoration-skip-ink: auto;
    color: #949494;
}

.woocommerce .woocommerce-form-login .woocommerce-form-login__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    width: 100%;
    padding: 19px 18px;
    background: #005EB8;
    border-radius: 100px;
    border: none;
    outline: none;
    font-size: 18px;
    line-height: 123%;
    font-weight: 600;
    color: #fff;
    transition: all 0.3s;
}

.woocommerce .woocommerce-form-login .woocommerce-form-login__submit:hover {
    background: #0170D9!important;
    color: #fff;
}

.woocommerce .woocommerce-form-register__submit {
    display: flex!important;
    align-items: center!important;
    justify-content: center!important;
    max-width: 100%!important;
    width: 100%!important;
    padding: 19px 18px!important;
    background: #005EB8!important;
    border-radius: 100px!important;
    border: none!important;
    outline: none!important;
    font-size: 18px!important;
    line-height: 123%!important;
    font-weight: 600!important;
    color: #fff!important;
    transition: all 0.3s;
}

.woocommerce .woocommerce-form-register__submit:hover {
    background: #0170D9!important;
}

.woocommerce-form-login-sign_up {
    font-family: Lato;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0;
    text-align: center;
}

.woocommerce-form-login-sign_up a {
    font-family: Lato;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0;
    text-align: center;
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-offset: 0%;
    text-decoration-thickness: 0%;
    text-decoration-skip-ink: auto;
    color: #181818;
}

.lost_reset_password {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-self: center;
    max-width: 600px;
    width: 100%;
    margin: 60px 0 120px;
    padding: 40px 104px;
    border-radius: 20px;
    background: #FBFBFB;
}

.lost_reset_password .form-row {
    max-width: 100%;
    width: 100%;
}

.lost_reset_password .form-row-item {
    max-width: 100%!important;
    width: 100%!important;
}

.lost_reset_password .woocommerce-Button,
.woocommerce-form-register__submit {
    display: flex!important;
    align-items: center;
    justify-content: center;
    max-width: 100%!important;
    width: 100%!important;
    padding: 19px 18px!important;
    background: #005EB8!important;
    border-radius: 100px!important;
    border: none!important;
    outline: none!important;
    font-size: 18px!important;
    line-height: 123%!important;
    font-weight: 600!important;
    color: #fff!important;
    transition: all 0.3s;
}

.lost_reset_password .woocommerce-Button:hover,
.woocommerce-form-register__submit:hover {
    background: #0170D9!important;
}

.woocommerce form .form-row .input-text, .woocommerce form .form-row select {
    outline: none;
    color: #181818 !important;
    padding: 18px !important;
    border: 1px solid #BECBD4 !important;
    border-radius: 100px !important;
    background: transparent;
}

.checkboxes-q {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    font-size: 14px;
}

.checkboxes-q .register-desc {
    font-size: 14px;
}

.checkboxes-q input {
    max-width: 24px;
}

#form-reg > p:nth-child(8) {
    margin-bottom: 0!important;
}

.woocommerce form .form-row .input-text,
.woocommerce form .form-row select {
    outline: none;
    color: #181818!important;
}

.woocommerce form .form-row .input-text:focus-visible,
.woocommerce form .form-row select:focus-visible {
    border: 1px solid #949494!important;
}

.woocommerce .woocommerce-form-login .woocommerce-form-login__rememberme {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    font-family: Lato;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0;
    text-align: center;
}

.lost_password-inner {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
}

.lost_password-inner .form-row {
    min-width: 130px;
}

.select2-container .select2-selection--single .select2-selection__arrow b {
    background: url("/wp-content/uploads/2025/06/arrow_down.svg");
    width: 24px;
    height: 24px;
    top: 42%;
    left: auto;
    right: 10px;
}

.select2-container--default .select2-results>.select2-results__options {
    max-height: 300px;
    background-color: #E6F2FA!important;
    border: 1px solid #BECBD4!important;
    border-radius: 20px;
    padding: 16px;
}

.select2-search--dropdown {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin: 7px 0 3px;
    min-width: 100%;
    background: transparent;
    border: 1px solid #BECBD4;
    border-radius: 100px;
    font-size: 18px;
    font-weight: 600;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    padding: 17.5px 24px;
    background: transparent;
    border: none;
    outline: none;
    font-weight: 400;
}

.select2-results__option {
    margin: 0;
    padding: 8px 6px;
    color: #181818;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    color: #181818;
}

.custom-checkbox input[type="checkbox"],
.custom-radio   input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.custom-checkbox,
.custom-radio {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    font-size: 18px;
    line-height: 134%;
    font-weight: 400;
    color: #181818;
    gap: 10px;
}

.custom-checkbox .custom-checkmark {
    display: inline-block;
    width: 22px;
    height: 22px;
    border: 2px solid #4CAF50;
    border-radius: 4px;
    background-color: transparent;
    position: relative;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.custom-checkbox .custom-checkmark::after {
    content: "";
    position: absolute;
    top: 43%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 5px;
    height: 10px;
    border: solid #4CAF50;
    border-width: 0 2px 2px 0;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.custom-checkbox input:checked + .custom-checkmark {
    background-color: #E6F2FA;
    border-color:   #4CAF50;
}
.custom-checkbox input:checked + .custom-checkmark::after {
    opacity: 1;
}

.custom-checkbox:hover .custom-checkmark {
    border-color: #4CAF50;
}

@media (max-width: 768px) {
    .woocommerce-account, .page-id-330 {
        padding-top: 40px!important;
    }
    .myaccount-form-login {
        gap: 20px;
        padding: 40px 16px;
    }
    .woocommerce-account form .form-row {
        margin: 0 0 18px !important;
    }
    .woocommerce .woocommerce-form-login .woocommerce-form-login__submit,
    .lost_reset_password .woocommerce-Button, .woocommerce-form-register__submit,
    .woocommerce .woocommerce-form-register__submit {
        padding: 14px 18px!important;
    }
    .woocommerce-account form .form-row, .woocommerce-form-register .form-row {
        margin: 0 0 18px !important;
    }
}