:root {
    --binance-yellow: #F0B90B;
    --binance-dark: #0B0E11;
    --binance-bg: #1E2026;
    --binance-card: #2B3139;
    --binance-text: #EAECEF;
    --binance-text-secondary: #848E9C;
    --binance-border: #424a57;
    --binance-green: #0ECB81;
    --binance-red: #F6465D;
    --binance-warning: rgba(240, 185, 11, 0.2);
    --binance-alert: rgba(246, 70, 93, 0.2);
}

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

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--binance-dark);
    color: var(--binance-text);
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.5;
}

.container {
    padding: 0;
    margin: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background-color: var(--binance-bg);
    padding: 15px;
    border-bottom: 1px solid var(--binance-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    color: var(--binance-yellow);
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 10px;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.language-selector select {
    background-color: var(--binance-card);
    border: 1px solid var(--binance-border);
    color: var(--binance-text);
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
}

.dashboard {
    display: flex;
    height: calc(100vh - 60px);
    overflow: hidden;
}

.sidebar {
    width: 240px;
    background-color: var(--binance-bg);
    border-right: 1px solid var(--binance-border);
    padding: 15px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.main-content {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.status-indicators {
    background-color: var(--binance-card);
    margin-bottom: 15px;
    border-radius: 5px;
    padding: 15px;
}

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

.status-item {
    text-align: center;
    flex: 1;
}

.status-value {
    font-size: 1.5rem;
    font-weight: bold;
}

.status-label {
    color: var(--binance-text-secondary);
    font-size: 0.85rem;
}

.filter-section {
    background-color: var(--binance-card);
    margin-bottom: 15px;
    border-radius: 5px;
    padding: 15px;
}

.filter-section h3 {
    color: var(--binance-yellow);
    margin-bottom: 10px;
    font-size: 1rem;
}

.filter-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.table-container {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 15px;
}

.controls-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 15px;
}

.search-box {
    display: flex;
    align-items: center;
    background-color: var(--binance-card);
    border-radius: 4px;
    padding: 0 10px;
    height: 36px;
    width: 300px;
}

.search-box input {
    background: transparent;
    border: none;
    color: var(--binance-text);
    outline: none;
    width: 100%;
    padding: 0 10px;
}

.search-box i {
    color: var(--binance-text-secondary);
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 10px;
}

.view-options {
    display: flex;
    gap: 5px;
}

.view-option {
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    background-color: var(--binance-card);
    color: var(--binance-text-secondary);
}

.view-option.active {
    background-color: var(--binance-yellow);
    color: var(--binance-dark);
}

.results-table-wrapper {
    flex: 1;
    overflow: auto;
    border-radius: 5px;
    background-color: var(--binance-bg);
    margin: 0 15px 15px;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
}

.results-table th {
    position: sticky;
    top: 0;
    background-color: var(--binance-card);
    padding: 12px 15px;
    text-align: left;
    white-space: nowrap;
    color: var(--binance-yellow);
    z-index: 1;
    cursor: pointer;
    user-select: none;
}

.results-table th i {
    margin-left: 5px;
}

.results-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--binance-border);
    white-space: nowrap;
}

.results-table tr:hover {
    background-color: var(--binance-card);
}

.results-table tr.warning {
    background-color: var(--binance-warning);
}

.results-table tr.alert {
    background-color: var(--binance-alert);
}

.positive {
    color: var(--binance-green);
}

.negative {
    color: var(--binance-red);
}

.warning-text {
    color: var(--binance-yellow);
    font-weight: bold;
}

.alert-text {
    color: var(--binance-red);
    font-weight: bold;
}

.btn {
    background-color: var(--binance-card);
    border: 1px solid var(--binance-border);
    color: var(--binance-text);
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-primary {
    background-color: var(--binance-yellow);
    color: var(--binance-dark);
    border: none;
    font-weight: bold;
}

.btn-primary:hover {
    background-color: #d9a710;
}

.btn-secondary {
    background-color: var(--binance-card);
}

.btn-secondary:hover {
    background-color: #363c48;
}

.btn-rank {
    background-color: var(--binance-card);
    border: 1px solid var(--binance-border);
    color: var(--binance-text);
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
}

.btn-rank.active {
    background-color: var(--binance-yellow);
    color: var(--binance-dark);
    border: none;
}

select, input {
    background-color: var(--binance-card);
    border: 1px solid var(--binance-border);
    color: var(--binance-text);
    padding: 8px 12px;
    border-radius: 4px;
    appearance: none;
    outline: none;
    cursor: pointer;
}

select {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23848E9C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
}

.tips-section {
    margin-top: auto;
    background-color: var(--binance-card);
    border-radius: 5px;
    padding: 15px;
}

.tips-section h3 {
    color: var(--binance-yellow);
    margin-bottom: 10px;
    font-size: 1rem;
}

.tips-section ul {
    padding-left: 20px;
    color: var(--binance-text-secondary);
}

.status-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.status-badge.normal {
    background-color: rgba(14, 203, 129, 0.2);
    color: var(--binance-green);
}

.status-badge.warning {
    background-color: rgba(240, 185, 11, 0.2);
    color: var(--binance-yellow);
}

.status-badge.alert {
    background-color: rgba(246, 70, 93, 0.2);
    color: var(--binance-red);
}

.tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: var(--binance-card);
    color: var(--binance-text);
    text-align: left;
    border-radius: 4px;
    padding: 10px;
    position: absolute;
    z-index: 2;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-weight: normal;
    font-size: 0.85rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--binance-border);
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    padding: 15px;
    overflow-y: auto;
    flex: 1;
}

