/* Bandeau de consentement aux cookies (voir js/consent.js).
   Les deux boutons ont exactement le même style : refuser est aussi simple qu'accepter. */
.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    background: #fff;
    color: #222;
    border-top: 4px solid #059148;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, .18);
    font-size: 15px;
    line-height: 1.45;
}

.cookie-consent[hidden] {
    display: none;
}

.cookie-consent__inner {
    max-width: 1170px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 28px;
}

.cookie-consent__text {
    flex: 1 1 420px;
}

.cookie-consent__text p {
    margin: 0;
}

.cookie-consent__title {
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 4px !important;
}

.cookie-consent__text a {
    color: #047a3c;
    text-decoration: underline;
}

.cookie-consent__actions {
    display: flex;
    gap: 12px;
    flex: 0 0 auto;
}

.cookie-consent__btn {
    min-width: 140px;
    padding: 10px 18px;
    border: 2px solid #047a3c;
    border-radius: 3px;
    background: #047a3c;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.cookie-consent__btn:hover {
    background: #5d4a23;
    border-color: #5d4a23;
}

.cookie-consent__btn:focus {
    outline: 3px solid #5d4a23;
    outline-offset: 2px;
}

@media (max-width: 600px) {
    .cookie-consent__actions {
        width: 100%;
    }

    .cookie-consent__btn {
        flex: 1 1 0;
        min-width: 0;
    }
}

/* Crédit sous la carte OpenStreetMap */
.map-credit {
    margin: 6px 0 0;
    font-size: 13px;
    text-align: right;
}
