/**
 * Simple Contact Form Styles
 */

.simple-contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.simple-contact-form h3 {
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.scf-form {
    display: flex;
    flex-direction: column;
}

.scf-field {
    margin-bottom: 15px;
}

.scf-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #555;
}

.scf-field input,
.scf-field textarea,
.scf-field select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    font-size: 16px;
    transition: border-color 0.3s;
}

.scf-field input:focus,
.scf-field textarea:focus,
.scf-field select:focus {
    border-color: #007acc;
    outline: none;
}

.scf-field .required {
    color: #e53935;
}

/* Honeypot field - hide from users but visible to screen readers */
.scf-honeypot {
    position: absolute;
    left: -9999px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.scf-submit {
    background-color: #007acc;
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.scf-submit:hover {
    background-color: #0062a3;
}

.scf-message-container {
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 4px;
    font-weight: 500;
    display: none;
}

.scf-message-container.success {
    background-color: #dff0d8;
    color: #3c763d;
    border: 1px solid #d6e9c6;
    display: block;
}

.scf-message-container.error {
    background-color: #f2dede;
    color: #a94442;
    border: 1px solid #ebccd1;
    display: block;
}

/* Form validation styles */
.scf-field input.error,
.scf-field textarea.error,
.scf-field select.error {
    border-color: #a94442;
    background-color: #fff8f8;
}

/* Loading state */
.scf-form.loading .scf-submit {
    background-color: #999;
    cursor: not-allowed;
}

/* Test mode notice */
.scf-test-mode-notice {
    margin-top: 8px;
    padding: 5px;
    background-color: #ffeeba;
    color: #856404;
    border: 1px solid #ffeeba;
    border-radius: 3px;
    font-style: italic;
    font-size: 14px;
}

/* Logged notice */
.scf-logged-notice {
    margin-top: 8px;
    padding: 5px;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 3px;
    font-style: italic;
    font-size: 14px;
}

/* Responsive adjustments */
@media screen and (max-width: 600px) {
    .simple-contact-form {
        padding: 15px;
    }
    
    .scf-field input,
    .scf-field textarea,
    .scf-field select,
    .scf-submit {
        padding: 8px 15px;
        font-size: 14px;
    }
}
