* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
    background: #e6f4ff;
    color: #1a5c7a;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    padding-bottom: 80px;
    overflow-x: hidden;
}

/* ========== RESPONSIVE PC ========== */
@media (min-width: 1024px) {
    .container {
        max-width: 1400px;
        padding: 20px 40px;
    }
    .desktop-nav {
        justify-content: center;
        gap: 12px;
        flex-wrap: wrap;
    }
    .filters-bar {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 12px;
    }
    .stats-carousel-track {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px !important;
        transform: none !important;
    }
    .stats-slide {
        width: auto !important;
    }
    .stats-carousel-controls {
        display: none !important;
    }
    .sheet-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    /* Carrousel appâts & espèces : inchangé, le JS gère */
    .carousel-slide {
        flex: 0 0 auto;
        width: 100%;
    }
}

@media (min-width: 1400px) {
    .stats-carousel-track {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

.header {
    text-align: center;
    margin-bottom: 24px;
}

.header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: #0f2147;
}

.header p {
    font-size: 12px;
    color: #8a96b0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.desktop-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 24px;
}

.nav-btn {
    padding: 10px 18px;
    border-radius: 40px;
    border: 1.5px solid #cce7f5;
    background: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'DM Sans', sans-serif;
}

.nav-btn:hover {
    background: #e6f4ff;
    transform: translateY(-1px);
}

.nav-btn.active {
    background: #2c7da0;
    color: white;
    border-color: #2c7da0;
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
}

.card {
    background: white;
    border-radius: 24px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(44, 125, 160, 0.12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    overflow-x: hidden;
}

.card-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #2c7da0;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0eef5;
}

.view {
    display: none;
    animation: fadeIn 0.25s ease;
    width: 100%;
}

.view.active {
    display: block;
}

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

/* ========== FILTRES ========== */
.filters-bar {
    background: white;
    border-radius: 20px;
    padding: 16px;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
    border: 1px solid rgba(44, 125, 160, 0.12);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 120px;
}

.filter-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #8a96b0;
}

.filter-select {
    padding: 8px 12px;
    border: 1.5px solid #cce7f5;
    border-radius: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    background: white;
    cursor: pointer;
}

.filter-apply-btn,
.filter-reset-btn {
    padding: 8px 16px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-apply-btn {
    background: #2c7da0;
    color: white;
    border: none;
}

.filter-apply-btn:hover {
    background: #1a607a;
}

.filter-reset-btn {
    background: #e6f4ff;
    color: #2c7da0;
    border: 1px solid #cce7f5;
}

.filter-reset-btn:hover {
    background: #cce7f5;
}

/* ========== KPI CARDS ========== */
.stats-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.kpi-card {
    background: white;
    border-radius: 20px;
    padding: 14px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(44, 125, 160, 0.12);
    transition: transform 0.2s;
}

.kpi-card:hover {
    transform: translateY(-2px);
}

.kpi-icon {
    font-size: 28px;
    margin-bottom: 6px;
}

.kpi-value {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: #2c7da0;
    line-height: 1.2;
}

.kpi-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8a96b0;
    margin-top: 4px;
}

.kpi-trend {
    font-size: 11px;
    margin-top: 4px;
    color: #e8609a;
}

/* ========== CARROUSSEL STATS ========== */
.stats-carousel-wrapper {
    position: relative;
    overflow: visible;
    margin-bottom: 20px;
    border-radius: 20px;
}

.stats-carousel-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    gap: 0;
}

.stats-slide {
    flex-shrink: 0;
    width: 100%;
    padding: 0 2px;
}

.stats-carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
    margin-top: 8px;
}

.carousel-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2c7da0;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.carousel-nav-btn:hover {
    background: #e8609a;
    transform: scale(1.05);
}

.carousel-dots-stats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.carousel-dot-stats {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cce7f5;
    cursor: pointer;
    transition: all 0.2s;
}

.carousel-dot-stats.active {
    background: #2c7da0;
    width: 20px;
    border-radius: 4px;
}

/* ========== CHART CARDS ========== */
.chart-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgba(44, 125, 160, 0.12);
    margin-bottom: 0;
    height: 100%;
}

.chart-title {
    font-size: 14px;
    font-weight: 600;
    color: #2c7da0;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chart-canvas {
    max-height: 280px;
    width: 100%;
}

