/*
 * Styles pour le widget/shortcode de propagation radioamateur
 */
.ham-scroller-container {
    position: relative; /* AJOUT : Nécessaire pour le positionnement du copyright */
    width: 100%;
    overflow: hidden;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    padding: 15px 0;
    box-sizing: border-box;
    font-family: 'Oswald', sans-serif;
}

.ham-scroller-content {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: ham-marquee 40s linear infinite; /* MODIFIÉ : animation un peu plus lente */
    font-size: 14px;
    color: #333;
}

.ham-scroller-content:hover {
    animation-play-state: paused;
}

/* MODIFIÉ : Style "pilule" plus moderne pour les icônes de bande */
.ham-band-icon {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 5px; /* Arrondi pour l'effet pilule */
    font-size: 12px;
    font-weight: normal;
    color: #fff;
    vertical-align: middle;
    margin-right: 5px;
    line-height: 1.2;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
    transition: all 0.2s ease-in-out;
}

.ham-band-icon:hover {
    transform: translateY(-1px);
}

/* Palette de couleurs pour les bandes */
.band-icon-40m { background-color: #34495e; }
.band-icon-30m, .band-icon-20m, .band-icon-17m { background-color: #16a085; }
.band-icon-15m { background-color: #d35400; }
.band-icon-unknown { background-color: #7f8c8d; }

/* Styles pour les icônes de condition */
.ham-condition-icon {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    font-size: 1.4em; /* Icônes plus grandes */
    margin: 0 4px;
}

/* AJOUT : Couleurs pour les conditions */
.cond-good { color: #27ae60; } /* Vert */
.cond-fair { color: #f39c12; } /* Orange */
.cond-poor { color: #c0392b; } /* Rouge */
.cond-closed { color: #c0392b; } /* Rouge pour Fermée aussi */
.cond-unknown { color: #7f8c8d; } /* Gris */

/* Style pour le texte de condition (Bonne, Passable, etc.) */
.ham-condition-text {
    vertical-align: middle;
    font-size: 0.9em;
    color: #555; /* Couleur gris un peu plus foncée */
    font-weight: normal;
}

.ham-separator {
    color: #999;
    margin: 0 12px;
    font-weight: normal;
    font-size: 1.2em;
    vertical-align: middle;
}

/* AJOUT : Styles pour le copyright */
.dxcc-copyright {
    position: absolute;
    bottom: 1px;
    right: 8px;
    color: rgba(0, 0, 0, 0.4); /* Couleur noire semi-transparente pour thème clair */
    font-size: 10px;
    font-family: 'Oswald', sans-serif;
    text-transform: none;
    letter-spacing: normal;
	
}

/* Animation */
@keyframes ham-marquee {
    0%   { transform: translateX(0%); }
    100% { transform: translateX(-100%); }
}