/**
 * reproductor-android-lateral.css
 * Estilos para el reproductor Android que abre en el lateral
 * Ubicaci¨®n: assets/css/reproductor-android-lateral.css
 */

/* Contenedor Android */
.android-player-container {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 16px;
    overflow-y: auto;
}

/* Header Android */
.android-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    height: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.android-btn-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.7;
    padding: 0;
    transition: transform 0.2s;
}

.android-btn-close:hover {
    transform: scale(1.1);
}

.android-title {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 2px;
    opacity: 0.7;
    flex: 1;
    text-align: center;
}

/* Contenido Android */
.android-content {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px;
    overflow-y: auto;
}

/* Car¨¢tula Android */
.android-cover-container {
    width: 280px;
    height: 280px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.android-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Badge EN DIRECTO */
.android-badge-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 280px;
    gap: 8px;
    margin-top: 15px;
}

.android-line {
    flex: 1;
    height: 2px;
    background: #fff;
}

.android-badge {
    background: #fff;
    color: #000;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap;
}

/* T¨ªtulo y Artista */
.android-song-title {
    font-size: 21px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    margin-top: 12px;
    width: 280px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0.9;
}

.android-song-artist {
    font-size: 18px;
    color: #fff;
    text-align: center;
    margin-top: 4px;
    width: 280px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0.9;
}

/* Progreso */
.android-progress-wrapper {
    width: 280px;
    margin-top: 12px;
}

.android-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.android-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    width: 0%;
    border-radius: 4px;
    transition: width 0.1s linear;
}

/* Tiempos */
.android-times {
    display: flex;
    justify-content: space-between;
    width: 280px;
    margin-top: 8px;
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    opacity: 0.9;
}

/* Controles */
.android-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
    width: 100%;
    margin-top: 16px;
}

.android-control-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 20px;
    padding: 8px;
    opacity: 0.8;
    transition: transform 0.2s;
}

.android-control-btn:hover {
    transform: scale(1.1);
}

.android-play-btn {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    border: none;
    border-radius: 50%;
    color: #8B4513;
    font-size: 40px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s;
}

.android-play-btn:hover {
    transform: scale(1.05);
}

.android-play-btn:active {
    transform: scale(0.98);
}

/* Volumen */
.android-volume {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 280px;
    margin-top: 32px;
}

.android-volume-icon {
    color: #fff;
    font-size: 20px;
}

.android-volume-slider {
    flex: 1;
    height: 6px;
    appearance: none;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.android-volume-slider::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.android-volume-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Botones inferiores */
.android-bottom-buttons {
    display: flex;
    justify-content: space-around;
    width: 100%;
    padding: 20px;
    gap: 20px;
}

.android-bottom-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.2s;
}

.android-bottom-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.android-center-btn {
    border-radius: 50%;
    width: 60px;
    height: 60px;
}

/* Modo Android en el Sidebar */
.playzona-player-sidebar.android-mode {
    padding: 0;
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
}

.playzona-player-sidebar.android-mode .player-header {
    display: none;
}

/* Responsive */
@media (max-width: 400px) {
    .android-cover-container {
        width: 240px;
        height: 240px;
    }

    .android-badge-container {
        width: 240px;
    }

    .android-song-title {
        width: 240px;
        font-size: 18px;
    }

    .android-song-artist {
        width: 240px;
        font-size: 16px;
    }

    .android-progress-wrapper {
        width: 240px;
    }

    .android-times {
        width: 240px;
    }

    .android-volume {
        width: 240px;
    }

    .android-play-btn {
        width: 70px;
        height: 70px;
        font-size: 35px;
    }
}