/*
 Theme Name:   Moonlit Child
 Theme URI:    https://reactheme.com/products/wordpress/moonlit
 Description:  Moonlit Child
 Author:       ReacThemes
 Author URI:   http://reactheme.com
 Template:     moonlit
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
 */

/* ===============================
   Custom Woo Registration Form
   Scoped: .modern-register
================================ */

.modern-register {
    max-width: 420px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    font-family: inherit;
}

.modern-register p {
    margin-bottom: 16px;
}

.modern-register label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.modern-register input[type="text"],
.modern-register input[type="email"],
.modern-register input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #dcdcdc;
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.modern-register input:focus {
    outline: none;
    border-color: #F6931D;
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.15);
}

.modern-register button {
    width: 100%;
    padding: 14px;
    background: #F6931D;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.05s ease;
}

.modern-register button:hover {
    background: #185a9d;
}

.modern-register button:active {
    transform: scale(0.98);
}

/* WooCommerce notices inside this form only */
.modern-register .woocommerce-error,
.modern-register .woocommerce-message {
    margin-bottom: 20px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px;
}

.modern-register .woocommerce-error {
    background: #fde8e8;
    color: #a40000;
}

.modern-register .woocommerce-message {
    background: #e7f6ec;
    color: #006b2d;
}
