.fdf-popup p, .fdf-popup span  {
    font-weight: 400 !important;
    color: #000000 !important;
}

/* ===== Système d'onglets ===== */
.fdf-carto-container {
    width: 100%;
    margin: 20px 0;
}

.fdf-tabs {
    margin-bottom: 0;
    display: flex;
    justify-content: left;
}

.fdf-tabs-nav {
    display: flex;
    background-color: #f8f9fa;
    border-radius: 15px 15px 0 0;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: auto;
    max-width: 600px;
}

.fdf-tab-link {
    flex: 0 0 auto;
    padding: 8px 16px;
    text-decoration: none;
    color: #666;
    background-color: #f8f9fa;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    position: relative;
    white-space: nowrap;
}

.fdf-tab-link:hover {
    background-color: #e9ecef;
    color: #D00000;
    text-decoration: none;
}

.fdf-tab-link.active {
    background-color: #fff;
    color: #D00000;
    border-bottom-color: #D00000;
    font-weight: 600;
}

.fdf-tab-link.disabled {
    cursor: default;
    pointer-events: none;
    opacity: 0.9;
}

.fdf-tab-icon {
    font-size: 14px;
    line-height: 1;
}

.fdf-tab-label {
    white-space: nowrap;
}

/* Responsive pour les onglets */
@media (max-width: 768px) {
    .fdf-tabs-nav {
        flex-wrap: wrap;
        border-radius: 15px 15px 0 0;
        max-width: 90%;
    }
    
    .fdf-tab-link {
        flex: 0 0 auto;
        padding: 8px 12px;
        font-size: 0.8em !important;
    }
    

}

@media (max-width: 480px) {
    .fdf-tabs-nav {
        max-width: 90%;
    }
    
    .fdf-tab-link {
        padding: 6px 10px;
        font-size: 0.8em !important;
    }
    
}

/* Mise à jour du conteneur de la carte */
#fdf-carte {
    width: 100%;
    height: 100%;
    min-height: 750px;
    margin: 0 0 0 0;
    border-radius: 0 15px 15px 15px;
    overflow: hidden;
}

@media (max-width: 768px) {
    #fdf-carte {
        height: 100%;
        min-height: 400px;
    }
}

/* Carte plein écran pour fdf-cart-app */
.fdf-carte-app {
    width: 100vw !important;
    height: 100vh !important;
    min-height: 100vh !important;
    margin: 0 !important;
    border-radius: 0 !important;
    overflow: hidden;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 9999 !important;
}

.fdf-geolocate-button {
    display: block;
    margin: 10px 0;
    padding: 10px 20px;
    background-color: #D00000;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.fdf-geolocate-button:hover {
    background-color: #b30000;
}

/* Styles personnalisés pour les popups MapLibre */
.maplibregl-popup {
    max-width: 300px !important;
    z-index: 100 !important;
}

@media (max-width: 768px) {
    .maplibregl-popup {
        max-width: 90vw !important;
        z-index: 10000 !important;
    }

    .maplibregl-popup::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }
}


.maplibregl-popup-tip {
    border-top-color: #D00000 !important;
}

.maplibregl-popup .maplibregl-popup-content {
    padding: 15px !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    min-width: 250px !important;
}

.maplibregl-popup .maplibregl-popup-close-button {
    position: absolute !important;
    width: 34px !important;
    height: 34px !important;
    background: none !important;
    border: none !important;
    border-radius: 50% !important;
    font-size: 2em !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #D00000!important;
}

.maplibregl-popup .maplibregl-popup-close-button:hover {
    background: #D00000 !important;
    color: #FFF !important;
}

.fdf-popup {
    padding: 0;
    font-family: "Outfit", sans-serif;
}

.fdf-popup-title {
    margin: 0 0 15px 0;
    font-size: 1.5em;
    font-weight: 800;
    color: #D00000;
    text-transform: uppercase;
    letter-spacing: -0.05px;
  }

.fdf-popup-title .fdf-popup-title-link {
    margin: 0 0 15px 0;
    font-weight: 800;
    color: #D00000;
    text-transform: uppercase;
    letter-spacing: -0.05px;
}

