/* Variables globales */
:root {
    --primary: #00a8ff;
    --secondary: #183153;
    --dark: #111827;
    --dark-lighter: #1f2937;
    --light: #ecf0f1;
    --danger: #e74c3c;
    --success: #2ecc71;
    --warning: #f39c12;
    --card-bg: #242837;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Exo 2', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #1a1d29;
    color: #fff;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Couleurs et animations */
.highlight, .glow {
    color: #00a2ff;
    text-shadow: 0 0 10px rgba(0, 162, 255, 0.7);
}

/* Animation de vagues océaniques */
body .ocean { 
    height: 40vh; /* 40% de la hauteur de l'écran */
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    overflow-x: hidden;
    z-index: -1;
    opacity: 0.8;
}

.wave {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 88.7'%20preserveAspectRatio='none'%3E%3Cpath d='M800 56.9c-155.5 0-204.9-30-405.5-29.9-200 0-250 29.9-394.5 29.9v31.8h800v-31.8z' fill='%23003F7C'/%3E%3C/svg%3E");
    position: absolute;
    width: 100%;
    height: 100%;
    animation: wave-scroll 30s -3s linear infinite;
    opacity: 0.6;
    background-repeat: repeat-x;
    will-change: background-position;
    /* Ajuster la taille du SVG pour mieux remplir l'espace */
    background-size: 800px 100%;
    /* S'assurer que le SVG s'étire correctement */
    background-position-y: bottom;
}

.wave:nth-of-type(2) {
    bottom: 15px;
    animation: wave-scroll 36s -5s linear reverse infinite;
    opacity: 0.4;
    background-size: 800px 100%;
}

.wave:nth-of-type(3) {
    bottom: 30px;
    animation: wave-scroll 42s -7s linear infinite;
    opacity: 0.3;
    background-size: 800px 100%;
}

@keyframes wave-scroll {
    0% { background-position-x: 0; }
    100% { background-position-x: -800px; }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 162, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 162, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 162, 255, 0); }
}

/* En-tête */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #2c3040;
}

.header-left {
    display: flex;
    align-items: center;
}

/* Titre plus grand sur desktop */
.header-left h1 {
    font-size: 2.2em;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Styles pour l'icône d'information */
.info-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #00a2ff;
    font-size: 0.7em;
    margin-left: 10px;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px rgba(0, 162, 255, 0.3);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.info-icon i {
    transition: all 0.3s ease;
    pointer-events: none;
}

.info-icon i {
    transition: all 0.3s ease;
}

.info-icon:hover i {
    color: #00d2ff;
    text-shadow: 0 0 10px rgba(0, 162, 255, 0.7), 0 0 15px rgba(0, 162, 255, 0.4);
    transform: scale(1.1);
}

/* Styles pour la bulle d'info */
.info-tooltip {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background-color: #242837;
    color: #fff;
    padding: 12px 15px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 10px rgba(0, 162, 255, 0.2);
    width: 300px;
    font-size: 0.9rem;
    line-height: 1.5;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    border: 1px solid rgba(0, 162, 255, 0.3);
    text-shadow: none;
    font-weight: normal;
}

.info-tooltip::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent #242837 transparent;
}

.info-icon:hover .info-tooltip, .info-tooltip.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Styles pour la date et le fuseau horaire sur desktop */
.datetime-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.current-date, .timezone {
    display: flex;
    align-items: center;
    margin-right: 20px;
    color: #a0a3b1;
    font-size: 0.9em;
    line-height: 1.5;
    white-space: nowrap;
}

.current-date i, .timezone i {
    margin-right: 5px;
    color: #00a2ff;
    width: 16px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Styles pour le fuseau horaire - similaire à la date */
.timezone-dst, .timezone-standard {
    color: #a0a3b1; /* Même couleur que la date */
}

/* Style du logo avec effet néon */
.logo {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 162, 255, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 1;
    -webkit-tap-highlight-color: transparent; /* Évite le carré vert sur mobile */
}

/* Effet de survol du logo */
.logo:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 162, 255, 0.8), 0 0 30px rgba(0, 162, 255, 0.4);
}

/* Effet de clic sur le logo */
.logo:active {
    transform: scale(0.95);
    box-shadow: 0 0 25px rgba(0, 162, 255, 1), 0 0 40px rgba(0, 162, 255, 0.6);
}

/* Styles pour le lien contenant le logo */
.header-left a {
    display: inline-block;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent; /* Évite le carré vert sur mobile */
    outline: none;
}

/* Bouton Buy Qubic et dropdown */
.buy-qubic-dropdown {
    position: relative;
    display: inline-block;
}

.buy-qubic-btn {
    background: linear-gradient(135deg, #00a8ff, #007bff);
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.buy-qubic-btn:hover {
    background: linear-gradient(135deg, #0088cc, #0066cc);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: var(--card-bg);
    min-width: 200px;
    box-shadow: var(--box-shadow);
    z-index: 10;
    border-radius: var(--border-radius);
    overflow: hidden;
    animation: fadeIn 0.3s ease;
}

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

.buy-qubic-dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: background-color 0.2s ease;
}

.dropdown-content a:hover {
    background-color: rgba(0, 162, 255, 0.1);
}

.exchange-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border-radius: 50%;
}

.mexc-icon {
    background-color: #e74c3c;
}

.gate-icon {
    background-color: #1abc9c;
}

.bitget-icon {
    background-color: #8e44ad;
}

.safetrade-icon {
    background-color: #16a085;
}

.tradeogre-icon {
    background-color: #d35400;
}

.bitpanda-icon {
    background-color: #3498db;
}

.bit2me-icon {
    background-color: #FFD700; /* Jaune / Gold */
}

h1 {
    font-size: 2em;
    font-weight: 600;
    color: #fff;
}

.alert-amount {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--primary);
    margin: 10px 0 5px;
    text-shadow: 0 0 8px rgba(0, 162, 255, 0.3);
}

