/* Reset et base */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #2c3e50;
    color: white;
    padding: 20px 0;
    text-align: center;
}

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

.search-box {
    margin: 20px 0;
    padding: 10px;
    width: 100%;
    max-width: 500px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

/* Grille des radios */
.radio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.radio-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px;
    text-align: center;
    transition: transform 0.2s;
}

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

.radio-logo {
    width: 100%;
    max-width: 120px;
    height: 120px;
    object-fit: contain;
    margin: 0 auto 10px;
    border-radius: 4px;
}

.radio-name {
    font-weight: bold;
    margin: 10px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Boutons */
.btn {
    padding: 8px 12px;
    margin: 5px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s;
}

.btn-play {
    background-color: #27ae60;
    color: white;
}

.btn-play:hover {
    background-color: #219653;
}

.btn-share {
    background-color: #3498db;
    color: white;
}

.btn-share:hover {
    background-color: #2980b9;
}

/* Player audio */
#player-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2c3e50;
    color: white;
    padding: 10px;
    display: none;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

#player-container.player-active {
    display: flex;
}

#player-title {
    flex: 1;
    margin: 0 15px;
    font-weight: bold;
}

#close-player {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    margin-right: 10px;
}

#player {
    flex: 1;
    max-width: 300px;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 30px;
    color: #777;
    font-size: 14px;
}
