/* 
 * BIOFACONNAGE - Styles pour la page de contact
 * Version moderne utilisant Bootstrap
 */

/* Styles du formulaire */
#contactForm {
    margin-bottom: 3em;
    max-width: 100%;
}

#contactForm .card {
    border-color: #3b8009;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#contactForm .card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #3b8009;
    padding: 15px;
}

#contactForm legend {
    color: #3b8009;
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 0;
    padding: 0;
    border: none;
    width: auto;
    float: none;
}

#contactForm label {
    color: #3b8009;
    font-weight: bold;
    text-align: right;
}

#contactForm .form-control {
    border: 1px solid #ced4da;
    border-radius: 4px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#contactForm .form-control:focus {
    border-color: #3b8009;
    box-shadow: 0 0 0 0.25rem rgba(59, 128, 9, 0.25);
}

#contactForm .btn-primary {
    background-color: #3b8009;
    border-color: #3b8009;
    padding: 8px 25px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

#contactForm .btn-primary:hover {
    background-color: #2c6007;
    border-color: #2c6007;
}

#contactForm .btn-primary:disabled {
    background-color: #cccccc;
    border-color: #cccccc;
}

/* Styles pour les messages de statut */
#formStatus {
    margin: 10px 0 20px;
    padding: 10px 15px;
}

#formStatus.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

#formStatus.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #contactForm label {
        text-align: left;
        margin-bottom: 5px;
    }
    
    #contactForm .card-footer {
        padding: 15px;
    }
}
