/* Скрывающий класс */
.hidden_radio {
    display: none;
}
.show{
 display: block;
}
/* Стили для Модального Окна */
.modal {
    position: fixed;
    z-index: 1000;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 325px; /* Уменьшил ширину для лучшего вида на мобильных */
    background-color: #f8f8f8;
    border: 1px solid #ccc;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    overflow: hidden;
}

.modal-content {
    padding: 15px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.modal-header button {
    background: #eee;
    border: 1px solid #ccc;
    font-size: 1em;
    cursor: pointer;
    margin-left: 5px;
    padding: 2px 8px;
    border-radius: 4px;
}

.modal-header button:hover {
    background-color: #ddd;
}

#station-select {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.player-controls button {
    padding: 10px 15px;
    font-size: 1.1em;
    cursor: pointer;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    width: 100%;
    margin-top: 10px;
}

.player-controls button:hover {
    background-color: #0056b3;
}

.station-info {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #eee;
    text-align: center;
}

/* Стили для Свернутого Окна */
.minimized {
    position: fixed;
    bottom: 138px;
    right: 20px;
    z-index: 1000;
    padding: 12px 18px;
    background-color: #28a745; /* Зеленый, чтобы отличался */
    color: white;
    border-radius: 50px; /* Круглая кнопка */
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    font-weight: bold;
}

.minimized:hover {
    background-color: #1e7e34;
}