.fdf-popup-title .fdf-popup-title-link:hover {
    color: #b30000;
}

.fdf-popup .fdf-popup-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.fdf-popup .fdf-popup-link a {
    background-color: #D00000 !important;
    display: block;
    width: 100%;
    text-align: center;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    margin-top: 10px;
    color: #FFF;
    font-weight: 700;
    font-size: 1.2em;
    letter-spacing: 0.5px;
}

.fdf-popup .fdf-popup-link a:hover {
    background-color: #b30000;
    color: #fff;
}

.fdf-popup p {
    margin: 8px 0;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.fdf-popup strong {
    color: #333;
    font-weight: 600;
}

.fdf-moderation-actions {
    display: flex;
    gap: 5px;
    justify-content: space-between;
}

.fdf-moderation-actions button {
    flex: 1;
    padding: 8px 15px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.fdf-moderation-actions .fdf-confirm {
    background-color: #D00000;
    color: white;
}


.fdf-moderation-actions .fdf-confirm:hover {
    background-color: #b30000;
}

.fdf-moderation-actions .fdf-false-alert {
    background-color: #343434;
    color: white;
}


.fdf-moderation-actions .fdf-false-alert:hover {
    background-color: #000000;
}

.fdf-moderation-actions button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}




.fdf-popup-statut {
    margin-top: 15px;
    font-size: 14px;
}

.fdf-popup-type {
    margin: 10px 0;
    padding: 8px 10px;
    background-color: #f8f9fa;
    border-radius: 6px;
    font-size: 14px;
    border-left: 3px solid #D00000;
}

.fdf-popup-description {
    margin: 12px 0;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
}

.fdf-popup-description strong {
    color: #2F2F2F;
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

.fdf-popup-description-text {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    display: block;
    margin-top: 5px;
    color: #333 !important;
    font-style: italic;
}

.fdf-thank-you {
    color: #4CAF50 !important;
    font-style: italic;
    margin: 10px 0 !important;
    text-align: center;
    font-weight: 500 !important;
}

/* ===== Styles pour le bouton d'ouverture du formulaire public ===== */
.fdf-popup-public-form {
    margin-top: 15px;
    border-top: 1px solid #e9ecef;
    padding-top: 15px;
}

.fdf-public-message-form {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 600;
    color: #D00000;
    width: 100%;
    text-align: left;
    text-decoration: none;
}

.fdf-popup-public-form-button:hover {
    background-color: #e9ecef;
    border-color: #D00000;
    text-decoration: none;
    color: #D00000;
}

.fdf-popup-public-form-button:active {
    background-color: #D00000;
    color: white;
    border-color: #D00000;
}

.fdf-popup-public-form-button .fdf-toggle-icon {
    display: flex;
    align-items: center;
}

.fdf-popup-public-form-button .fdf-public-bouton-title {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fdf-popup-public-form-button .fdf-public-form-text {
    font-size: 10px;
    opacity: 0.8;
    text-transform: lowercase;
}



/* Personnalisation du contrôle de géolocalisation */
.maplibregl-ctrl-geolocate {
    background-color: #fff !important;
}

.maplibregl-ctrl-geolocate-icon {
    width: 20px !important;
    height: 20px !important;
    margin: 10px !important;
    background-size: 20px !important;
}

.maplibregl-ctrl-geolocate:hover {
    background-color: #f8f9fa !important;
}

.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active {
    background-color: #D00000 !important;
}

.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active .maplibregl-ctrl-geolocate-icon {
    filter: brightness(0) invert(1) !important;
}

.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-waiting {
    animation: fdf-spin 1s linear infinite !important;
}

.maplibregl-ctrl-attrib-inner a {
    color: #d0d0d0 !important;
  }

.maplibregl-ctrl-attrib-inner {
    display: none !important;
}

.maplibregl-ctrl-attrib-button {
    display: none !important;
}

@keyframes fdf-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fdf-carto-container .fdf-error {
    color: #D00000;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #D00000;
    border-radius: 4px;
    background-color: #fff5f5;
}

.fdf-legend {
    position: absolute;
    bottom: 0px;
    right: 5px;
    padding: 5px;
    color: white;
    font-size: 0.8em;
    font-weight: 600;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.maplibregl-ctrl-geocoder {
    background-color: transparent !important;
}

.maplibregl-ctrl-geocoder--input {
    padding-left: 30px !important;
  }


.fdf-legend-items {
    display: flex;
    gap: 15px;
}

.fdf-legend-item {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #000;    
}

.maplibregl-ctrl-attrib.maplibregl-compact {
	display: none;
}

.fdf-legend-icon {
    width: 15px;
    height: 15px;
    margin-right: 8px;
}


@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Signalement déclaré */
.fdf-legend-item:nth-child(4) .fdf-legend-icon {
    filter: brightness(0) saturate(100%) invert(83%) sepia(31%) saturate(638%) hue-rotate(358deg) brightness(103%) contrast(107%);
}

/* En cours de validation */
.fdf-legend-item:nth-child(5) .fdf-legend-icon {
    filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(2476%) hue-rotate(346deg) brightness(101%) contrast(101%);
}

/* Feu validé */
.fdf-legend-item:nth-child(6) .fdf-legend-icon {
    filter: brightness(0) saturate(100%) invert(14%) sepia(100%) saturate(7463%) hue-rotate(357deg) brightness(95%) contrast(118%);
}

.fdf-feu-actif {
    background-color: #ff0000;
}

.fdf-feu-maitrise {
    background-color: #ffa500;
}

.fdf-feu-eteint {
    background-color: #00ff00;
}

.fdf-fausse-alerte {
    background-color: #808080;
} 


.fdf-mobile-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(2px) !important;
    z-index: 1000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: opacity 0.3s ease !important;
}

.fdf-mobile-overlay-hiding {
    opacity: 0 !important;
    pointer-events: none !important;
}

.fdf-mobile-overlay-first-tap {
    background: rgba(218, 0, 0, 0.1) !important;
}

.fdf-mobile-overlay-first-tap .fdf-mobile-overlay-content {
    border-color: #DA0000 !important;
    box-shadow: 0 4px 20px rgba(218, 0, 0, 0.3) !important;
    transform: scale(1.05) !important;
}

.fdf-mobile-overlay-first-tap .fdf-mobile-overlay-title {
    color: #DA0000 !important;
}

.fdf-mobile-overlay-content {
    text-align: center !important;
    padding: 30px !important;
    background: white !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
    border: 2px solid #DA0000 !important;
    max-width: 280px !important;
    margin: 20px !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.fdf-mobile-overlay-icon {
    font-size: 48px !important;
    margin-bottom: 15px !important;
    animation: fdf-mobile-pulse 2s infinite !important;
}

@keyframes fdf-mobile-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.fdf-mobile-overlay-title {
    font-size: 18px !important;
    font-weight: bold !important;
    color: #DA0000 !important;
    margin-bottom: 8px !important;
    line-height: 1.3 !important;
}

.fdf-mobile-overlay-subtitle {
    font-size: 14px !important;
    color: #666 !important;
    line-height: 1.4 !important;
}

/* ===== Halo rouge clignotant pour les marqueurs ===== */
.fdf-marker-blink {
    /* Supprime position: relative qui pourrait causer des déplacements */
}

.fdf-marker-blink::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 15px;
    height: 15px;
    transform: translate(-50%, -50%); /* Centre le halo sur le marqueur */
    z-index: -1;
    border-radius: 50%;
    animation: halo-blink 1.2s infinite;
    pointer-events: none;
}

@keyframes halo-blink {
    0% { 
        box-shadow: 0 0 0 0 rgba(218, 0, 0, 0.7);
    }
    50% { 
        box-shadow: 0 0 25px 15px rgba(218, 0, 0, 0.6);
    }
    100% { 
        box-shadow: 0 0 0 0 rgba(218, 0, 0, 0.7);
    }
}

/* ===== Styles spécifiques pour les marqueurs ===== */
.fdf-marker-eteint {
    opacity: 0.9;
}

.fdf-marker-feu {
    z-index: 98 !important;
    /* Supprime position: relative qui pourrait causer des déplacements */
}

/* ===== Styles pour les feux fixés et maîtrisés ===== */
.fdf-marker-feu[data-etat-feu="fixe"], 
.fdf-marker-feu[data-etat-feu="maitrise"] {
    opacity: 0.85;
}

.fdf-marker-feu[data-etat-feu="fixe"]:hover, 
.fdf-marker-feu[data-etat-feu="maitrise"]:hover {
    opacity: 1;
}

/* ===== Clignotement pour état "attaque" uniquement ===== */
.fdf-marker-blink {
    animation: icon-blink 1.5s infinite;
}

@keyframes icon-blink {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

/* Modération « app uniquement » : styles dans fdf-bridge.css (maquette carte). */

/* ===== Styles pour la carte DFCI ===== */
.fdf-dfci-map {
    width: 100%;
    height: 60vh;
    min-height: 400px;
    margin: 0;
    border-radius: 0 0 15px 15px;
    overflow: hidden;
    position: relative;
}

.fdf-locate-button {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #D00000;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    z-index: 1000;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(208, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.fdf-locate-button:hover {
    background: #b30000;
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 6px 16px rgba(208, 0, 0, 0.5);
}

.fdf-locate-button:active {
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
    .fdf-dfci-map {
        height: 50vh;
        min-height: 300px;
    }
    
    .fdf-locate-button {
        bottom: 15px;
        padding: 10px 20px;
        font-size: 12px;
    }
}

/* ===== Styles pour la modale de formulaire ===== */
.fdf-form-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    font-family: inherit;
}

.fdf-form-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.fdf-form-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 90%;
    max-height: 90%;
    width: 600px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    font-family: inherit;
}

.fdf-form-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 0 20px;
    border-bottom: 1px solid #e9ecef;
}

.fdf-form-modal-header h3 {
    margin: 0;
    color: #D00000;
    font-size: 18px;
    font-weight: bold;
    font-family: inherit;
}

.fdf-form-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.fdf-form-modal-close:hover {
    background-color: #f1f1f1;
}

.fdf-form-modal-body {
    padding: 20px;
    flex: 1;
    overflow: hidden;
    font-family: inherit;
}

.fdf-form-modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 6px;
}

