/*
Theme Name: Divi Child
Theme URI: https://www.elegantthemes.com/gallery/divi/
Description: Thème enfant pour Divi. Personnalisation par Agence Igeneve.
Author: Agence Igeneve
Author URI: https://www.igeneve.ch/
Template: Divi
Version: 1.0.0
*/

/* Ajoutez vos styles personnalisés ci-dessous */
    .search-hero-form {
        background: #fff;
        border-radius: 15px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        padding: 30px;
        margin: 0 auto;
    }

    .search-hero-form .et_pb_row {
        display: flex;
        align-items: flex-end;
        gap: 15px;
        flex-wrap: nowrap;
    }

.search-field {
    flex: 0 0 calc(50% - 10px);
    flex-direction: column;
}
    .search-field label {
        display: block;
        font-weight: 600;
        color: #333;
        margin-bottom: 8px;
        font-size: 14px;
    }

    .search-field select,
    .search-field input {
        width: 100%;
        padding: 15px 18px;
        border: 2px solid #e1e5e9;
        border-radius: 8px;
        font-size: 16px;
        background: #fff;
        transition: all 0.3s ease;
    }

    .search-field select:focus,
    .search-field input:focus {
        outline: none;
        border-color: #007cba;
        box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
    }

    .search-btn {
        background: #0080ff;
        color: white;
        border: none;
        padding: 15px;
        border-radius: 8px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        min-height: 54px;
        width: 54px;
        flex-shrink: 0;
    }

    .search-btn:hover {
        background: linear-gradient(135deg, #005a8b 0%, #004166 100%);
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(0, 124, 186, 0.3);
    }

    .search-btn svg {
        width: 20px;
        height: 20px;
    }

    @media (max-width: 768px) {
        .search-hero-form .et_pb_row {
            flex-wrap: wrap;
            gap: 10px;
        }

        .search-field {
            flex: 0 0 calc(50% - 5px);
        }

        .search-field:last-of-type {
            flex: 0 0 100%;
        }

        .search-btn {
            flex: 0 0 100%;
            width: 100%;
            justify-content: center;
        }
    }

/* Styles pour les résultats de recherche */
.search-results-container {
    margin-top: 30px;
}

.contact-result {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.contact-result .et_pb_row {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.contact-result .et_pb_column_1_4 {
    flex: 0 0 180px;
}

.contact-result .et_pb_column_3_4 {
    flex: 1;
}

.contact-photo .contact-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #f8f8f8;
}

.contact-name {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.contact-genre {
    font-size: 14px;
    color: #7f8c8d;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.contact-info p {
    margin: 0 0 0px 0;
    font-size: 15px;
    line-height: 1.5;
    color: #34495e;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-info strong {
    font-weight: 600;
    color: #2c3e50;
}

.contact-info a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-info a:hover {
    color: #2980b9;
}

.search-loader {
    text-align: center;
    padding: 40px;
    background: #ffffff;
    border-radius: 12px;
    color: #7f8c8d;
    font-size: 16px;
}

.search-error {
    text-align: center;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e74c3c;
    border-radius: 12px;
    color: #e74c3c;
}

.no-results {
    text-align: center;
    padding: 40px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    color: #7f8c8d;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-result .et_pb_row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .contact-result .et_pb_column_1_4,
    .contact-result .et_pb_column_3_4 {
        flex: none;
        width: 100%;
    }
    
    .contact-photo .contact-img {
        width: 150px;
        height: 150px;
    }
    
    .contact-name {
        font-size: 20px;
    }
}