.coin-card {
    background-color: var(--binance-bg);
    border-radius: 5px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
    border: 1px solid var(--binance-border);
}

.coin-card.warning {
    background-color: var(--binance-warning);
    border-color: var(--binance-yellow);
}

.coin-card.alert {
    background-color: var(--binance-alert);
    border-color: var(--binance-red);
}

.coin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.coin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.coin-name {
    font-weight: bold;
    font-size: 1.1rem;
}

.coin-status {
    font-size: 0.8rem;
}

.coin-metrics {
    margin-top: 10px;
}

.metric-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.metric-label {
    color: var(--binance-text-secondary);
}

.metric-value {
    font-weight: bold;
}

/* Loader */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 14, 17, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid var(--binance-card);
    border-radius: 50%;
    border-top-color: var(--binance-yellow);
    animation: spin 1s linear infinite;
}

.loader-text {
    position: absolute;
    margin-top: 80px;
    color: var(--binance-text);
    font-size: 1rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Animation de clignotement pour les changements de valeur */
@keyframes flash-green {
    0%, 100% { background-color: transparent; }
    50% { background-color: rgba(14, 203, 129, 0.3); }
}

@keyframes flash-red {
    0%, 100% { background-color: transparent; }
    50% { background-color: rgba(246, 70, 93, 0.3); }
}

.flash-green {
    animation: flash-green 0.5s ease;
}

.flash-red {
    animation: flash-red 0.5s ease;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: var(--binance-card);
    color: var(--binance-text);
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    max-width: 300px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slide-in 0.3s, fade-out 0.3s 2.7s;
    transform: translateX(120%);
}

.notification.info {
    border-left: 4px solid var(--binance-yellow);
}

.notification.success {
    border-left: 4px solid var(--binance-green);
}

.notification.error {
    border-left: 4px solid var(--binance-red);
}

.notification-icon {
    font-size: 1.5rem;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.notification-message {
    font-size: 0.85rem;
    color: var(--binance-text-secondary);
}

/* Classements de marché */
.rank-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}

.rank-badge {
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    border-radius: 50%;
    background-color: var(--binance-card);
    color: var(--binance-text-secondary);
    font-size: 0.8rem;
    margin-right: 5px;
}

.coin-rank {
    display: flex;
    align-items: center;
}

@keyframes slide-in {
    from {
        transform: translateX(120%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes fade-out {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .sidebar {
        width: 200px;
    }
}

@media (max-width: 992px) {
    .dashboard {
        flex-direction: column;
        height: auto;
    }
    
    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--binance-border);
        max-height: 40vh;
    }
    
    .main-content {
        height: calc(100vh - 60px - 40vh);
    }
    
    .search-box {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .header-controls {
        flex-direction: column;
        align-items: flex-end;
        gap: 10px;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo-text {
        display: none;
    }
    
    .controls-bar {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .search-box {
        width: 100%;
    }
    
    .sort-options {
        width: 100%;
        justify-content: space-between;
    }
    
    .card-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .results-table {
        font-size: 0.8rem;
    }
    
    .results-table td, .results-table th {
        padding: 8px 10px;
    }
}

@media (max-width: 480px) {
    .status-row {
        flex-wrap: wrap;
    }
    
    .status-item {
        flex: 0 0 50%;
        margin-bottom: 10px;
    }
    
    .filter-row {
        flex-direction: column;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    /* Rendre le tableau scrollable horizontalement sur mobile */
    .results-table-wrapper {
        overflow-x: auto;
    }
}

/* Styles pour la vue "bulles flottantes" */
.bubbles-container {
    flex: 1;
    overflow: hidden;
    position: relative;
    background-color: #0a0b10;
    border-radius: 8px;
    margin: 0 15px 15px;
    user-select: none;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.6);
}

.bubbles-container canvas {
    display: block;
    width: 100%;
    height: 100%;
    cursor: default;
}

/* Effet de lueur autour du conteneur */
.bubbles-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 200, 100, 0.2);
    pointer-events: none;
    z-index: -1;
}

/* Style pour l'icône bulle dans les options de vue */
.view-option[data-view="bubbles"] i {
    background: linear-gradient(45deg, #00d46a, #0087ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 5px rgba(0, 212, 106, 0.5);
}

.view-option[data-view="bubbles"].active i {
    background: linear-gradient(45deg, #00ff80, #00a0ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 8px rgba(0, 212, 106, 0.8);
}

/* Animations légères pour un effet "flottant" */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

/* Effet de transition pour les changements de mode */
.bubbles-container {
    transition: box-shadow 0.5s ease, background-color 0.5s ease;
}

/* Media queries pour l'adaptation mobile */
@media (max-width: 768px) {
    .bubbles-container {
        margin: 10px;
    }
}


/* Conteneur principal de la vue détaillée */
.chart-detail-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(10, 11, 16, 0.95);
    display: flex;
    flex-direction: column;
    z-index: 10; /* Assurez-vous que cette valeur est suffisamment élevée */
    overflow: hidden;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    color: var(--binance-text);
}

/* En-tête de la vue détaillée */
.chart-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(66, 74, 87, 0.5);
    position: relative;
}

/* Bouton de fermeture */
.chart-detail-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--binance-text);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, color 0.2s;
}

.chart-detail-close-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Symbole de la crypto */
.chart-detail-symbol {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chart-detail-symbol h2 {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0;
}

/* Prix actuel */
.chart-detail-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-right: 29px;
}

.current-price {
    font-size: 1.8rem;
    font-weight: bold;
}

.price-change {
    font-size: 1.1rem;
    font-weight: bold;
}

/* Corps de la vue détaillée */
.chart-detail-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 15px;
    overflow-y: auto;
}