.alert-amount-usd {
    font-size: 1.1em;
    color: #bdc3c7; /* Lighter grey */
    margin-bottom: 15px;
    font-weight: 500;
}

.highlight {
    color: #00a2ff;
    font-weight: bold;
}

/* Cartes de statistiques */
.stats-cards {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.card {
    flex: 1;
    background-color: #242837;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border-left: 3px solid #00a2ff;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 162, 255, 0.3);
}

.card:hover .card-icon i {
    color: #00a2ff;
    text-shadow: 0 0 10px rgba(0, 162, 255, 0.7);
    animation: pulse 1.5s infinite;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 162, 255, 0.1) 0%, rgba(26, 29, 41, 0) 100%);
    z-index: 0;
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(0, 162, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 162, 255, 0.2);
}

.card-icon i {
    font-size: 24px;
    color: #00a2ff;
    transition: all 0.3s ease;
}

.card:hover .card-icon {
    background-color: rgba(0, 162, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 162, 255, 0.5);
    transform: scale(1.1);
}

.card-content, .stat-content {
    position: relative;
    z-index: 1;
    flex: 1;
}

.card-content h3, .stat-content h3 {
    font-size: 0.9em;
    color: #a0a3b1;
    margin-bottom: 5px;
}

.card-content p, .stat-content .stat-value {
    font-size: 1.5em;
    font-weight: 600;
    margin: 0;
}

/* Section des alertes de baleine */
.whale-alerts {
    background: #242837;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    border-left: 3px solid #00a2ff;
    position: relative;
    overflow: hidden;
}

.whale-alerts::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 162, 255, 0.1) 0%, rgba(36, 40, 55, 0) 100%);
    z-index: 0;
}

/* Header de section avec filtres */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
    gap: 15px;
}

.header-title-section h2 {
    margin: 0;
    font-size: 1.5em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-title-section h2 i {
    color: #00a2ff;
}

.filter-container {
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap to the next line on smaller screens */
    gap: 15px; /* Space between filter groups */
    margin-bottom: 20px; /* Space below the filter area */
    align-items: flex-end; /* Aligns items based on their bottom edge */
    justify-content: flex-start; /* Align filter groups to the start */
}

/* Uniformiser tous les groupes de filtres */
.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 120px;
    flex: 1;
}

.filter-select, .styled-select {
    appearance: none;
    background-color: #242837;
    color: #fff;
    border: 1px solid rgba(0, 162, 255, 0.3);
    border-radius: 4px;
    padding: 5px 30px 5px 10px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2300a2ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 12px;
    min-width: 100px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group label {
    font-size: 0.9em;
    color: #a0a3b1;
    white-space: nowrap;
}

.styled-select {
    background-color: #1a1d29;
    color: #fff;
    border: 1px solid #3a3f52;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 0.9em;
    appearance: none;
    cursor: pointer;
    outline: none;
    position: relative;
    transition: border-color 0.3s ease;
    min-width: 120px;
    width: 100%;
}

.styled-select:hover, .styled-select:focus {
    border-color: #00a2ff;
}

/* Arrow pour le select - suppression des flèches natives */
.filter-group {
    position: relative;
}

/* Supprimer les flèches natives des navigateurs */
select.styled-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: none;
}

/* Firefox */
select.styled-select::-ms-expand {
    display: none;
}

/* Ajouter notre propre flèche personnalisée */
.filter-group::after {
    /* Default arrow for select elements */
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #00a2ff;
    pointer-events: none;
    font-size: 0.7em;
    z-index: 1;
}

/* Hide the arrow for the TX ID search group as it's not a select element */
.filter-group.tx-id-search-group::after {
    display: none;
}

/* Alerte transaction */
/* Animation de pulsation pour les effets néon */
@keyframes neon-pulse {
    0% {
        box-shadow: 0 4px 12px rgba(0, 162, 255, 0.2);
        border-color: #00a2ff;
    }
    50% {
        box-shadow: 0 8px 20px rgba(0, 162, 255, 0.4);
        border-color: #00d2ff;
    }
    100% {
        box-shadow: 0 4px 12px rgba(0, 162, 255, 0.2);
        border-color: #00a2ff;
    }
}

.alert-card {
    background-color: #1a1d29;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-left: 3px solid #00a2ff;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    transform: translateZ(0);
    will-change: transform, box-shadow, border-color;
}

.alert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 162, 255, 0.3);
    border-left: 3px solid #00d2ff;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out, border-left 0.3s ease-out;
}

.alert-card:hover .amount {
    color: #00d2ff;
    text-shadow: 0 0 10px rgba(0, 162, 255, 0.7);
    transition: color 0.3s ease-out, text-shadow 0.3s ease-out;
}

.alert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 162, 255, 0.05) 0%, rgba(26, 29, 41, 0) 100%);
    z-index: 0;
}

.alert-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.alert-title {
font-size: 1.1em;
color: #ccfbfc;
}

.alert-date {
font-size: 0.8em;
color: #a0a3b1;
}

.alert-amount {
font-size: 1.4em;
font-weight: 600;
color: #00a2ff;
margin-bottom: 10px;
position: relative;
z-index: 1;
}

/* Affichage stylé pour les adresses wallet dans les cartes de transactions */
.address-text {
    display: block;
    width: 100%;
    text-align: center;
    font-family: monospace;
    font-size: 1em;
    color: #fff;
    letter-spacing: 0.02em;
    background: transparent;
    overflow-wrap: anywhere;
    white-space: normal;
}

