/* Draggable Ranking Styles */
#draggableRanking {
    max-width: 1200px;
    margin: 0 auto;
}

/* Items Pool */
.items-pool {
    min-height: 300px;
    padding: 15px;
    border: 2px dashed #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.items-pool.drag-over {
    background-color: #e3f2fd;
    border-color: #ccc8c8;
}

.draggable-item {
    cursor: move;
    padding: 12px;
    margin-bottom: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    transition: all 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    color: #333;
    font-weight: 500;
}

.draggable-item:hover {
    border-color: #ccc8c8;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.draggable-item:active {
    cursor: grabbing;
}

/* Ranking Boxes */
.ranking-boxes {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ranking-box {
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    background-color: #fff;
}

.rank-label {
    font-weight: bold;
    color: #fff;
    background-color: #8f8888;
    padding: 8px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 10px;
}

.drop-zone {
    min-height: 60px;
    padding: 15px;
    border: 2px dashed #ccc;
    border-radius: 5px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    transition: all 0.3s ease;
}

.drop-zone.empty {
    color: #999;
}

.drop-zone.drag-over {
    background-color: #e8f5e9;
    border-color: #4CAF50;
    color: #4CAF50;
}

.drop-zone .draggable-item {
    margin: 0;
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .draggable-item {
        padding: 10px;
        font-size: 14px;
    }
    
    #draggableRanking .row > div {
        margin-bottom: 20px;
    }
}
