/**
 * Styles Falling Fruit
 * Version 1.0
 */

/* Clusters orange pour Falling Fruit */
.marker-cluster-ff {
    background: rgba(255, 165, 0, 0.6);
    color: white;
    font-weight: bold;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    border: 3px solid rgba(255, 140, 0, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Popup Falling Fruit */
.ff-popup {
    min-width: 200px;
    font-family: Arial, sans-serif;
}

.ff-popup strong {
    font-size: 14px;
    color: #2c5f2d;
    display: block;
    margin-bottom: 5px;
}

.ff-popup p {
    margin: 8px 0;
    font-size: 13px;
    line-height: 1.4;
    color: #333;
}

.ff-popup hr {
    margin: 8px 0;
    border: none;
    border-top: 1px solid #ddd;
}

.ff-source {
    color: #FF8C00;
    font-weight: bold;
}

/* Notification stats */
#fallingfruit-stats-3lja000,
#fallingfruit-stats-3ljp000,
#fallingfruit-stats-3ljw000,
div[id^="fallingfruit-stats-"] {
    padding: 10px;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    margin-top: 10px;
    animation: fadeIn 0.5s;
    font-size: 14px;
    color: #155724;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contrôle des couches Leaflet */
.leaflet-control-layers {
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    padding: 10px;
}

.leaflet-control-layers-overlays label {
    padding: 5px 10px;
    cursor: pointer;
    display: block;
    margin: 3px 0;
    transition: background 0.2s;
}

.leaflet-control-layers-overlays label:hover {
    background: #f5f5f5;
    border-radius: 3px;
}

/* Container */
div[id^="fallingfruit-container-"] {
    /* Invisible, juste pour le data-attribute */
    display: none;
}