/* Sélecteur de période */
.chart-timeframe-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    border-radius: 8px;
    background-color: var(--binance-card);
    padding: 5px;
    width: fit-content;
}

.timeframe-option {
    background: none;
    border: none;
    color: var(--binance-text-secondary);
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s, color 0.2s;
}

.timeframe-option:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--binance-text);
}

.timeframe-option.active {
    background-color: var(--binance-yellow);
    color: var(--binance-dark);
}

/* Conteneur du graphique */
.chart-container {
    position: relative;
    height: 300px;
    background-color: var(--binance-bg);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

/* Indicateur de chargement */
.chart-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(10, 11, 16, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    z-index: 5;
    color: var(--binance-text);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--binance-card);
    border-radius: 50%;
    border-top-color: var(--binance-yellow);
    animation: spin 1s linear infinite;
}

.error-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--binance-red);
}

.error-message i {
    font-size: 2rem;
}

/* Grille d'informations détaillées */
.detail-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
    margin-bottom: 15px;
}

.detail-info-card {
    background-color: var(--binance-card);
    border-radius: 8px;
    padding: 12px 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-info-label {
    color: var(--binance-text-secondary);
    font-size: 0.9rem;
}

.detail-info-value {
    font-size: 1.2rem;
    font-weight: bold;
}

/* Grille de performance */
.detail-performance-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.performance-card {
    background-color: var(--binance-bg);
    border-radius: 8px;
    padding: 12px 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: center;
}

.performance-label {
    color: var(--binance-text-secondary);
    font-size: 0.9rem;
}

.performance-value {
    font-size: 1.2rem;
    font-weight: bold;
}

/* Classes de statut */
.status-normal {
    color: var(--binance-text);
}

.status-warning {
    color: var(--binance-yellow);
}

.status-alert {
    color: var(--binance-red);
}

/* Responsive */
@media (max-width: 768px) {
    .chart-detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding-bottom: 20px;
    }
    
    .chart-detail-price {
        align-items: flex-start;
    }
    
    .detail-info-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
    
    .detail-performance-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .chart-container {
        height: 250px;
    }
    
    .timeframe-option {
        padding: 6px 10px;
        font-size: 0.9rem;
    }
}
.market-indicators {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-right: 0;
    margin-bottom: 10px;
    padding: 5px 8px;
    white-space: nowrap;
    overflow-x: auto; /* Permet de scroller horizontalement sur petits écrans */
}

