/**
 * 联系表单样式
 */

.alicetod-contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 0;
}

.alicetod-contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.alicetod-contact-form .form-group {
    margin-bottom: 1.5rem;
}

.alicetod-contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.alicetod-contact-form .required {
    color: #e74c3c;
}

.alicetod-contact-form input[type="text"],
.alicetod-contact-form input[type="email"],
.alicetod-contact-form input[type="tel"],
.alicetod-contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.alicetod-contact-form input:focus,
.alicetod-contact-form textarea:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.alicetod-contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.alicetod-contact-form .turnstile-group {
    margin: 1.5rem 0;
}

.alicetod-contact-form .submit-group {
    margin-top: 2rem;
}

.alicetod-contact-form .submit-button {
    background-color: #007cba;
    color: #fff;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.alicetod-contact-form .submit-button:hover {
    background-color: #005a87;
}

.alicetod-contact-form .submit-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.alicetod-contact-form .form-messages {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 4px;
    display: none;
}

.alicetod-contact-form .form-messages.show {
    display: block;
}

.alicetod-contact-form .form-messages.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alicetod-contact-form .form-messages.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

