﻿/* Cocorico Contact Form Styles */
.ccrc-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
  
}



.elementor-widget-ccrc_contact_form {
    display: flex;
    justify-content: center; /* centre la box */
}

.elementor-widget-ccrc_contact_form .ccrc-form {
    font-family: 'Asap', sans-serif;
    align-self: flex-start;
}

.ccrc-form input[type="date"] {
    background-color: transparent; /* ou une couleur que tu veux, ex. #f9f9f9 */
    color: inherit;
    font-family: inherit;
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 16px;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}


.ccrc-form input,
.ccrc-form textarea,
.ccrc-form button {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.ccrc-form button {
    background-color: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}
.ccrc-form button:hover {
    background-color: #555;
}

.ccrc-form textarea {
    min-height: 100px;
    resize: vertical;
}

.ccrc-form-confirmation {
    background-color: #d1e7dd;
    color: #0f5132;
    padding: 15px;
    border: 1px solid #badbcc;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
    animation: fadeInUp 0.6s ease-in-out;
}

/* Fade-in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Erreur champ */
.ccrc-error {
    border-color: red !important;
}
.ccrc-error-message {
    color: red;
    font-size: 13px;
    margin-top: -10px;
    margin-bottom: 10px;
    display: block;
}


/* Hide browser default error bubble */
input:invalid:focus,
textarea:invalid:focus {
    outline: none;
    box-shadow: none;
}

.elementor-widget-ccrc_contact_form .ccrc-submit-button {
    font-family: 'Asap', sans-serif;
    width: auto;
    min-width: 15px;
    padding: 10px 30px;
    font-size: 16px;
    background-color: #D9A441;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: inline-block;
    margin: 10px auto 0;
    transition: background-color 0.3s ease
}

.elementor-widget-ccrc_contact_form .ccrc-submit-button:hover {
    background-color: #C28719;
}