.market-indicators .indicator {
    margin-right: 15px; /* Espace entre les indicateurs */
}

.market-indicators .indicator:last-child {
    margin-right: 0; /* Pas de marge pour le dernier élément */
}
.market-indicators .loading {
    animation: pulse 1.5s infinite ease-in-out;
}

/* Tooltip personnalisé au survol */
.market-indicators .indicator:hover::after {
    content: attr(title);
    position: absolute;
    transform: translateY(25px);
    background-color: var(--binance-dark);
    color: var(--binance-text);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    z-index: 100;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .market-indicators {
        margin-right: 0;
        margin-bottom: 10px;
        padding: 5px 8px;
        font-size: 0.8rem;
        /* Garder flex-direction: row même sur mobile */
    }
    
    .market-indicators .indicator {
        font-size: 0.8rem;
        margin-right: 10px; /* Réduire l'espace sur mobile */
    }
    
    .market-indicators .indicator i {
        font-size: 0.9rem;
    }
}

/* Styles pour le bandeau d'actualités crypto */

/* Conteneur principal du bandeau */
.news-marquee {
    width: 100%;
    height: 40px;
    background-color: var(--binance-bg);
    border-bottom: 1px solid var(--binance-border);
    overflow: hidden;
    position: relative;
    z-index: 10;
}

/* Animation de défilement */
@keyframes scroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Contenu défilant */
.news-content {
    height: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
    position: absolute;
    animation: scroll linear infinite;
    animation-duration: 120s; /* Ajusté dynamiquement par JS */
}

/* Éléments de nouvelles */
.news-items {
    display: inline-flex;
    align-items: center;
}

/* Style pour chaque élément de nouvelle */
.news-item {
    display: inline-flex;
    align-items: center;
    color: var(--binance-text);
    text-decoration: none;
    transition: transform 0.2s ease, color 0.2s ease;
    padding: 0 5px;
}

.news-item:hover {
    color: var(--binance-yellow);
    transform: translateY(-2px);
}

/* Image de la nouvelle */
.news-item-image {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin-right: 8px;
    border: 1px solid var(--binance-border);
}

/* Titre de la nouvelle */
.news-item-title {
    font-size: 0.9rem;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 400px; /* Limite la largeur du titre */
}

/* Séparateur entre les nouvelles */
.news-separator {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--binance-yellow);
    margin: 0 15px;
}

/* État de chargement */
.news-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--binance-text-secondary);
    font-size: 0.9rem;
}

.news-loading i {
    margin-right: 8px;
    color: var(--binance-yellow);
}

/* État d'erreur */
.news-error {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--binance-red);
    font-size: 0.9rem;
}

.news-error i {
    margin-right: 8px;
}
.pump-score-high {
    font-weight: bold;
    color: #ff3b69;
}
.pump-score-badge {
    display: inline-block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    text-align: center;
    line-height: 36px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}
/* Responsive */
@media (max-width: 768px) {
    .news-marquee {
        height: 36px;
    }
    
    .news-item-title {
        font-size: 0.8rem;
        max-width: 200px;
    }
    
    .news-item-image {
        width: 20px;
        height: 20px;
        margin-right: 6px;
    }
    
    .news-separator {
        width: 4px;
        height: 4px;
        margin: 0 10px;
    }
}

/* Pour les écrans très petits */
@media (max-width: 480px) {
    .news-item-title {
        max-width: 150px;
    }
}