/* Style général des champs */
form#gytx-contact-form textarea {
    min-height: 180px;
    resize: vertical;
}

form#gytx-contact-form input,
form#gytx-contact-form textarea,
form#gytx-contact-form select {
    width: 100%;
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    color: #fff;
    padding: 0.75em 1em;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Mise en page flex des lignes */
form#gytx-contact-form .row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Largeur par défaut */
form#gytx-contact-form .col-md-6,
form#gytx-contact-form .col-md-12 {
    width: 100%;
}

/* Deux colonnes dès 768px */
@media (min-width: 768px) {
    form#gytx-contact-form .col-md-6 {
        flex: 0 0 48%;
        max-width: 48%;
    }

    form#gytx-contact-form .col-md-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Style des labels */
form#gytx-contact-form label {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
    font-weight: 500;
    color: #fff;
}

/* Focus sur champ */
form#gytx-contact-form input:focus,
form#gytx-contact-form textarea:focus,
form#gytx-contact-form select:focus {
    border-color: #fcb900;
    outline: none;
    box-shadow: 0 0 0 2px rgba(252, 185, 0, 0.15);
    background-color: #1e1e1e;
    transition: all 0.2s ease;
}

/* Placeholder clair */
form#gytx-contact-form ::placeholder {
    color: #aaa;
}

#snackbar {
    visibility: hidden;
    min-width: 250px;
    background-color: #1a1a1a;
    color: #fcb900;
    text-align: center;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 16px;
    position: fixed;
    z-index: 999;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    box-shadow: 0 0 10px rgba(252, 185, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease;
}

#snackbar.show {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(-10px);
}

#snackbar-error {
    visibility: hidden;
    min-width: 250px;
    background-color: #cf2e2e;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 16px;
    position: fixed;
    z-index: 999;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

#snackbar-error.show {
    visibility: visible;
    opacity: 1;
}