/* ========== COMPARAISON ========== */
.comparison-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comparison-row {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e0eef5;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-label {
    flex: 1;
    font-weight: 600;
    font-size: 14px;
}

.comparison-values {
    display: flex;
    gap: 20px;
    align-items: center;
}

.comparison-current {
    font-size: 18px;
    font-weight: 700;
    color: #2c7da0;
    min-width: 60px;
    text-align: center;
}

.comparison-previous {
    font-size: 14px;
    color: #8a96b0;
    min-width: 60px;
    text-align: center;
    text-decoration: line-through;
}

.comparison-arrow {
    font-size: 18px;
    min-width: 30px;
    text-align: center;
}

.comparison-arrow.up {
    color: #27ae60;
}

.comparison-arrow.down {
    color: #c0392b;
}

.comparison-arrow.equal {
    color: #8a96b0;
}

/* ========== TECHNIQUES & SPOTS ========== */
.technique-container,
.spots-container,
.records-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.progress-bar-item {
    margin-bottom: 12px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 4px;
}

.progress-track {
    height: 8px;
    background: #e0eef5;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2c7da0, #e8609a);
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* ========== TABLEAUX ========== */
.data-table {
    width: 100%;
    font-size: 13px;
    border-collapse: collapse;
}

.data-table th {
    text-align: left;
    padding: 8px 4px;
    color: #2c7da0;
    font-weight: 600;
    border-bottom: 1px solid #e0eef5;
}

.data-table td {
    padding: 8px 4px;
    border-bottom: 1px solid #e0eef5;
    color: #1a5c7a;
}

.data-table tr:last-child td {
    border-bottom: none;
}

/* ========== FORMULAIRE ========== */
.search-box {
    margin-bottom: 20px;
}

.search-box input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #cce7f5;
    border-radius: 40px;
    font-size: 14px;
}

.filter-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.filter-pill {
    padding: 6px 16px;
    border-radius: 40px;
    border: 1.5px solid #cce7f5;
    background: white;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
}

.filter-pill.active {
    background: #2c7da0;
    color: white;
    border-color: #2c7da0;
}

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #2c7da0;
    margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #cce7f5;
    border-radius: 16px;
    font-size: 14px;
    font-family: inherit;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.btn-primary {
    width: 100%;
    padding: 14px;
    background: #2c7da0;
    color: white;
    border: none;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
}

.meteo-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.meteo-btn {
    padding: 8px 16px;
    border-radius: 40px;
    border: 1.5px solid #cce7f5;
    background: white;
    cursor: pointer;
    font-size: 18px;
}

.meteo-btn.active {
    background: #2c7da0;
    color: white;
}

.photo-thumb-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.photo-thumb-item {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #cce7f5;
}

.photo-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-thumb-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    font-size: 12px;
}

.photo-add-btn {
    padding: 12px;
    border: 2px dashed #2c7da0;
    border-radius: 12px;
    background: #e6f4ff;
    cursor: pointer;
    text-align: center;
    color: #2c7da0;
    font-weight: 600;
}

.stars-input {
    display: flex;
    gap: 8px;
}

.star {
    font-size: 24px;
    cursor: pointer;
    color: #ccc;
    transition: all 0.2s;
}

.star:hover {
    color: #f5b042;
}

/* ========== SORTIES JOURNAL ========== */
.sortie-card {
    background: white;
    border-radius: 20px;
    margin-bottom: 14px;
    border: 1px solid #cce7f5;
    overflow: hidden;
}

.sortie-header {
    padding: 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sortie-header:hover {
    background: #f9fdfe;
}

.sortie-date {
    font-weight: 700;
    color: #0f2147;
    margin-bottom: 4px;
    font-size: 14px;
}

.sortie-lieu {
    font-size: 13px;
    color: #8a96b0;
}

.sortie-badge {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 30px;
    background: #e6f4ff;
    display: inline-block;
    margin-top: 6px;
}

.sortie-badge.trophy {
    background: #fce4f0;
    color: #e8609a;
}

.sortie-chevron {
    font-size: 20px;
    color: #8a96b0;
    transition: transform 0.25s;
}

.sortie-card.open .sortie-chevron {
    transform: rotate(180deg);
}

.prise-list {
    display: none;
    padding: 16px;
    border-top: 1px solid #e0eef5;
    background: #fafefe;
}

.sortie-card.open .prise-list {
    display: block;
}

.prise-item {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e0eef5;
}

.prise-item:last-child {
    border-bottom: none;
}

.prise-species {
    font-weight: 700;
    color: #0f2147;
}

.prise-meta {
    font-size: 12px;
    color: #8a96b0;
    margin-top: 5px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.prise-actions {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    padding-top: 8px;
}

.prise-actions button {
    background: none;
    border: none;
    font-size: 14px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 30px;
}

/* ========== CARTE & SPOTS ========== */
#map-container {
height: 400px;
border-radius: 20px;
overflow: hidden;
margin-bottom: 16px;
z-index: 1;
width: 100%;
}

.leaflet-popup-content-wrapper {
    border-radius: 12px;
    font-family: 'DM Sans', sans-serif;
}

.spots-list-item {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    border-bottom: 1px solid #e0eef5;
}

.spots-list-item:last-child {
    border-bottom: none;
}

.spot-name {
    font-weight: 600;
    color: #0f2147;
    flex: 1;
}

.spot-count {
    font-size: 12px;
    color: #8a96b0;
    background: #e6f4ff;
    padding: 2px 8px;
    border-radius: 20px;
}

/* ========== APPÂTS ========== */
.carousel-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: flex-start;
    width: 100%;
}

