.azuracast-player {
    max-width: 600px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.player-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    color: white;
}

.album-art {
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.album-art img {
    width: 200px;
    height: 200px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: block;
    margin: 0 auto;
}

.player-info {
    text-align: center;
    margin-bottom: 20px;
}

.now-playing-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-bottom: 8px;
}

.track-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 8px;
}

.track-artist {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.dj-info {
    font-size: 14px;
    margin: 10px 0;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: inline-block;
}

.listeners-count {
    font-size: 13px;
    opacity: 0.8;
    margin-top: 10px;
}

.player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.play-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #667eea;
    transition: transform 0.2s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.play-button:hover {
    transform: scale(1.05);
}

.play-button:active {
    transform: scale(0.95);
}

.volume-slider {
    width: 120px;
    height: 6px;
    border-radius: 3px;
    outline: none;
    background: rgba(255, 255, 255, 0.3);
    -webkit-appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.volume-display {
    font-size: 14px;
    min-width: 40px;
}

/* Popup Button Styles */
.azuracast-popup-button-wrapper {
    text-align: center;
    margin: 20px auto;
}

.open-player-popup {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    border: none !important;
    padding: 14px 28px !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    white-space: nowrap !important;
}

.open-player-popup .button-icon {
    font-size: 24px !important;
    line-height: 1 !important;
    display: inline-block !important;
}

.open-player-popup .button-text {
    line-height: 1 !important;
}

.open-player-popup:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4) !important;
    background: linear-gradient(135deg, #7788f0 0%, #8659b0 100%) !important;
}

.open-player-popup:active {
    transform: translateY(0) !important;
}

/* Online Player Styles */
.azuracast-online-player {
    max-width: 100%;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.online-player-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.online-player-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 0;
}

.online-artwork {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
    max-width: 60px;
    max-height: 60px;
}

.online-info {
    flex: 1;
    min-width: 0;
}

.online-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.online-artist {
    font-size: 14px;
    opacity: 0.9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.online-player-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.online-play-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #667eea;
    transition: transform 0.2s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.online-play-button:hover {
    transform: scale(1.05);
}

.online-play-button:active {
    transform: scale(0.95);
}

.online-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: right;
    font-size: 13px;
}

.online-dj-info {
    opacity: 0.9;
}

.online-listeners {
    opacity: 0.8;
    font-size: 12px;
}

/* Responsive design for online player */
@media (max-width: 600px) {
    .online-player-container {
        flex-direction: column;
        text-align: center;
    }
    
    .online-player-left {
        flex-direction: column;
        width: 100%;
    }
    
    .online-player-right {
        width: 100%;
        justify-content: center;
    }
    
    .online-meta {
        text-align: center;
    }
    
    .online-title,
    .online-artist {
        white-space: normal;
    }
}