/* Masquer le rectangle de sélection lors du copiage */
.address-text::selection,
.address-text::-moz-selection {
    background: transparent !important;
    color: inherit !important;
}


.address-text::selection,
.address-text::-moz-selection,
.address-text::marker,
.address-text::-webkit-selection {
    background: transparent !important;
    color: inherit !important;
}

.copy-btn {
    background: transparent !important;
    color: inherit !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
}

.copy-btn::selection,
.copy-btn::-moz-selection,
.copy-btn::marker,
.copy-btn::-webkit-selection {
    background: transparent !important;
    color: inherit !important;
}

/* Styles pour les icônes de copie */
.copy-btn .fa-copy { /* Icône de copie standard */
    color: #00a2ff !important; /* Bleu d'origine */
    font-size: 1.2em !important;
    transition: color 0.3s ease; /* !important supprimé d'ici */
}

.copy-btn:hover .fa-copy { /* Icône de copie au survol */
    color: #38f3fd !important; /* Devient néon */
}

.copy-btn .fa-check { /* Icône de coche (après copie) */
    color: #38f3fd !important; /* Toujours néon */
    font-size: 1.2em !important;
    /* Pas besoin de transition ici, l'icône apparaît/disparaît */
}

/* Styles spécifiques pour mobile */
@media screen and (max-width: 768px) {
    .address-text {
        display: block;
        width: 100%;
        text-align: center;
        font-size: 0.93em;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
        -webkit-touch-callout: none !important;
    }
    
    .copy-btn {
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
        -webkit-touch-callout: none !important;
    }
}

.alert-card {
    position: relative;
    transition: all 0.3s ease;
}

.alert-card:hover .alert-amount {
    color: #38f3fd;
    text-shadow: 0 0 10px rgba(56, 243, 253, 0.7);
}

/* Badges pour les adresses connues */
.badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75em;
    font-weight: 600;
    color: #fff;
    background-color: #344; /* Couleur par défaut */
    margin-left: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}

.badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
}

.badge:active {
    transform: translateY(0);
}

/* Badges pour les équipes et fondation */
.badge-foundation, .badge-qubic {
    background-color: #2ecc71; /* Vert pour la fondation */
}

.badge-qcs {
    background: linear-gradient(135deg, #27ae60, #145a32); /* Dégradé vert foncé vers vert plus foncé */
    color: #a3ffb0; /* Vert clair pour le texte */
    font-weight: bold;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5); /* Ombre noire pour améliorer la lisibilité */
    box-shadow: 0 0 5px rgba(39, 174, 96, 0.5);
}

/* Badge pour l'adresse de burn */
.badge-burn {
    background: linear-gradient(135deg, #c0392b, #2c3e50); /* Dégradé rouge foncé vers noir */
    color: #ff5e62; /* Rouge vif pour le texte */
    font-weight: bold;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5); /* Ombre noire pour améliorer la lisibilité */
    box-shadow: 0 0 5px rgba(192, 57, 43, 0.5);
}

/* Badges pour les projets et services */
.badge-qearn {
    background-color: #f39c12; /* Orange pour QEarn */
    box-shadow: 0 0 5px rgba(243, 156, 18, 0.5);
}

.badge-qx {
    background-color: #9b59b6; /* Violet pour QX */
    box-shadow: 0 0 5px rgba(155, 89, 182, 0.5);
}

.badge-qct {
    background-color: #9b59b6; /* Violet pour QCT */
}