.fdf-form-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: #666;
    font-style: italic;
    font-family: inherit;
}

/* Styles pour le contenu du formulaire dans la modale */
.fdf-form-modal-body .fdf-form-container {
    background: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    font-family: inherit !important;
}


.fdf-form-modal-body .fdf-form-content {
    padding: 0 !important;
    font-family: inherit !important;
}

.fdf-form-modal-body .fdf-form-container * {
    font-family: inherit !important;
}

.fdf-form-modal-body .fdf-success-message {
    background: #d4edda !important;
    color: #155724 !important;
    padding: 15px !important;
    border-radius: 6px !important;
    text-align: center !important;
    font-weight: 600 !important;
    font-family: inherit !important;
}

.fdf-form-modal-body .fdf-error-message {
    background: #f8d7da !important;
    color: #721c24 !important;
    padding: 15px !important;
    border-radius: 6px !important;
    text-align: center !important;
    font-weight: 600 !important;
    font-family: inherit !important;
}

.fdf-form-modal-body .fdf-form-error {
    color: #721c24 !important;
    text-align: center !important;
    padding: 20px !important;
    font-family: inherit !important;
}

.signalement-info {
    flex: 1;
    display: flex;
    background-color: #2F2F2F;
    padding: 10px;
    border-radius: 15px;
    margin-bottom: 15px;
    margin-right: 15px;
}