.carousel-slide {
    flex-shrink: 0;
    width: 100%;
    padding: 0 10px;
    height: auto;
    min-height: 0;
    overflow-y: visible;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e0eef5;
    clear: both;
}

.carousel-btn {
    background: #2c7da0;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 8px 20px;
    cursor: pointer;
}

.carousel-dots {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.carousel-dot {
    padding: 6px 14px;
    border-radius: 30px;
    background: #cce7f5;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
}

.carousel-dot.active {
    background: #2c7da0;
    color: white;
}

.categories-container {
    margin-top: 16px;
}

.category-card {
    background: #f9fdfe;
    border-radius: 16px;
    margin-bottom: 16px;
    border: 1px solid #e0eef5;
    overflow: hidden;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #e6f4ff;
    cursor: move;
}

.drag-handle {
    cursor: grab;
    font-size: 18px;
    color: #8a96b0;
}

.drag-handle:active {
    cursor: grabbing;
}

.category-title {
    flex: 1;
    font-weight: 600;
    color: #0f2147;
}

.category-delete {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #c0392b;
}

.category-appats {
    padding: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.appat-item {
    background: white;
    border: 1px solid #cce7f5;
    border-radius: 30px;
    padding: 5px 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.appat-name {
    font-weight: 500;
}

.appat-count {
    font-size: 11px;
    color: #8a96b0;
}

.appat-delete {
    background: none;
    border: none;
    cursor: pointer;
    color: #c0392b;
    font-size: 14px;
}

.add-appat-form {
    display: flex;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid #e0eef5;
}

.add-appat-input {
    flex: 1;
    min-width: 0;
    padding: 8px 12px;
    border: 1.5px solid #cce7f5;
    border-radius: 30px;
    font-size: 13px;
}

.add-appat-btn {
    background: #4a7c59;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 8px 16px;
    cursor: pointer;
}

/* ========== PARAMÈTRES ========== */
.settings-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e0eef5;
}

.settings-label {
    font-weight: 600;
}

.settings-sub {
    font-size: 11px;
    color: #8a96b0;
    margin-top: 2px;
}

.snapshot-list {
    max-height: 200px;
    overflow-y: auto;
}

.snapshot-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #e0eef5;
}

/* ========== TOAST & FAB ========== */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #4a7c59;
    color: white;
    padding: 10px 22px;
    border-radius: 40px;
    font-size: 14px;
    opacity: 0;
    transition: all 0.25s;
    z-index: 1100;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.fab-container {
    position: fixed;
    bottom: 24px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 1000;
}

.fab-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2c7da0, #e8609a);
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fab-btn:active {
    transform: scale(0.95);
}

/* ========== BOTTOM SHEET ========== */
.bottom-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1002;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    max-height: 80vh;
    overflow-y: auto;
}

.bottom-sheet.open {
    transform: translateY(0);
}

.sheet-handle {
    display: flex;
    justify-content: center;
    padding: 12px 0 8px;
    cursor: pointer;
}

.sheet-handle-bar {
    width: 40px;
    height: 4px;
    background: #cce7f5;
    border-radius: 4px;
}

.sheet-content {
    padding: 8px 20px 32px;
}

.sheet-section {
    margin-bottom: 16px;
}

.sheet-section-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8a96b0;
    margin-bottom: 8px;
    padding-left: 8px;
}

.sheet-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.sheet-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 16px;
    background: #f9fdfe;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid #e0eef5;
}

.sheet-item:hover {
    background: #e6f4ff;
    transform: scale(0.98);
}

.sheet-item.active {
    background: #2c7da0;
    color: white;
    border-color: #2c7da0;
}

.sheet-item.active .sheet-icon {
    color: white;
}

.sheet-icon {
    font-size: 22px;
    width: 32px;
    text-align: center;
}

.sheet-label {
    font-size: 14px;
    font-weight: 500;
}

.sheet-divider {
    height: 1px;
    background: #e0eef5;
    margin: 16px 0;
}

.sheet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.sheet-overlay.open {
    opacity: 1;
    visibility: visible;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #8a96b0;
}

.empty-state .icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

