/* ---------------------------------------------------------
   Styles généraux CyberChallenge
   --------------------------------------------------------- */

.cyberchallenge-map-wrapper {
    width: 100%;
    margin: 20px 0;
}

.cyberchallenge-map {
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    overflow: hidden;
}

/* ---------------------------------------------------------
   Popups Leaflet (style institutionnel)
   --------------------------------------------------------- */

.cc-popup {
    font-family: system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: #222;
}

.cc-popup strong {
    font-size: 15px;
    color: #003366; /* bleu institutionnel */
}

.cc-popup div {
    margin-bottom: 4px;
}

/* ---------------------------------------------------------
   Moteur de recherche
   --------------------------------------------------------- */

.cyberchallenge-search-wrapper {
    width: 100%;
    margin: 20px 0;
    font-family: system-ui, sans-serif;
}

.cyberchallenge-search-input {
    width: 100%;
    padding: 10px 14px;
    font-size: 15px;
    border: 1px solid #c8c8c8;
    border-radius: 6px;
    margin-bottom: 15px;
    transition: border-color 0.2s;
}

.cyberchallenge-search-input:focus {
    border-color: #003366;
    outline: none;
}

/* ---------------------------------------------------------
   Résultats de recherche
   --------------------------------------------------------- */

.cyberchallenge-search-results {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cc-result-item {
    border: 1px solid #dcdcdc;
    padding: 12px 15px;
    border-radius: 6px;
    background: #fafafa;
}

.cc-result-title {
    font-size: 16px;
    font-weight: 600;
    color: #003366;
    margin-bottom: 4px;
}

.cc-result-sub {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}

.cc-result-infos {
    font-size: 13px;
    color: #333;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
}

.cc-result-type {
    font-size: 13px;
    color: #444;
    margin-bottom: 6px;
}

.cc-result-address {
    font-size: 13px;
    color: #666;
}

.cc-no-results {
    font-size: 14px;
    color: #666;
    padding: 10px 0;
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width: 600px) {
    .cc-result-infos {
        flex-direction: column;
        gap: 4px;
    }
}