@media (max-width: 768px) {
    .signalement-info {
        margin-right: 0px;
        margin-bottom: 3px;
    }

    .signalement-info-lieu {
        padding-left: 5px;
        font-size: 0.8em;
    }

    .signalement-info-date {
        padding-left: 5px;
        font-size: 0.8em;
    }
}

.signalement-info-lieu {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    border-right: 2px solid #ffffff;
    padding-left: 25px;
    font-size: 1em;
    color: #ffffff;
    font-weight: 600;
    font-style: normal;
    display: block;
}

.signalement-info-date {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 25px;
    font-size: 1em;
  color: #ffffff;
  font-weight: 600;
  font-style: normal;
  display: block;
}



/* Responsive pour la modale */
@media (max-width: 768px) {
    .fdf-form-modal-overlay {
        padding: 10px;
    }
    
    .fdf-form-modal-content {
        width: 95%;
        max-height: 95%;
    }
    
    .fdf-form-modal-header {
        padding: 15px 15px 0 15px;
    }
    
    .fdf-form-modal-header h3 {
        font-size: 16px;
    }
    
    .fdf-form-modal-body {
        padding: 8px;
    }
}

/* Formulaire public */
.fdf-public-message-form {
    border-radius: 10px;
    padding: 15px;
    text-align: left;
}

