/* Wrapper for both forms */
.smprotection-wrapper {
    max-width: 400px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Common input styles */
.smprotection-wrapper input[type="text"],
.smprotection-wrapper input[type="email"],
.smprotection-wrapper input[type="password"],
.smprotection-wrapper select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 15px;
}

/* Label styling */
.smprotection-wrapper label {
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

/* Button style */
.smprotection-wrapper .button-primary {
    width: 100%;
    padding: 12px;
    background-color: #0073aa;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 16px;
    transition: background 0.3s;
}

.smprotection-wrapper .button-primary:hover {
    background-color: #005f8d;
}

/* Toggle links */
.smprotection-wrapper p a {
    display: inline-block;
    margin-top: 15px;
    color: #0073aa;
    text-decoration: none;
    font-size: 14px;
}

.smprotection-wrapper p a:hover {
    text-decoration: underline;
}

/* Price text */
.smprotection-wrapper p strong {
    display: block;
    margin-top: 10px;
    font-size: 16px;
    color: #333;
}

/* Remove default form spacing */
.smprotection-wrapper form p {
    margin-bottom: 20px;
}

/* Fix wp_login_form inputs */
#smprotection-login-form input[type="text"],
#smprotection-login-form input[type="password"] {
    width: 100%;
    padding: 10px;
    font-size: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    margin-top: 5px;
    margin-bottom: 15px;
}

/* Login button */
#smprotection-login-form input[type="submit"] {
    width: 100%;
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 12px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

#smprotection-login-form input[type="submit"]:hover {
    background-color: #005f8d;
}

/* Remember me checkbox */
#smprotection-login-form label[for="rememberme"] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: normal;
}
.smprotection-error {
    color: #b32d2e;
    background: #fce4e4;
    border: 1px solid #b32d2e;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
}
