/* CSS for Custom WooCommerce Login/Register */
.is-acc-logged-out #primary {
    background-color: var(--color-white-3);
    border-radius: 88px;
}
.is-acc-logged-out .outter-nav{
    background-color: var(--color-white-3);
}
.custom-lr-form-container .woocommerce-form-row {
    margin-bottom: 16px;
}

.account-register-login {
    padding-top: calc(var(--fheader) + 16px);
}

.custom-login-register-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 50px;
    background: transparent;
    padding-bottom: 88px;
    margin-bottom: 46px;
}

.custom-login-register-container {
    display: flex;
    width: var(--mw);
    background: var(--color-white-1, #ffffff);
    border-radius: 32px;
    box-shadow: 0px 36px 45px rgba(0, 0, 0, 0.12);
    padding: 22px;
    max-width: 69%;
    padding-left: 88px;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
	width: 100%;
    max-width: 1191px;
}

.custom-lr-left {
    /* display: flex; */
    /* flex-direction: column; */
    width: 33.5%;
    /* align-items: flex-start; */
    transition: all 300ms;
}

.custom-lr-right {
    width: 49%;
    height: 100%;
    border-radius: 32px;
    overflow: hidden;
    max-height: 36.3vw;
    max-height: 696px;
    transition: all 300ms;
    position: relative;
}

.custom-lr-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    object-position: center;
    /* position: absolute; */
    top: 0;
    left: 0;
    max-height: 36.3vw;
    max-height: 696px;
}

.custom-lr-view {
    display: none;
    animation: fadeIn 0.4s ease;
}