/* ========== CORRECTIONS RESPONSIVE ========== */
#view-stats {
display: block;
overflow-y: visible;
}

/* ========== WIDGET MÉTÉO ========== */
#weather-widget {
font-size: 14px;
background: #e6f4ff;
border-radius: 40px;
display: flex;
justify-content: space-between;
align-items: center;
cursor: pointer;
}

#weather-widget:hover {
background: #cce7f5;
}

/* ========== NOUVELLES STATS ========== */
#appats-stats-container .progress-bar-item,
#hourly-heatmap {
width: 100%;
}

#wordcloud-container {
min-height: 200px;
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
gap: 8px;
}

.wordcloud-word {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 20px;
    background: #e6f4ff;
    transition: all 0.2s;
}

.wordcloud-word:hover {
    transform: scale(1.05);
    background: #2c7da0;
    color: white;
}

/* ========== NOTIFICATIONS ========== */
.notification-permission-btn {
    background: #2c7da0;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 6px 12px;
    cursor: pointer;
}

/* ========== STYLES PREMIUM ========== */
.premium-feature {
    position: relative;
}

.premium-badge {
    background: gold;
    color: black;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 12px;
    margin-left: 8px;
    vertical-align: middle;
}

.premium-hint {
    font-size: 11px;
    color: #e8609a;
    margin-top: 5px;
    text-align: center;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ========== MODE SOMBRE COMPLET ========== */
body.dark {
    background: #1a2a3a;
}

body.dark .card,
body.dark .bottom-sheet,
body.dark .sortie-card,
body.dark .kpi-card,
body.dark .chart-card,
body.dark .filters-bar,
body.dark .category-card,
body.dark .sheet-item {
    background: #2a3a4a;
    border-color: #3a4a5a;
}

body.dark .sheet-item.active {
    background: #2c7da0;
    border-color: #2c7da0;
}

body.dark .sheet-overlay {
    background: rgba(0, 0, 0, 0.6);
}

body.dark .toast {
    background: #4a7c59;
    color: white;
}

body.dark .espece-modal > div,
body.dark #spot-editor-modal > div,
body.dark #update-modal > div {
    background: #2a3a4a;
    color: #e0e0e0;
}

body.dark .espece-modal-item {
    background: #1a2a3a !important;
    border-color: #3a4a5a !important;
    color: #e0e0e0 !important;
}

body.dark .sortie-header:hover {
    background: #1a2a3a;
}

body.dark .sortie-date,
body.dark .sortie-lieu,
body.dark .prise-species,
body.dark .spot-name,
body.dark .category-title {
    color: #a0c0e0;
}

body.dark .form-input,
body.dark .form-select,
body.dark .form-textarea,
body.dark .filter-select,
body.dark .add-appat-input {
    background: #1a2a3a;
    border-color: #3a4a5a;
    color: #e0e0e0;
}

body.dark .nav-btn,
body.dark .filter-pill,
body.dark .filter-reset-btn,
body.dark .meteo-btn,
body.dark .carousel-btn,
body.dark .carousel-nav-btn {
    background: #2a3a4a;
    border-color: #3a4a5a;
    color: #a0c0e0;
}

body.dark .nav-btn.active,
body.dark .filter-pill.active,
body.dark .meteo-btn.active {
    background: #2c7da0;
    color: white;
    border-color: #2c7da0;
}

body.dark .carousel-dot {
    background: #3a4a5a;
    color: #a0c0e0;
}

body.dark .carousel-dot.active {
    background: #e8609a;
    color: white;
}

body.dark .progress-track {
    background: #3a4a5a;
}

body.dark .data-table td,
body.dark .data-table th {
    color: #a0c0e0;
    border-bottom-color: #3a4a5a;
}

body.dark .category-header {
    background: #1a2a3a;
}

body.dark .appat-item {
    background: #1a2a3a;
    border-color: #3a4a5a;
    color: #a0c0e0;
}

body.dark .wordcloud-word {
    background: #1a2a3a;
    color: #a0c0e0;
}

body.dark .wordcloud-word:hover {
    background: #2c7da0;
    color: white;
}

body.dark .empty-state {
    color: #8a96b0;
}

body.dark .premium-placeholder,
body.dark .premium-message {
    background: #1a2a3a !important;
    color: #e0e0e0 !important;
}

/* ========== MODALES ========== */
.espece-modal,
#spot-editor-modal,
#update-modal {
display: none;
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.5);
z-index: 2000;
align-items: center;
justify-content: center;
}

.espece-modal > div,
#spot-editor-modal > div,
#update-modal > div {
background: white;
border-radius: 28px;
width: 90%;
max-width: 400px;
max-height: 70vh;
overflow: auto;
}