.fdf-public-bouton-title {
   font-weight: 800;
   color: #FFF;
   font-size: 1.2em;
   text-transform: uppercase;
}

.fdf-public-form-text {
    font-weight: 600;
    color: #FFF;
    font-size: 1em;
}

@media screen and (max-width: 600px) {
    .fdf-public-message-form {
        padding: 10px;
    }

    .fdf-public-bouton-title {
        font-size: 1em;
    }

    .fdf-public-form-text {
        font-size: 0.8em;
    }
}


.fdf-confirm.fdf-public-message-form {
    background-color: #D00000 !important;
    display: block;
    width: 100%;
    text-align: center;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid #e9ecef;
    border-radius: 10px;
}

.fdf-confirm.fdf-public-message-form:hover {
    background-color: #b30000 !important;
}

.fdf-false-alert.fdf-public-message-form {
    background-color: #343434;
    display: block;
    width: 100%;
    text-align: center;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid #e9ecef;
    border-radius: 10px;
}

.fdf-message-form.fdf-public-message-form {
    background-color: #808080;
    padding: 8px 10px;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    justify-content: center;
  margin-top: 10px;
}

.fdf-message-form.fdf-public-message-form:hover {
    background-color: #333;
    color: #FFF;
}

/* ===== Styles spécifiques pour l'application GoodBarber ===== */
.fdf-app-actions-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.fdf-app-action-btn {
    flex: 1;
    padding: 12px 8px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-height: 70px;
}

.fdf-app-action-btn.fdf-confirm {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.fdf-app-action-btn.fdf-confirm:hover {
    background: linear-gradient(135deg, #45a049, #3d8b40);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
}

.fdf-app-action-btn.fdf-false-alert {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: white;
}

.fdf-app-action-btn.fdf-false-alert:hover {
    background: linear-gradient(135deg, #d32f2f, #b71c1c);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(244, 67, 54, 0.3);
}

.fdf-app-add-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.fdf-app-add-btn:hover {
    background: linear-gradient(135deg, #1976D2, #1565C0);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.fdf-app-action-icon {
    font-size: 20px;
    margin-bottom: 2px;
}

.fdf-app-action-text {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

/* Styles pour popups plus larges dans l'app */
.fdf-carte-app .maplibregl-popup-content {
    max-width: 320px;
    min-width: 280px;
}

.fdf-carte-app .fdf-popup {
    font-size: 14px;
}

.fdf-carte-app .fdf-popup-title {
    font-size: 16px;
    margin-bottom: 10px;
}

/* Amélioration du bouton de géolocalisation pour l'app */

.fdf-carte-app .maplibregl-ctrl-geolocate:hover {
    background: linear-gradient(135deg, #1976D2, #1565C0);
    transform: scale(1.05);
}

.fdf-carte-app .maplibregl-ctrl-geolocate .maplibregl-ctrl-geolocate-icon {
    filter: brightness(0) invert(1);
}