/* Badge pour QUTIL avec effet amélioré */
.badge-qutil {
    background: linear-gradient(135deg, #3498db, #2980b9); /* Dégradé bleu ciel vers bleu foncé */
    color: #b3e5fc; /* Bleu clair pour le texte */
    font-weight: bold;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5); /* Ombre noire pour améliorer la lisibilité */
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

/* Badges pour les exchanges */
.badge-exchange {
    /* Style générique pour tous les exchanges */
    font-weight: 500;
}

.badge-mexc {
    background-color: #e74c3c; /* Rouge pour Mexc */
    box-shadow: 0 0 5px rgba(231, 76, 60, 0.5);
}

.badge-gate\.io {
    background-color: #1abc9c; /* Turquoise pour Gate.io */
    box-shadow: 0 0 5px rgba(26, 188, 156, 0.5);
}

.badge-safetrade {
    background-color: #16a085; /* Vert foncé pour SafeTrade */
    box-shadow: 0 0 5px rgba(22, 160, 133, 0.5);
}

.badge-bitget {
    background-color: #8e44ad; /* Violet foncé pour Bitget */
    box-shadow: 0 0 5px rgba(142, 68, 173, 0.5);
}

.badge-tradeogre {
    background-color: #d35400; /* Orange foncé pour TradeOgre */
    box-shadow: 0 0 5px rgba(211, 84, 0, 0.5);
}

.badge-gbat, .badge-zydp, .badge-zasw {
    background-color: #3498db; /* Bleu pour les autres exchanges */
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

.badge-unknown {
    background-color: #34495e; /* Gris foncé pour l'arrière-plan */
    color: #bdc3c7; /* Gris clair pour le texte */
    font-weight: 500;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.4); /* Ombre légère pour améliorer la lisibilité */
    box-shadow: 0 0 5px rgba(39, 174, 96, 0.5);
}

/* Styles responsifs pour les appareils mobiles */
@media screen and (max-width: 768px) {
    /* Réorganiser le header sur mobile */
    header {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .header-left {
        flex: 1;
        min-width: 200px;
    }
    
    .header-right {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 10px;
    }
    
    /* Regrouper date et fuseau horaire verticalement sur mobile */
    .datetime-container {
        display: flex;
        flex-direction: column;
        flex: 1;
        margin-bottom: 5px;
        gap: 0;
    }
    
    /* Conserver la taille du titre sur mobile */
    .header-left h1,
    .header-left .mobile-title {
        font-size: 2em;
        text-align: center;
        line-height: 1.1;
        display: block;
        margin: 0 auto;
    }
    .header-left .wave-line {
        display: inline-block;
        width: 100%;
        text-align: center;
        margin-top: 0.1em;
    }
    .header-left .info-icon {
        vertical-align: middle;
        margin-left: 8px;
        font-size: 0.8em;
        position: relative;
        top: -2px;
        min-width: unset;
        min-height: unset;
        padding: 0;
        border-radius: 0;
        background: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Ajustements de l'icône d'information pour mobile */
    .info-icon {
        font-size: 0.8em;
    }
    
    .info-tooltip {
        width: 250px;
        font-size: 0.8rem;
        left: auto;
        right: -10px;
        transform: none;
    }
    
    .info-tooltip::before {
        left: 80%;
    }
    
    .info-icon:hover .info-tooltip {
        transform: translateY(0);
    }
    
    .current-date, .timezone {
        margin-right: 10px;
        margin-bottom: 2px;
        width: 100%;
    }
    
    .current-date i, .timezone i {
        width: 20px;
        margin-right: 8px;
    }
    
    /* Positionner le bouton Buy Qubic à droite */
    .buy-qubic-dropdown {
        margin-left: auto;
    }
    /* Styles pour la section des statistiques */
    .stats-cards {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        margin-bottom: 20px !important;
        padding: 0 10px !important;
        box-sizing: border-box !important;
    }
    
    /* Styles pour les cartes dans les rangées mobiles */
    .mobile-row {
        display: flex !important;
        justify-content: space-between !important;
        width: 100% !important;
        margin-bottom: 15px !important;
        flex-wrap: nowrap !important;
    }
    
    .mobile-row .card {
        width: 48% !important;
        margin-right: 0 !important;
        margin-bottom: 0 !important;
        min-height: 100px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 10px !important;
        box-sizing: border-box !important;
        background-color: #1a1d29 !important;
        border-radius: 8px !important;
        border-left: 3px solid #00a2ff !important;
    }
    
    /* Masquer l'affichage par défaut des cartes */
    .stats-cards > .card {
        display: none !important;
    }
    
    /* Styles généraux */
    .container {
        padding: 10px;
    }
    
    /* Header */
    header {
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
    }
    
    .header-left, .header-right {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .current-date {
        margin-bottom: 10px;
    }
    
    /* Cards - affichage sur deux lignes pour mobile */
    .dashboard-cards {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        align-items: stretch !important;
        width: 100% !important;
    }
    
    .card {
        width: 48% !important;
        margin-right: 0 !important;
        margin-bottom: 15px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 12px !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    
    /* S'assurer que les cartes 1 et 3 sont à gauche, 2 et 4 à droite */
    .card:nth-child(odd) {
        margin-right: 4% !important;
    }
    
    /* S'assurer que les cartes 3 et 4 sont sur la deuxième ligne */
    .card:nth-child(n+3) {
        margin-top: 0 !important;
    }
    
    .card-icon {
        margin-right: 0 !important;
        margin-bottom: 10px !important;
        width: 40px !important;
        height: 40px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 1.5em !important;
        color: #00a2ff !important;
    }
    
    .card-content {
        text-align: center !important;
        width: 100% !important;
        flex: none !important;
    }
    
    .card-content h3 {
        font-size: 0.8em !important;
        margin-bottom: 5px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    .card-content p {
        font-size: 1.1em !important;
        font-weight: bold !important;
        margin: 0 !important;
    }
    
    /* Section header */
    .section-header {
        flex-direction: column;
    }
    
    .header-title-section {
        margin-bottom: 15px;
        width: 100%;
    }
    
    /* Filtres - Optimisés pour écrans tactiles */
    .filter-container {
        flex-direction: column !important;
        width: 100% !important;
        margin-bottom: 20px !important;
        background-color: rgba(26, 29, 41, 0.8) !important;
        padding: 15px !important;
        border-radius: 8px !important;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
    }
    
    .filter-group {
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 15px !important;
    }
    
    .filter-group:last-child {
        margin-bottom: 0 !important;
    }
    
    .filter-group label {
        display: block !important;
        margin-bottom: 5px !important;
        font-weight: 500 !important;
        color: #ccfbfc !important;
    }
    
    .styled-select {
        width: 100% !important;
        padding: 12px !important;
        height: 45px !important; /* Hauteur optimale pour les doigts */
        font-size: 16px !important; /* Taille de police minimale pour iOS */
        background-color: #242837 !important;
        border: 1px solid rgba(0, 162, 255, 0.3) !important;
        border-radius: 4px !important;
        color: white !important;
        appearance: none !important;
        -webkit-appearance: none !important;
    }
    
    /* Alertes - Styles renforcés pour garantir l'affichage sur mobile */
    .alerts-container {
        width: 100% !important;
        min-height: 200px !important;
        display: flex !important;
        flex-direction: column !important;
        margin: 0 !important;
        padding: 10px 0 !important;
        overflow: visible !important;
        position: relative !important;
        z-index: 5 !important; /* S'assurer que le conteneur est au-dessus des autres éléments */
    }
    
    .alert-card {
        padding: 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin-bottom: 15px !important;
        display: block !important;
        border-radius: 8px !important;
        border-left: 3px solid #00a2ff !important;
        background-color: #1a1d29 !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
        transition: all 0.3s ease !important;
        transform: translateZ(0) !important;
        will-change: transform, box-shadow, border-color !important;
    }
    
    /* Effets néon au toucher pour mobile */
    .alert-card:active {
        transform: translateY(-5px) !important;
        box-shadow: 0 8px 20px rgba(0, 162, 255, 0.3) !important;
        border-left: 3px solid #00d2ff !important;
        transition: transform 0.3s ease-out, box-shadow 0.3s ease-out, border-left 0.3s ease-out !important;
    }
    
    .alert-card:active .alert-amount {
        color: #00d2ff !important;
        text-shadow: 0 0 10px rgba(0, 162, 255, 0.7) !important;
        transition: color 0.3s ease-out, text-shadow 0.3s ease-out !important;
    }
    
    .alert-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .alert-date {
        margin-top: 5px;
        width: 100%;
    }
    
    .alert-amount {
        width: 100%;
        text-align: left;
    }
    
    /* Pagination */
    .pagination-container {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .pagination-button {
        margin: 5px;
        min-width: 40px;
        height: 40px;
    }
    
    /* Bouton Buy Qubic */
    .buy-qubic-btn {
        width: 100%;
        padding: 10px;
        font-size: 16px;
    }
    
    .dropdown-content {
        width: 100%;
        right: 0;
    }
    
    .dropdown-content a {
        padding: 12px;
        font-size: 16px;
    }
}

/* Styles pour les nouvelles rangées mobiles */

/* --- Styles affinés pour les adresses sur mobile (v7 - FINAL) --- */
@media screen and (max-width: 768px) {
  .address-row {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    margin-bottom: 8px !important;
    box-sizing: border-box;
  }

  .address-row .address-label {
    width: 3.5em !important; /* Largeur fixe pour aligner les champs d'adresse */
    flex-shrink: 0;
    margin-right: 4px;
    font-weight: bold;
    font-size: 0.9em;
    padding-left: 2px;
  }

  .address-row .address-value { /* Conteneur pour adresse + bouton copie */
    flex: 1 1 0px !important; /* flex-grow: 1, flex-shrink: 1, flex-basis: 0px - Force l'expansion */
    display: flex !important; 
    align-items: center !important;
    /* min-width: 0; et overflow: hidden; sont gérés sur .address-text */
  }

  .address-row .address-value .address-text {
    flex-grow: 1; /* Le texte prend l'espace disponible à l'intérieur de .address-value */
    flex-shrink: 1; /* Permet au texte de rétrécir */
    white-space: nowrap !important;
    overflow: hidden !important; /* Cache ce qui dépasse du texte */
    text-overflow: ellipsis !important; /* Ajoute '...' si le texte est coupé */
    text-align: center !important;
    font-size: 0.9em !important;
    min-width: 0; /* Crucial pour permettre au texte de rétrécir et d'appliquer l'ellipsis */
    color: #ccfcff !important; /* Changé en bleu clair souhaité */
  }

  .address-row .address-value .copy-btn {
    flex-shrink: 0;
    margin-left: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .address-row .badge {
    flex-shrink: 0; 
    white-space: nowrap;
    font-size: 0.8em;
    padding: 2px 4px;
    margin-left: auto; /* Pousse le badge à droite */
    margin-right: 2px;
  }
}


.mobile-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 15px;
}

/* Styles pour la page de donation */
.donate-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 20px 0;
}

.donate-card {
    background-color: #242837;
    border-radius: 10px;
    padding: 30px;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 162, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.donate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 162, 255, 0.1) 0%, rgba(36, 40, 55, 0) 100%);
    z-index: 0;
}

.donate-card h2 {
    color: #fff;
    font-size: 1.8em;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.donate-card h2 i {
    color: #00a2ff;
    text-shadow: 0 0 10px rgba(0, 162, 255, 0.7), 0 0 20px rgba(0, 162, 255, 0.5), 0 0 30px rgba(0, 162, 255, 0.3);
    animation: neonPulse 2s infinite alternate;
    font-size: 1.2em;
    margin-right: 10px;
}

@keyframes neonPulse {
    from {
        text-shadow: 0 0 10px rgba(0, 162, 255, 0.7), 0 0 20px rgba(0, 162, 255, 0.5), 0 0 30px rgba(0, 162, 255, 0.3);
    }
    to {
        text-shadow: 0 0 15px rgba(0, 162, 255, 0.9), 0 0 25px rgba(0, 162, 255, 0.7), 0 0 35px rgba(0, 162, 255, 0.5);
    }
}

.donate-text {
    color: #a0a3b1;
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    font-size: 1.1em;
}

.donation-address {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0, 162, 255, 0.2);
}

.donation-address h3 {
    color: #00a2ff;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.address-container {
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    flex-wrap: wrap;
    gap: 10px;
}

code#donation-address {
    font-family: 'Courier New', monospace;
    color: #00d2ff;
    font-size: 0.9em;
    word-break: break-all;
    flex: 1;
    min-width: 200px;
}

.copy-btn {
    background-color: #00a2ff;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 8px 15px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.copy-btn:hover {
    background-color: #0088cc;
    transform: translateY(-2px);
}

.copy-btn:active {
    transform: translateY(0);
}

.address-note {
    color: #8a94a7;
    font-style: italic;
    font-size: 0.9em;
    margin-top: 10px;
}

.button-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.back-btn {
    background-color: #2c3040;
    color: #fff;
    border: 1px solid rgba(0, 162, 255, 0.3);
    border-radius: 5px;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-btn:hover {
    background-color: #3a3f54;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.back-btn:active {
    transform: translateY(0);
}

/* Style pour l'icône de donation dans le footer */
.donate-link {
    color: #00a2ff;
    font-size: 1.5em;
    transition: all 0.3s ease;
}

.donate-link:hover {
    color: #00d2ff;
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(0, 162, 255, 0.7);
}

.donate-link:active {
    transform: translateY(0);
}

/* Style pour l'icône X (Twitter) dans le footer */
.x-link {
    color: #00a2ff;
    font-size: 1.5em;
    transition: all 0.3s ease;
}

.x-link:hover {
    color: #00d2ff;
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(0, 162, 255, 0.7);
}

.x-link:active {
    transform: translateY(0);
}

/* Style pour la notification de copie */
.copy-notification {
    position: fixed;
    background-color: rgba(0, 162, 255, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    animation: fadeIn 0.3s ease;
    text-align: center;
    min-width: 80px;
}

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

.copy-notification.fade-out {
    animation: fadeOut 0.3s ease forwards;
}

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

/* Masquer les rangées mobiles par défaut (affichage desktop) */
@media screen and (min-width: 769px) {
    .mobile-row {
        display: contents;
    }
    
    /* Force l'affichage des cartes d'alerte */
    .alert-card {
        display: block !important;
        width: 100% !important;
        margin-bottom: 15px !important;
        padding: 15px !important;
        border-radius: 8px !important;
        background-color: #1a1d29 !important;
        border-left: 3px solid #00a2ff !important;
        padding: 20px !important;
        text-align: center !important;
        color: #a0a3b1 !important;
        background-color: rgba(26, 29, 41, 0.5) !important;
        border-radius: 8px !important;
        margin: 20px 0 !important;
    }
    h1 {
        font-size: 1.5em;
    }
    
    /* Styles forcés pour les cartes d'information */
    .dashboard-cards {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .card {
        width: 100% !important;
        margin: 0 0 15px 0 !important;
        padding: 15px !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        height: auto !important;
    }
    
    .card-icon {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 15px 0 0 !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 20px !important;
    }
    
    .card-content {
        display: block !important;
        text-align: left !important;
        width: auto !important;
        flex: 1 !important;
    }
    
    .card-content h3 {
        font-size: 0.9em !important;
        margin: 0 0 5px 0 !important;
        display: block !important;
    }
    
    .card-content p {
        font-size: 1.2em !important;
        margin: 0 !important;
        display: block !important;
    }
    
    /* Styles forcés pour le conteneur d'alertes */
    .alerts-container {
        display: block !important;
        width: 100% !important;
        min-height: 200px !important;
        padding: 10px 0 !important;
        margin: 0 !important;
        background-color: transparent !important;
        display: flex;
    }
}

/* Styles pour les adresses */
.address-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.address-row:last-child {
    margin-bottom: 0;
}

.address-label {
    min-width: 30px;
    color: #a0a3b1;
}

.address-value {
    display: flex;
    align-items: center;
    flex: 1;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.85em;
    color: #fff;
    background-color: #1a1d29;
    border-radius: 3px;
    padding: 3px 8px;
    margin: 0 10px;
    overflow: hidden;
    position: relative;
}

.address-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: default;
    color: #fff;
    display: block;
    width: 100%;
    user-select: text;
}

.address-text:hover {
    color: #fff;
}

.copy-btn {
    background: none;
    border: none;
    color: #a0a3b1;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-btn:hover {
    color: #00a2ff;
}

/* Notification de copie */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 15px;
    border-radius: 4px;
    background-color: #242837;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.filter-input.styled-input {
    padding: 10px 15px;
    border: 1px solid #3a3d4a;
    background-color: #1a1d29; /* Updated background color */
    color: #bdeef4; /* Updated text color */
    border-radius: 6px;
    font-size: 0.95em;
    /* width: 220px; */ /* Retiré pour permettre la flexibilité, sera géré par le wrapper */
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box; /* Inclure padding et border dans la largeur/hauteur totale */
}

.notification.show {
    opacity: 1;
    transform: translateY(0);
}

/* Liens vers l'explorateur Qubic */
.explorer-link a {
    color: #00a2ff;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    display: inline-block;
    padding: 0 4px;
    font-weight: 500;
}

.explorer-link a:hover {
    text-decoration: underline;
    color: #3db8ff;
    background-color: rgba(0, 162, 255, 0.1);
    border-radius: 3px;
}

/* Footer de transaction */
.alert-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
}

.alert-tx-id {
    font-family: 'Roboto Mono', monospace;
    border-radius: 4px;
    padding: 2px 6px;
    background-color: rgba(0, 162, 255, 0.1);
    border: 1px solid rgba(0, 162, 255, 0.2);
}

/* Style spécifique pour les liens de transaction */
.tx-link {
    color: #00a2ff !important;
    font-weight: bold !important;
    cursor: pointer !important;
    border-bottom: 1px dashed #00a2ff;
    padding: 2px 6px;
    background-color: rgba(0, 162, 255, 0.1);
    border-radius: 4px;
    transition: all 0.2s ease;
    display: inline-block !important;
    text-decoration: underline !important;
    position: relative;
    z-index: 10;
    pointer-events: auto !important;
}

.tx-link:hover {
    background-color: rgba(0, 162, 255, 0.3);
    text-decoration: underline !important;
    color: #3db8ff !important;
}

/* Assurer que le conteneur du lien TX ne bloque pas les clics */
.alert-tx-id {
    font-family: 'Roboto Mono', monospace;
    border-radius: 4px;
    padding: 2px 6px;
    background-color: rgba(0, 162, 255, 0.1);
    border: 1px solid rgba(0, 162, 255, 0.2);
    position: relative;
    z-index: 5;
    pointer-events: auto;
}

.alert-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 1;
    gap: 0.5rem;
}

.address-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #ccfbfc;
}

.address-label {
    color: rgba(255, 255, 255, 0.7);
    width: 80px;
}

.address-value {
    flex: 1;
    word-break: break-all;
    font-family: monospace;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 0.4rem;
    border-radius: 4px;
    font-size: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ccfbfc;
}

.address-text {
    color: #ccfbfc;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: var(--transition);
    padding: 0.2rem;
}

.copy-btn:hover {
    opacity: 1;
}

.address-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 0.5rem;
    background-color: rgba(0, 168, 255, 0.2);
    color: var(--primary);
}

