/*
 * Copyright (c) Baidu, Inc. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

@import './base.less';

.@{prefix}-music-player {
    &-panel {
        .cos-space-pl-lg();
        .cos-space-pr-lg();
    }

    &-type {
        height: 16px;
        .cos-space-mt-lg();
        .cos-space-mb-lg();

        &-img {
            width: 16px;
            height: 16px;
        }
    }

    &-wrapper {
        display: flex;
    }

    &-poster {
        width: 121px;
        height: 121px;
        .cos-rounded-md();

        &-box {
            width: 121px;
            height: 121px;
        }

        &-wrapper {
            .cos-space-mr-xxl();
            margin-bottom: 32px;
            width: 151px;
            height: 121px;
        }

        &-icon {
            font-size: var(--cos-leading-headline);
        }
    }

    &-vinyl {
        top: 6px;
        left: 42px;
        width: 109px;
        height: 109px;

        &-poster {
            top: 30px;
            left: 69px;
            width: 61px;
            height: 61px;
        }
    }

    &-download {
        .cos-space-mt-sm();
        .cos-space-mb-lg();
        display: flex;
        align-items: center;
        font-size: var(--cos-text-subtitle);
        line-height: var(--cos-text-subtitle);

        &-text {
            .cos-space-ml-3xs();
            font-size: var(--cos-text-caption);
            line-height: var(--cos-text-caption);
        }
    }


    &-content {
        margin-top: 25px;
        margin-bottom: 25px;
        min-height: 0;

        &-title {
            .cos-space-pb-xs();
            line-height: var(--cos-leading-subtitle);
        }
    }

    &-progress {
        &-bar {
            position: relative;
            width: 100%;
            height: 3px;

            &-loading {
                .cos-color-bg-primary-light-disabled();
            }
        }
    }

    &-tag {
        .cos-opacity-50();
        position: absolute;
        top: 8px;
        right: 8px;
        display: block;
        height: 12px;
    }
}