/* Simple Newsletter Plugin Styles */

.simple-newsletter-form-wrapper {
    max-width: 500px;
    margin: 20px 0;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.simple-newsletter-form-wrapper h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

.simple-newsletter-form .form-group {
    margin-bottom: 15px;
}

.simple-newsletter-form input[type="text"],
.simple-newsletter-form input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    box-sizing: border-box;
}

.simple-newsletter-form input[type="text"]:focus,
.simple-newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}

/* Checkbox Styles */
.checkbox-group {
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    min-width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 3px;
    margin-right: 10px;
    margin-top: 2px;
    position: relative;
    transition: all 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: #2271b1;
    border-color: #2271b1;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark:after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label:hover .checkmark {
    border-color: #2271b1;
}

.checkbox-label input[type="checkbox"]:required + .checkmark {
    border-color: #dc3545;
}

.checkbox-label input[type="checkbox"]:required:valid + .checkmark {
    border-color: #2271b1;
}

.simple-newsletter-form button[type="submit"] {
    width: 100%;
    padding: 12px 20px;
    background: #2271b1;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.simple-newsletter-form button[type="submit"]:hover {
    background: #135e96;
}

.simple-newsletter-form button[type="submit"]:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.simple-newsletter-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 3px;
    display: none;
}

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

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

/* Responsive */
@media (max-width: 600px) {
    .simple-newsletter-form-wrapper {
        padding: 15px;
    }

    .simple-newsletter-form-wrapper h3 {
        font-size: 20px;
    }
}