.alert-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.alert-epoch {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.alert-epoch i {
    color: var(--primary);
}

.alert-tick {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.alert-tick i {
    color: var(--primary);
}

.loading-message {
    text-align: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

/* Pied de page */
footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

footer p {
    margin: 0.5rem 0;
}

footer a {
    color: var(--primary);
    text-decoration: none;
    margin: 0;
    transition: var(--transition);
}

footer a:hover {
    color: var(--light);
}

.footer-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 8px;
    margin-bottom: 0;
}


/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 5px;
    flex-wrap: wrap; /* Permet aux boutons de passer à la ligne sur les petits écrans */
    padding: 10px 0;
}

.pagination-button {
    background-color: #242837;
    color: #fff;
    border: 1px solid rgba(0, 162, 255, 0.3);
    border-radius: 4px;
    padding: 5px 10px;
    min-width: 36px; /* Largeur minimale pour les boutons */
    height: 36px; /* Hauteur fixe pour tous les boutons */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: visible; /* Pour le focus outline */
    font-weight: 500;
    outline: none; /* Supprimer l'outline par défaut */
}

.pagination-button:hover:not(.active):not(.disabled):not([disabled]) {
    background-color: rgba(0, 162, 255, 0.2);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border-color: #00a2ff;
}

.pagination-button:active:not(.active):not(.disabled):not([disabled]) {
    transform: translateY(0);
    box-shadow: none;
}

.pagination-button:focus {
    box-shadow: 0 0 0 2px rgba(0, 162, 255, 0.25);
}

.pagination-button.active {
    background-color: #00a2ff;
    color: #fff;
    font-weight: bold;
    cursor: default;
    transform: none;
    box-shadow: 0 0 5px #00a2ff;
    border-color: #00a2ff;
}

.pagination-button.disabled,
.pagination-button[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none; /* Désactive complètement les interactions */
    background-color: #242837;
    color: #6c757d;
    transform: none;
    box-shadow: none;
}

.pagination-ellipsis {
    color: var(--text-color);
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
}

/* Animation pour les boutons de pagination */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(var(--accent-color-rgb), 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(var(--accent-color-rgb), 0); }
    100% { box-shadow: 0 0 0 0 rgba(var(--accent-color-rgb), 0); }
}