.custom-lr-view.active {
    display: flex;
    flex-direction: column;
    gap: 56px;
    /* width: 38%; */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.custom-lr-header h2 {
    font-family: 'Ubuntu', sans-serif;
    font-size: var(--font-size-h3-5, 40px);
    font-weight: 500;
    line-height: 1.1;
    color: var(--color-dark-grey-3);
    margin: 0 0 16px 0;
    letter-spacing: -2px;
    margin-bottom: 35px;
}

.custom-lr-header p {
    font-family: 'Ubuntu', sans-serif;
    font-size: var(--font-size-h9, 18px);
    color: var(--color-grey-5, #676767);
    margin: 0;
    line-height: 1.6;
}

.custom-lr-form-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.custom-lr-form-title {
    display: flex;
    align-items: center;
    gap: 12px;
}
.custom-lr-icon svg {
    width: 17.5px;
    height: auto;
}
.custom-lr-form-title h3 {
    font-family: 'Ubuntu', sans-serif;
    font-size: var(--font-size-h4, 30px);
    font-weight: 700;
    color: var(--color-dark-grey-3, #2b2b2b);
    margin: 0;
    letter-spacing: -0.6px;
}

.custom-lr-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.woocommerce-form.custom-lr-view form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.woocommerce-form-row {
}

.custom-lr-input {
    width: 100%;
    height: 56px;
    background: var(--color-white-3, #f6f6f6) !important;
    border: none !important;
    border-radius: 48px !important;
    padding: 0 32px !important;
    font-family: 'Ubuntu', sans-serif;
    font-size: var(--font-size-h10, 16px);
    color: var(--color-dark-grey-3, #2b2b2b);
    outline: none;
    box-sizing: border-box;
}

.custom-lr-input::placeholder {
    color: var(--color-grey-4, #868686);
    font-weight: 500;
}

.custom-lr-input:focus {
    box-shadow: 0 0 0 2px var(--color-white-4, #EAEAEA) !important;
}

.custom-lr-submit-row.woocommerce-form-row {
    margin-top: 24px;
}

.custom-lr-btn {
    width: 100%;
    height: 56px;
    background: var(--color-dark-grey-1, #535353) !important;
    color: var(--color-white-1, #ffffff) !important;
    border: none !important;
    border-radius: 48px !important;
    font-family: 'Ubuntu', sans-serif;
    font-size: var(--font-size-h10, 16px) !important;
    font-weight: 500 !important;
    cursor: pointer;
    transition: background 0.3s ease !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-lr-btn:hover {
    background: var(--color-dark-grey-2, #3D3D3D) !important;
}

.custom-lr-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 52px;
}

.custom-lr-forgot {
    font-family: 'Ubuntu', sans-serif;
    font-size: var(--font-size-h9, 18px);
    color: var(--color-dark-grey-3, #2b2b2b);
    text-decoration: none;
    transition: color 0.2s ease;
}

.custom-lr-forgot:hover {
    color: var(--color-red-2, #f15d5d);
}

.custom-lr-toggle-text {
    font-family: 'Ubuntu', sans-serif;
    font-size: var(--font-size-h9, 18px);
    color: var(--color-dark-grey-3, #2b2b2b);
    margin: 0;
}

.custom-lr-toggle-btn {
    color: var(--color-red-2, #f15d5d);
    text-decoration: underline;
    font-weight: 500;
}

.custom-lr-toggle-btn:hover {
    color: #d14d4d;
}

/* Hide WooCommerce native notices and lost password below if any exist outside */
.woocommerce-LostPassword.lost_password {
    display: none !important;
}

.custom-lr-register-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: flex-start;
}

.custom-lr-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.custom-lr-register-grid .custom-lr-submit-row {
    margin-top: auto; /* Push the button to the bottom */
}

/* Floating labels */
.nh-floating-wrap {
    position: relative;
    display: block; /* Changed from flex to block to fix woo messages layout */
    width: 100%;
}

.nh-floating-label {
    position: absolute;
    left: 32px;
    top: 28px; /* Center relative to 56px input */
    transform: translateY(-50%);
    font-family: 'Ubuntu', sans-serif;
    font-size: var(--font-size-h10, 16px);
    color: var(--color-grey-4, #868686);
    pointer-events: none;
    transition: 0.3s ease all;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.nh-floating-label span {
    color: var(--color-red-2, #F15D5D);
}

.custom-lr-input:focus ~ .nh-floating-label,
.custom-lr-input:not(:placeholder-shown) ~ .nh-floating-label {
    left: auto;
    right: 32px;
    font-size: 14px;
}

.nh-has-icon .custom-lr-input:focus ~ .nh-floating-label,
.nh-has-icon .custom-lr-input:not(:placeholder-shown) ~ .nh-floating-label {
    right: 64px;
}

.nh-password-toggle {
    position: absolute;
    right: 32px;
    top: 28px;
    transform: translateY(-50%);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* Password Strength & Hint styling */
.woocommerce-password-strength {
    display: block;
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    width: 100%;
}
.woocommerce-password-strength.short,
.woocommerce-password-strength.bad {
    background-color: #ffeaea;
    color: #d14d4d;
    border: 1px solid #f8c9c9;
}
.woocommerce-password-strength.good {
    background-color: #fff4e5;
    color: #d97d00;
    border: 1px solid #ffe2b7;
}
.woocommerce-password-strength.strong {
    background-color: #ebfbee;
    color: #2b8a3e;
    border: 1px solid #b2f2bb;
}

.woocommerce-password-hint {
    display: block;
    margin-top: 12px;
    font-size: 12px;
    color: #676767;
    background: #f6f6f6;
    padding: 12px 16px 12px 42px;
    border-radius: 8px;
    line-height: 1.5;
    position: relative;
    border: 1px solid #eaeaea;
}

.woocommerce-password-hint::before {
    content: "i";
    position: absolute;
    left: 12px;
    top: 12px;
    width: 20px;
    height: 20px;
    background: #2b2b2b;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: 'Ubuntu', sans-serif;
    font-size: 12px;
}

.custom-lr-form-container .woocommerce-form-row {
    margin-bottom: 16px;
}
.is-register-active .custom-lr-left {
    width: 68.5%;
}

.is-register-active  .custom-lr-right {
    width: 24%;
}
.woocommerce-account  .custom-lr-form-container .show-password-input::before {
    color: var(--color-grey-3);
    background-color: var(--color-grey-3);
}
.custom-lr-form-container .woocommerce-form-row {
    margin-bottom: 16px;
    position: relative;
}

.woocommerce-account .custom-lr-form-container .show-password-input {
    border: none;
}
.woocommerce-privacy-policy-text {
    font-size: 14px;
    line-height: 1.1;
    color: var(--color-grey-3);
}

.woocommerce-privacy-policy-text a {
    color: var(--color-grey-4);
}
/* Responsive adjustments */
@media (max-width: 991px) {
    .custom-login-register-container {
        flex-direction: column;
        padding: 40px;
        gap: 40px;
    }
    .custom-lr-right {
        width: 100%;
        flex: auto;
        display: none;
    }
    .custom-lr-left {
        max-width: 100%;
        width: 100%;
    }
    .custom-lr-register-grid {
        grid-template-columns: 1fr;
    }
    .is-register-active .custom-lr-left {
        width: 100%;
    }
    .custom-lr-right img {
        max-height: 380px;
    }
    .is-register-active .custom-lr-right {
        width: 100%;
        display: none;
    }

}
/*END OF 991*/

@media (max-width: 768px) {
    .custom-login-register-container {
        padding: 24px;
        border-radius: 24px;
    }
    .custom-lr-header h2 {
        font-size: 32px;
    }
}
/*END OF 768*/