/* Noblith WooCommerce Auth Flow CSS */

#noblith-auth-container {
    max-width: 400px;
    margin: 0 auto 80px;
}

#noblith-auth-container h2 {
    margin-top: 0;
    margin-bottom: 20px;
}

.form-row {
    margin-bottom: 15px;
}

.form-row label {
    display: block;
    margin-bottom: 5px;
    /* font-weight: bold; */
}

.form-row .input-text {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.form-row .button {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    width: 100%;
}

.form-row .button.alt {
    background-color: #7f54b3;
    color: white;
}

.form-row .button.alt:hover {
    background-color: #6a4694;
}

#auth-message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

#auth-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

#auth-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.loading {
    opacity: 0.6;
    pointer-events: none;
}

#noblith-auth-container h2 {
    text-align: left;
}

#noblith-auth-container h2,
#noblith-auth-form {
    max-width: 100%;
}

#noblith-auth-form {
    padding-right: 0;
}

#noblith-auth-form button {
    margin: 0;
}

/* Hide default WooCommerce login and register forms */
.woocommerce > .woocommerce-login-form-wrapper,
.woocommerce-form-login.register,
.woocommerce-form-register.login {
    display: none !important;
}
/* .woocommerce-form-login,
.woocommerce-form-register,
.woocommerce-form-login.register,
.woocommerce-form-register.login {
    display: none !important;
} */

/* Responsive */
@media (max-width: 480px) {
    #noblith-auth-container {
        margin: 10px;
        padding: 15px;
    }
}