/* Appliquer l'animation aux boutons de pagination actifs */
.pagination-button.active:focus {
    animation: pulse 1.5s infinite;
}

/* Pour les éléments qui sont initialement masqués */
.hidden {
    display: none;
}

/* Tooltip */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: var(--dark);
    color: var(--light);
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.8rem;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--dark) transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Styles for the info tooltip content */
.info-tooltip .tooltip-title {
    color: #04d9ff; /* Neon blue color */
    font-weight: bold; /* Ensure titles are bold as .info-tooltip has font-weight: normal */
}

.info-tooltip p {
    margin-bottom: 1em; /* Adds space equivalent to one line height below each paragraph */
}

/* Ensure the last paragraph in the tooltip doesn't have extra bottom margin */
.info-tooltip p:last-child {
    margin-bottom: 0;
}

.no-alerts-message {
    color: #bff3f8;
    text-align: center;
    padding: 20px;
    font-size: 1.1em;
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.1); /* Optional: a very subtle background to make it pop a bit */
    margin: 20px auto;
    max-width: 80%;
}

/* Styles for the new search input and button */
.styled-input {
    background-color: #1a1d29; /* Match styled-select */
    color: #fff;
    border: 1px solid #3a3f52; /* Match styled-select */
    border-radius: 4px;
    padding: 6px 10px; /* Match styled-select */
    font-size: 0.9em; /* Match styled-select */
    outline: none;
    transition: border-color 0.3s ease;
}

