#login-slideout-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99998;
    display: none;
}

#login-slideout-overlay.is-visible {
    display: block;
}
.mot-log-accordion {
    height: 80%;
}
#login-slideout {
    position: fixed;
    top: 0;
    right: -100%;
    width: 30%;
    height: 100%;
    background-color: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 99999;
    transition: transform 0.3s ease, right 0.3s ease;
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    #login-slideout {
        width: 80%; 
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    #login-slideout {
        width: 50%; 
    }}

#login-slideout.is-open {
    right: 0;
}

.mot-log-slideout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 1px solid #ddd;
}

.mot-log-slideout-title {
    font-size: 16px;
    margin-bottom: 0px;
    font-weight: bold;
    color: #333;
}

.mot-log-slideout-close-btn-outer {
    background: none;
    border: none;
    color: #333;
    font-size: 1.5rem;
    cursor: pointer;
}

.log-accordion-title {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
    background: #f9f9f9;
    font-weight: bold;
}

.log-accordion-title:hover {
    background: #eee;
}

.log-accordion-content.is-visible {
    display: block;
}

p.bb-login-description, p.bb-register-description, #register-section p#polityka_prywatnosci_field label, #register-section p#polityka_prywatnosci_field, #register-section p#regulamin_field label, #register-section p#regulamin_field, #register-section p, #login-section label {
    font-size: 0.8em;
}

.woocommerce-form h3.bb-register-subtitle,
.woocommerce-form h3.bb-login-subtitle {
    font-size: 1em;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.log-accordion-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    background: #f9f9f9;
    border-bottom: 1px solid #ddd;
    transition: background 0.3s ease;
}

.log-accordion-title:hover {
    background: #eee;
}

.log-accordion-title .accordion-icon {
    width: 20px;
    height: 20px;
    fill: #333;
    transition: transform 0.3s ease;
}

.log-accordion-title[aria-expanded="true"] .accordion-icon {
    transform: rotate(180deg);

}

.log-accordion-content {
    max-height: 600px;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
    opacity: 1;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.log-accordion-content.is-visible {
    padding-bottom: 100px;
}

.woocommerce form .form-row label.checkbox,
.woocommerce-page form .form-row label.checkbox {
    font-size: 0.7em;
    text-align: justify;
}
.woocommerce form .form-row label.checkbox a,
.woocommerce-page form .form-row label.checkbox a {
    font-weight: bold;
}

form.woocommerce-form.woocommerce-form-login.login {
    display: flex;
    flex-direction: column;

}

#login-section input[type="text"],
#login-section input[type="email"],
#login-section input[type="password"],
#login-section input[type="button"],
#login-section textarea,
#login-section select,
#register-section input[type="email"],
button.woocommerce-button.button.woocommerce-form-login__submit,
button.woocommerce-Button.woocommerce-button.button.woocommerce-form-register__submit, 
#login-section p.form-row.form-row-first,
#login-section p.form-row.form-row-last {
    width: 100% !important;
}
button.woocommerce-button.button.woocommerce-form-login__submit {
    margin-top: 10px;
}
.woocommerce form .form-row label,
.woocommerce-page form .form-row label,
p.woocommerce-LostPassword.lost_password,
label.checkbox.woocommerce-form__label.woocommerce-form__label-for-checkbox.checkbox {
    font-size: 0.8em;
    font-weight: 500;
}

