/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* Contact Form Styles */
.sendex-contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sendex-contact-form h3 {
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #555;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 5px rgba(0,115,170,0.3);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #dc3232;
}

.field-error {
    color: #dc3232;
    font-size: 12px;
    margin-top: 5px;
}

.sendex-submit-btn {
    background: #0073aa;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.sendex-submit-btn:hover {
    background: #005a87;
}

.sendex-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.sendex-result {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    font-weight: 500;
}

.sendex-result.success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.sendex-result.error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sendex-contact-form {
        margin: 10px;
        padding: 15px;
    }
    
    .sendex-submit-btn {
        width: 100%;
        padding: 15px;
    }
}