.styled-input::placeholder {
    color: #6c757d; /* Standard placeholder color */
    opacity: 1; /* Firefox fix */
}

.styled-input:hover, .styled-input:focus {
    border-color: #00a2ff; /* Match styled-select hover/focus */
}

.styled-button {
    background-color: #00a2ff; /* Use site's accent color */
    color: #fff;
    border: 1px solid #00a2ff;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 0.9em;
    font-weight: 500; /* Make text a bit bolder */
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    white-space: nowrap; /* Prevent button text from wrapping */
}

.styled-button:hover {
    background-color: #008bcc; /* Darken accent color on hover */
    border-color: #008bcc;
}

.styled-button:active {
    background-color: #007aa3; /* Even darker on active/click */
    border-color: #007aa3;
}

/* Badges d'adresse spécifiques */
.badge-foundation {
    background-color: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    /* Effet néon vert pour Foundation */
    box-shadow: 0 0 8px rgba(46, 204, 113, 0.7), 0 0 12px rgba(46, 204, 113, 0.5);
}

.badge-exchange {
    background-color: rgba(243, 156, 18, 0.2); /* Orange de base pour les exchanges */
    color: #f39c12;
    /* Effet néon orange générique pour les exchanges (peut être surchargé) */
    box-shadow: 0 0 8px rgba(243, 156, 18, 0.7), 0 0 12px rgba(243, 156, 18, 0.5);
}

