/* WebRadio Player Styles */

.webradio-player {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #1a1a1f;
    color: #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    margin: 20px 0;
}

.webradio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #131318;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.webradio-logo {
    font-size: 24px;
    font-weight: bold;
    color: #f59e0b;
}

.webradio-admin-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

.webradio-status {
    font-size: 12px;
    color: #999;
}

.webradio-btn {
    padding: 10px 20px;
    background: #f59e0b;
    color: #000;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.webradio-btn:hover {
    background: #f59e0b;
    opacity: 0.9;
}

.webradio-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #e5e5e5;
}

.webradio-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.webradio-main {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 20px;
    padding: 20px;
}

.webradio-sidebar {
    background: #131318;
    border-radius: 8px;
    padding: 20px;
    height: fit-content;
}

.webradio-sidebar h3 {
    margin-bottom: 15px;
    color: #f59e0b;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.webradio-station-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.webradio-station-item {
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.webradio-station-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: #f59e0b;
}

.webradio-station-item.active {
    background: rgba(245, 158, 11, 0.1);
    border-left-color: #f59e0b;
}

.webradio-station-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.webradio-station-genre {
    font-size: 12px;
    color: #999;
}

.webradio-player {
    background: #131318;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
}

.webradio-player-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #f59e0b;
}

.webradio-player-genre {
    color: #999;
    margin-bottom: 30px;
}

.webradio-player-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.webradio-play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #f59e0b;
    color: #000;
    border: none;
    font-size: 32px;
    cursor: pointer;
    transition: all 0.3s;
}

.webradio-play-btn:hover {
    transform: scale(1.1);
}

.webradio-volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.webradio-volume-control input[type="range"] {
    width: 200px;
}

.webradio-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.webradio-modal.active {
    display: flex;
}

.webradio-modal-content {
    background: #131318;
    padding: 40px;
    border-radius: 8px;
    max-width: 400px;
    width: 100%;
}

.webradio-modal-content h2 {
    margin-bottom: 20px;
    color: #f59e0b;
}

.webradio-form-group {
    margin-bottom: 15px;
}

.webradio-form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999;
}

.webradio-form-group input[type="text"],
.webradio-form-group input[type="password"],
.webradio-form-group input[type="url"] {
    width: 100%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #e5e5e5;
    font-size: 14px;
}

.webradio-form-group input:focus {
    outline: none;
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.05);
}

.webradio-form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.webradio-form-actions button {
    flex: 1;
}

.webradio-error {
    color: #ef4444;
    font-size: 14px;
    margin-top: 5px;
}

.webradio-read-only-notice {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 15px;
    border-radius: 6px;
    color: #93c5fd;
    text-align: center;
}

@media (max-width: 768px) {
    .webradio-main {
        grid-template-columns: 1fr;
    }
    
    .webradio-player {
        padding: 20px;
    }
    
    .webradio-player-title {
        font-size: 24px;
    }
}