.badge-qearn {
    background-color: rgba(52, 152, 219, 0.2); /* Bleu pour QEarn */
    color: #3498db;
    /* Effet néon bleu pour QEarn */
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.7), 0 0 12px rgba(52, 152, 219, 0.5);
}

.badge-qx {
    background-color: rgba(155, 89, 182, 0.2); /* Violet pour QX */
    color: #9b59b6;
    /* Effet néon violet pour QX */
    box-shadow: 0 0 8px rgba(155, 89, 182, 0.7), 0 0 12px rgba(155, 89, 182, 0.5);
}

/* Styles spécifiques pour chaque exchange - ajout/vérification des box-shadows */
.badge-mexc {
    /* Conserve sa couleur de fond et texte si définie, sinon hérite de .badge-exchange */
    /* Assurer l'effet néon orange (ou une couleur spécifique si souhaité) */
    box-shadow: 0 0 8px rgba(243, 156, 18, 0.7), 0 0 12px rgba(243, 156, 18, 0.5);
}

.badge-gate\.io { /* NOUVELLE RÈGLE AJOUTÉE ICI */
    /* Hérite de .badge-exchange pour couleur de fond et texte par défaut */
    /* Effet néon orange (ou une couleur spécifique si Gate.io a une couleur de marque) */
    box-shadow: 0 0 8px rgba(243, 156, 18, 0.7), 0 0 12px rgba(243, 156, 18, 0.5);
}

.badge-safetrade {
    box-shadow: 0 0 8px rgba(243, 156, 18, 0.7), 0 0 12px rgba(243, 156, 18, 0.5);
}

.badge-bitget {
    box-shadow: 0 0 8px rgba(243, 156, 18, 0.7), 0 0 12px rgba(243, 156, 18, 0.5);
}

.badge-tradeogre {
    box-shadow: 0 0 8px rgba(243, 156, 18, 0.7), 0 0 12px rgba(243, 156, 18, 0.5);
}

.badge-qutil {
    background-color: rgba(0, 188, 212, 0.2); /* Cyan/Turquoise transparent */
    color: #00BCD4; /* Cyan/Turquoise */
    box-shadow: 0 0 8px rgba(0, 188, 212, 0.7), 0 0 12px rgba(0, 188, 212, 0.5);
}

.badge-burn {
    background-color: rgba(255, 87, 34, 0.2); /* Rouge/Orange transparent */
    color: #FF5722; /* Rouge/Orange */
    box-shadow: 0 0 8px rgba(255, 87, 34, 0.7), 0 0 12px rgba(255, 87, 34, 0.5);
}

.badge-qcs {
    background-color: rgba(144, 238, 144, 0.2); /* Vert très clair transparent */
    color: #90EE90; /* Vert très clair */
    box-shadow: 0 0 8px rgba(144, 238, 144, 0.7), 0 0 12px rgba(144, 238, 144, 0.5);
}

.badge-qct {
    background-color: rgba(144, 238, 144, 0.2); /* Vert très clair transparent */
    color: #90EE90; /* Vert très clair */
    box-shadow: 0 0 8px rgba(144, 238, 144, 0.7), 0 0 12px rgba(144, 238, 144, 0.5);
}

.badge-mlm {
    background-color: rgba(186, 104, 200, 0.2); /* Violet clair transparent */
    color: #BA68C8; /* Violet clair */
    box-shadow: 0 0 8px rgba(186, 104, 200, 0.7), 0 0 12px rgba(186, 104, 200, 0.5);
}

.badge-swatch {
    background-color: rgba(121, 85, 72, 0.2); /* Marron transparent */
    color: #795548; /* Marron */
    box-shadow: 0 0 8px rgba(121, 85, 72, 0.7), 0 0 12px rgba(121, 85, 72, 0.5);
}

.badge-ccf {
    background-color: rgba(144, 238, 144, 0.2); /* Vert très clair transparent */
    color: #90EE90; /* Vert très clair */
    box-shadow: 0 0 8px rgba(144, 238, 144, 0.7), 0 0 12px rgba(144, 238, 144, 0.5);
}

/* Specific styling for the TX ID search group and its wrapper */
/* Styles for the top row containing the TX ID search */
.top-filter-row {
    display: flex;
    margin-bottom: 15px; /* Space below the search bar row */
    width: 100%; /* Take full width of its container (.section-header) */
}

/* The filter-group within the top-filter-row (i.e., the TX ID search group) */
.top-filter-row .filter-group.tx-id-search-group {
    width: 100%; /* Make the search filter group take the full width of .top-filter-row */
    /* This ensures its label and the tx-id-input-button-wrapper below it also span this width. */
    /* The .tx-id-input-button-wrapper then handles the input/button layout internally. */
}

/* Note: The erroneous '.top-filter-container' and generic '.tx-id-search-group { width: 100%; }' rules from a previous step have been removed by this replacement. */

.tx-id-input-button-wrapper {
    display: flex; /* Lays out input and button horizontally */
    align-items: center; /* Vertically align input and button */
    width: 100%; /* Wrapper takes full width of its parent column in .filter-group */
}

.tx-id-input-button-wrapper .styled-input {
    flex-grow: 1; /* Input field takes up available space */
    margin-right: 8px; /* Space between input field and search button */
    min-width: 100px; /* Prevent input from becoming too small */
}

.tx-id-input-button-wrapper .styled-button {
    flex-shrink: 0; /* Prevent button from shrinking */
}

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

.alert-card {
    animation: fadeIn 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out, border-left 0.3s ease-out;
}
